This repo creates scripts for managing the [Fedora Changes process][https://fedoraproject.org/wiki/Fedora_Program_Management/ChangesSOP].
Example workflow:
make version=30 type=SystemWide build
make bz
ChangesList
into ChangeSet page on wikimake clean
make version=30 type=SelfContained build
make bz
ChangesList
into ChangeSet page on wikiNote It's a good idea to run make clean
before each invocation so that you get the freshest status from Bugzilla into the ChangesList file.
Login credentials for scripts that make Bugzilla calls come from the ${HOME}/.bugzillarc file. e.g.
[buzgilla.redhat.com] api_key = abcdefg123456
Creates Bugzilla tickets in the Fedora Changes component from a CSV file.
Usage: createbz.py <CSV file>
The CSV file must contain the following fields:
Bugzilla will bomb if the email address in the change doesn't map to a valid user. Any bugs you create prior to it blowing up will be duplicated when you run it with a fix.
Pulls changes from the Fedora wiki.
Usage: getcplist.py <TYPE> <STATUS>
TYPE
is one of "SelfContainedChange" or "SystemWideChange". STATUS
is one of the change statuses in the wiki (e.g. "ChangeAcceptedF29").
This script writes a CSV file change-pages-<TYPE>-<STATUS>.csv
in the working directory.
Parses the change list. Iterates over a CSV file produced by getcplist.py and queries Bugzilla for status information.
Usage: processcp.py <CSV file>
This script writes a file feature-pages.csv
that can be fed to createbz.py and a file ChangesList
that contains wiki-formmated text to write for the ChangeSet page.