This repo creates scripts for managing the [Fedora Changes process][https://fedoraproject.org/wiki/Fedora_Program_Management/ChangesSOP].
Example workflow:
getcplist.py SelfContainedChange ChangeAcceptedF29
processcp.py change-pages-SelfContainedChange-ChangeAcceptedF29.csv
createbz.py feature-pages.csv
getcplist.py SystemWideChange ChangeAcceptedF29
processcp.py change-pages-SystemWideChange-ChangeAcceptedF29.csv
createbz.py feature-pages.csv
Login credentials for scripts that make Bugzilla calls come from the ${HOME}/.bugzillarc file. e.g.
[core]
user = myname@example.com
password = hunter2
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.