summaryrefslogtreecommitdiffstats
path: root/scripts/makebumpver
Commit message (Collapse)AuthorAgeFilesLines
* Escape single percent signs in RPM changelog entries.David Cantrell2012-11-301-0/+1
| | | | | | | makebumpver needs to make sure that single percent signs (%) are escaped in RPM changelog lines. Leaving single percent signs in the changelog entries causes problems for rpmlint and, theoretically, rpmbuild.
* Add debug option to bumpverBrian C. Lane2012-09-251-3/+14
| | | | | Pass -d to bumpver to turn on debug logging or run: BZDEBUG=1 make bumpver
* Handle any amount of whitespace between keyword and rhbz reference.David Cantrell2011-07-211-1/+1
| | | | | Allow any amount of whitespace between the Resolves, Related, and Conflicts keywords and the rhbz reference.
* Handle "(#BUGNUM, author)" in git log summary lines.David Cantrell2010-06-241-2/+22
|
* Updates to scripts/makebumpver.David Cantrell2010-05-181-13/+19
| | | | | | | | 1) Let RHEL bugs be in MODIFIED or ON_QA states. 2) Catch rhbz lines that have trailing characters, e.g. a period. This probably won't always work, so please don't put trailing characters on your rhbz lines.
* Better filter for commits to ignore for the RPM changelog.David Cantrell2010-04-151-2/+3
|
* There is no rhbz list for non rhel branch builds.David Cantrell2010-04-151-2/+3
| | | | | | In makebumpver, don't assume rhbz is a list. On non rhel branches, it will always be None since we just put the summary line from the git commit in the rpm changelog.
* Read ~/.rhbzauth in scripts/makebumpverDavid Cantrell2010-04-141-0/+12
| | | | Using that file for the commit-msg hook, so use it here too.
* Add bug mapping support to scripts/makebumpver.David Cantrell2010-04-121-11/+34
| | | | | | | | | | | | | | | | | | | | | We occassionally have Fedora BZ numbers reference in RHEL branch commits. Once the change is pushed, we can't update the commit log. We clone the bug in BZ and then can reference the RHEL bug in the spec file changelog. The -m option lets you do that. Using 'make bumpver' target, here's an example: make bumpver IGNORE=ad32abd1612b747aa3dd5c67e3da390b5c9e0d34 \ MAP="572488=580404" This example also shows the IGNORE functionality. If there are utility commits (e.g., to makebumpver), we can ignore those during the spec file changelog generation. Just pass the git commit ID(s) you want to ignore as a comma-separated list. The MAP functionality is FEDORA_BZ=RHEL_BZ and is for instances where we have a commit on a RHEL branch that references a Fedora bug. We clone the bug to make a RHEL bug, then use MAP= to make sure the RHEL bug ends up in the spec file changelog.
* Move 'make bumpver' functionality to scripts/makebumpverDavid Cantrell2010-04-121-0/+388
Added a Python program to implement the make bumpver functionality. The version number is incremented and the RPM spec file changelog is constructed. On RHEL branches, each git commit is checked to see that it references a RHEL bug and that the RHEL bug is in MODIFIED, has the Fixed In Version field set correctly, and that the bug is for 'Red Hat Enterprise Linux'. The idea here is to catch these bug problems before getting to dist-cvs. For non RHEL branches, the RPM log is constructed as is, no bug verification happens. In instances where you need to ignore certain git commits, you can pass the -i options to the script with a comma separated list of git commit IDs to ignore. This is intended for cases where we need to change a BuildRequire in the spec file template or something like that.