| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
Pass -d to bumpver to turn on debug logging or run:
BZDEBUG=1 make bumpver
|
| |
|
|
|
| |
Allow any amount of whitespace between the Resolves, Related, and
Conflicts keywords and the rhbz reference.
|
| | |
|
| |
|
|
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
|
|
| |
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.
|
| |
|
|
| |
Using that file for the commit-msg hook, so use it here too.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
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.
|