#413 1.39 Release
Merged 3 years ago by onosek. Opened 3 years ago by onosek.
onosek/fedpkg release_1.39  into  master

file modified
+3 -3
@@ -20,13 +20,13 @@ 

  # -- Project information -----------------------------------------------------

  

  project = 'fedpkg'

- copyright = '2018, fedpkg Team'

+ copyright = '2020, fedpkg Team'

  author = 'fedpkg Team'

  

  # The short X.Y version

- version = '1.38'

+ version = '1.39'

  # The full version, including alpha/beta/rc tags

- release = '1.38'

+ release = '1.39'

  

  

  # -- General configuration ---------------------------------------------------

file modified
+1
@@ -6,6 +6,7 @@ 

  .. toctree::

     :maxdepth: 1

  

+    releases/1.39

     releases/1.38

     releases/1.37

     releases/1.36

@@ -74,8 +74,6 @@ 

        bz.default-component %(repo)s

        sendemail.to container-%(repo)s-owner@fedoraproject.org

  

- Demo video `here <https://drive.google.com/open?id=1W\_aT\_L0xvKyFjRg9V0-tb8NPT7ZlqsDl>`_

- 

  verrel command on master asks Koji first

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  
@@ -92,8 +90,6 @@ 

  https://bodhi.fedoraproject.org/releases/<release_name>

  Unknown releases are allowed to be retired.

  

- Demo video `here <https://drive.google.com/open?id=1fnb1dfijWU1HxAPaHX9H87y2f8pjRAYS>`_

- 

  Removes check of bodhi-client version

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  

@@ -0,0 +1,115 @@ 

+ .. _release_1.39:

+ 

+ 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 <https://pagure.io/releng/fedora-scm-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 update

+ * Remove 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`` tool

+ * Remove 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)

+ 

+ .. _`#404`: https://pagure.io/fedpkg/issue/404

+ .. _`#396`: https://pagure.io/fedpkg/issue/396

+ .. _`#392`: https://pagure.io/fedpkg/issue/392

+ .. _`#394`: https://pagure.io/fedpkg/issue/394

+ .. _`#395`: https://pagure.io/fedpkg/issue/395

+ .. _`rhbz#1813338`: https://bugzilla.redhat.com/show_bug.cgi?id=1813338

file modified
+1 -1
@@ -40,7 +40,7 @@ 

  

  setup(

      name="fedpkg",

-     version="1.38",

+     version="1.39",

      author="Dennis Gilmore",

      author_email="dgilmore@fedoraproject.org",

      description=("Fedora plugin to rpkg to manage "

file modified
+1 -1
@@ -1,4 +1,4 @@ 

- mock == 1.0.1

+ mock >= 1.0.1

  coverage<5.0.0

  cccolutils

  gitpython

@lsedlar this works nice for Fedora, but it makes some complications when releasing internal packages (https://src.fedoraproject.org/rpms/rpkg/pull-request/35). Do you think, that the approach is right? I didn't find a way how to avoid the dependencies. I noticed, that pungi doesn't require so many dependencies, but it still has nose in its specfile.

rebased onto 70ff197

3 years ago

Change: use an unrestricted version of mock during tests

Pull-Request has been merged by onosek

3 years ago