fedpkg 1.39 Release Notes
Released on September 5, 2020
This release requires rpkg >= 1.61-1
.
Python compatibility
fedpkg works with Python 2.6, 2.7, 3.6, 3.7 and 3.8
What’s new in fedpkg 1.39
More specific regex to detect bugs in changelog
Use regex similar to Bodhi’s 5.3 version regex (with some minor changes). Subject is not to detect every #number as a bug. Examples of references that fedpkg accepts:
Fixes: rhbz#11111
Fix: rh#22222
resolves:rhbz#33333, rhbz#44444 rh#55555
close: fedora#6666
fix:epel#77777
Check missing config options more reliably
User’s config file is not always updated with freshly added config options in fedpkg release. The reason could be the user’s own changes in the config file prior to the upgrade. It needs user’s action and this fix provides a hint when this problem is detected.
Pytest replaces nosetests
Nosetests tool is deprecated. Also tools supporting Python2.6 test-environment are deprecated one by one. So this was removed too. Pytest tool will run the unit tests. When make test
is run, all neccessary dependencies are installed by pip.
Also allows executing tests with command python setup.py test
.
Print response data from Pagure for debugging
When fedpkg
communicates with a web API (Pagure or DistGit), prints (json) response data for debugging. The response is shown when there is verbose mode enabled.
fedpkg fork updates
checks if the fork already exists
When the fork already exists, method will try to add remote tracked repository (wich might be still missing).
adds correct remote URL
Except the correct URL fixes the right function when the repo is in directory different from the project name. And removes unnecessary
namespace
argument.
display_name added to bodhi.template
User is able to set display_name
during bodhi update operation which allows the user to customize the name of the update.
Body changes for requesting new test repo
Command request-repo
uses template for requesting repo in Pagure at Fedora SCM admin requests. Adds new fields bug_id
(optional) and monitor
(fixed) into request’s body.
Coding style changes
Correct flake8 complaints to pass unittests
Updated supported plaforms in documentation
Other small fixes
Allow retirement on epel branches
MANIFEST.in file prune
Fix unittest for bodhi based on its version
Repair test of
retire
command after rpkg updateRemove unncecessary test, which fails in Jenkins but doesn’t add no extra coverage
Move rpm dependency for test environment only
Run newer version of
sphinx-build
toolRemove deprecated
clone_config
and replace it with newer variants
Change Logs
Pytest replaces nosetests (onosek)
More specific regex to detect bugs in changelog - #404 (onosek)
Print response data from Pagure for debugging - #396 (onosek)
fedpkg fork checks if the fork already exists - #392 (onosek)
Fix unittest for bodhi based on its version (onosek)
display_name added to bodhi.template (onosek)
Remove unncecessary test (onosek)
Correct flake8 complaints to pass unittests (onosek)
fedpkg fork adds correct remote URL - #394 (onosek)
Disable test method’s docstring in nosetests list (onosek)
Allow retirement on epel branches - tests (onosek)
Allow retirement on epel branches - #395 (mboddu)
Updated supported plaforms in documentation (onosek)
Check missing config options more reliably - rhbz#1813338 (onosek)
Body changes for requesting new test repo (onosek)
Repair test of “retire” command after rpkg update (onosek)
Move rpm dependency for test environment only (onosek)
Run newer version of sphinx-build tool (onosek)
Remove deprecated clone_config (onosek)