softwarefactory-project / rdopkg

power to the packagers
Apache License 2.0
28 stars 21 forks source link

RFE: support Jira ticket IDs #187

Open ktdreyer opened 2 years ago

ktdreyer commented 2 years ago

Currently rdopkg has a get_commit_bzs method. This method searches a range of commits for "rhbz#" numbers in the commit logs, like so:

Resolves: rhbz#1234

It writes these rhbz references into an RPM spec file %changelog and dist-git commit log.

Some Red Hat products are transitioning from Bugzilla to Jira. For these projects, the dist-git -patches branches have Jira references, for example:

Resolves: RHCEPH-1234

As a result, we need rdopkg to support Jira tickets:

  1. Read the values from the -patches branches
  2. Write the values into the RPM spec file %changelog
  3. Write the values into the dist-git commit logs
Conan-Kudo commented 2 years ago

Are those Jira projects public? If not, that's pretty annoying for regular folks like me... 😕

ktdreyer commented 2 years ago

Good question. Here's an example ticket, can you view it? https://issues.redhat.com/browse/RHCEPH-3057 corresponds to https://bugzilla.redhat.com/show_bug.cgi?id=2047279

Conan-Kudo commented 2 years ago

No. I can't see the entire RHCEPH project either. This is true for most things in Red Hat One Jira.

ktdreyer commented 5 months ago

As a result of Red Hat Ceph's move to IBM, we're switching Ceph's engineering tickets to https://jsw.ibm.com/ . Tickets will be of the form ISCE-333.