From 07f5246e7b4de217d28ebb1d28e07c4631866fc1 Mon Sep 17 00:00:00 2001 From: Ondrej Nosek Date: Dec 02 2020 02:21:16 +0000 Subject: 1.62 Release Signed-off-by: Ondrej Nosek --- diff --git a/doc/source/conf.py b/doc/source/conf.py index 94e68f5..d2dfdc5 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -58,9 +58,9 @@ author = u'rpkg team' # built documents. # # The short X.Y version. -version = u'1.61' +version = u'1.62' # The full version, including alpha/beta/rc tags. -release = u'1.61' +release = u'1.62' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/doc/source/releases.rst b/doc/source/releases.rst index ad203a0..b4b92d8 100644 --- a/doc/source/releases.rst +++ b/doc/source/releases.rst @@ -6,6 +6,7 @@ Releases .. toctree:: :maxdepth: 1 + releases/1.62 releases/1.61 releases/1.60 releases/1.59 diff --git a/doc/source/releases/1.55.rst b/doc/source/releases/1.55.rst index 41cf8c4..19a986e 100644 --- a/doc/source/releases/1.55.rst +++ b/doc/source/releases/1.55.rst @@ -40,8 +40,8 @@ example: oidc_client_secret = secretsecret oidc_scopes = openid,push -Global option ``--name`` and ``--namespace`` -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Global option `\\-\\-name` and `\\-\\-namespace` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In order to avoid potential confusion of the word "module" in global option ``--module-name``, new global option ``--name`` and ``--namespace`` are @@ -65,8 +65,8 @@ example, [rpkg] distgit_namespaces = rpms container modules -Properties ``repo_name`` and ``ns_repo_name`` -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Properties `repo_name` and `ns_repo_name` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Property ``Commands.repo_name`` returns repository name, which equals to and deprecates ``Commands.module_name``. @@ -76,8 +76,8 @@ which equals to and deprecates ``Commands.module_name``. Any new code should use these two new properties. -Option ``--fail-fast`` for builds in Koji -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Option `\\-\\-fail-fast` for builds in Koji +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ New option ``--fail-fast`` is to allow submit build to Koji with `fail fast option`_ enabled, which is added since Koji 1.14. This new option @@ -97,8 +97,8 @@ Deprecation Please ensure new code do not use these deprecated things. Deprecation message will be printed out to standard error output for any use of deprecated things. -Global option ``--module-name`` -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Global option `\\-\\-module-name` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``--module-name`` is deprecated by ``--name`` and ``--namespace``. Replacement would be: @@ -106,15 +106,15 @@ would be: * ``--module-name pkg``: ``--name pkg`` * ``--module-name modules/testmodule``: ``--name testmodule --namespace modules`` -Properties ``module_name`` and ``ns_module_name`` -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Properties `module_name` and `ns_module_name` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``Commands.module_name`` is deprecated by ``Commands.repo_name``. ``Commands.ns_module_name`` is deprecated by ``Commands.ns_repo_name``. -String format parameter ``module`` in config file -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +String format parameter `module` in config file +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Format parameter ``%(module)s`` in config file is deprecated. Please use ``%(repo)s`` instead. diff --git a/doc/source/releases/1.56.rst b/doc/source/releases/1.56.rst index 9d5f847..5dbe89a 100644 --- a/doc/source/releases/1.56.rst +++ b/doc/source/releases/1.56.rst @@ -44,8 +44,8 @@ Please note that, in order to shell into a mock environment, ``--no-cleanup-after`` would be helpful to keep local chroot not cleaned up. -``Commands._run_command`` captures and returns output -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +`Commands._run_command` captures and returns output +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Command output to ``stdout`` or ``stderr`` is able to be captured and returned. diff --git a/doc/source/releases/1.57.rst b/doc/source/releases/1.57.rst index 48b80fa..8c00b25 100644 --- a/doc/source/releases/1.57.rst +++ b/doc/source/releases/1.57.rst @@ -89,8 +89,8 @@ to pass additional parameters to internal ``tox`` call. Tests against py26 could be ignored by setting environment variable IGNORE_PY26. -Set configuration in case of "clone --branches" as well -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Set configuration in case of "clone \\-\\-branches" as well +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Currently, the configuration settings for ``credential.helper`` and ``credential.useHttpPath`` and the template from ``clone_config`` are only diff --git a/doc/source/releases/1.59.rst b/doc/source/releases/1.59.rst index 5dc8294..b0ffcec 100644 --- a/doc/source/releases/1.59.rst +++ b/doc/source/releases/1.59.rst @@ -38,13 +38,13 @@ target. .. _`plugin`: https://pagure.io/sidetag-koji-plugin -Port to ``libmodulemd`` 2 API -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Port to `libmodulemd` 2 API +~~~~~~~~~~~~~~~~~~~~~~~~~~~ *rpkg* will now user ``libmodulemd`` library version 2 instead of version 1. -``module-overview`` allows filtering by owner -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +`module-overview` allows filtering by owner +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Adds additional arguments to command ``fedpkg module-overview``: ``--owner`` - param is added to mbs query and shows only builds of that owner @@ -54,20 +54,20 @@ Adds additional arguments to command ``fedpkg module-overview``: Arguments are mutually exclusive. -Add option to skip build for container-build -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Add option to skip build for `container-build` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ With this option, build can be skipped in ``container-build`` command, to update just buildconfig for autorebuilds. -Show nvr in ``container-build`` -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Show nvr in `container-build` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ After build is created with ``container-build``, build's nvr is listed on output. -Different ``import --offline`` command behavior -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Different `import \\-\\-offline` command behavior +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``*pkg import --offline`` didn't update *source* and *.gitignore* files. Modified incorrect output about uploaded sources. Offline mode now does @@ -80,15 +80,15 @@ When ``rhpkg import`` is used, it will delete files that are not used in the imported SRPM but are tracked in git. Now there is an exception for *gating.yaml* also *tests/* subdirectory - these files are kept. -In ``Container-build`` add ``--build-release`` argument +In `Container-build` add `\\-\\-build-release` argument ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Add support for a new ``--build-release`` argument to the ``container-build`` sub-command. This allows users to specify a specific "Release" value to OSBS for the build's Name-Version-Release. -Allow some arguments for ``container-build`` together -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Allow some arguments for `container-build` together +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ For ``rhpkg container-build`` command allow ``--signing-intent together`` with ``--repo-url``. ``--compose-id`` is still restricted to be used with these @@ -100,8 +100,8 @@ Ignore error when adding exclude patterns Creates a ``.git/info`` directory if is missing during ``clone`` of a remote repository. Then ``exclude`` file can be updated. -Custom handler for ``koji watch_tasks`` -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Custom handler for `koji watch_tasks` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Output text during rhpkg/fedpkg build process states that there is a *watch_task* subcommand. When *koji_cli* library is imported @@ -110,8 +110,8 @@ in rhpkg/fedpkg tool, it shows that command is named handler replaces the internal one inside *koji_cli* library. Additional fix in rhpkg is needed after this change is released. -Fix ``clone --branches`` -~~~~~~~~~~~~~~~~~~~~~~~~ +Fix `clone \\-\\-branches` +~~~~~~~~~~~~~~~~~~~~~~~~~~ When cloning with the ``--branches`` option we first clone a bare repo locally, then clone each branch from that bare repo. Avoid adding an @@ -119,8 +119,8 @@ excludes file to the temporary bare repo (which fails because we pass the wrong path to the git dir). Add an excludes file to each branch dir. -Make ``gitbuildhash`` work for windows builds -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Make `gitbuildhash` work for windows builds +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The requests are structured differently to rpm builds, so we need to look at different field to extract URL. diff --git a/doc/source/releases/1.60.rst b/doc/source/releases/1.60.rst index 098b45d..2781453 100644 --- a/doc/source/releases/1.60.rst +++ b/doc/source/releases/1.60.rst @@ -67,8 +67,8 @@ Propagate module_hotfixes to getMockConfig The Koji cli does this, and any wrapper tool should too to generate the same output. -`container-build`: add `--koji-parent-build` argument -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +`container-build`: add `\\-\\-koji-parent-build` argument +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Add support for a new ``--koji-parent-build`` argument to the container-build sub-command. @@ -77,8 +77,8 @@ OSBS allows users to dynamically override the Dockerfile's "FROM" image at build time. This allows you to build your container against a specific parent image without pushing changes to dist-git. -`container-build`: add `--isolated` argument -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +`container-build`: add `\\-\\-isolated` argument +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Add support for a new ``--isolated`` argument to the ``container-build`` sub-command. @@ -92,8 +92,8 @@ Users must specify a ``--build-release`` argument when the use the Unittests are included. -`container-build`: additional warning when using `--release` -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +`container-build`: additional warning when using `\\-\\-release` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Add an additional warning when using ``--release`` with ``container-build`` that the results may not be intented and that ``--target`` should be used diff --git a/doc/source/releases/1.62.rst b/doc/source/releases/1.62.rst new file mode 100644 index 0000000..965421e --- /dev/null +++ b/doc/source/releases/1.62.rst @@ -0,0 +1,57 @@ +.. _release-notes-1.62: + +rpkg 1.62 Release Notes +======================= + +Released on *December 2, 2020* + +Python compatibility +-------------------- + +rpkg works with Python 2.7, 3.7, 3.8 and 3.9. + +What's new in rpkg 1.62 +----------------------- + +Add `\\-\\-signing-intent` and `\\-\\-repo-url` to 'flatpak-build' +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +When ``flatpak-build`` was first added as a command, the ``--signing-intent`` and ``--repo-url`` parameters weren't implemented in OSBS for Flatpak builds; since then the Flatpak and non-Flatpak paths have been unified to a greater extent, making these options work. So move them to the code that is shared between ``build-container`` and ``build-flatpak``. + +Allow skipping nvr checking for chain-build +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Add ``--skip-nvr-check`` parameter to ``chain-build command``. In fact, nvr checking is performed just for the last package in the chain. This is the package from an active repository. + +Add new layout for packages that missing specfile +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Some packages are missing some files that are essential for other layouts. For example specfile(s). Rpkg detects these packages and assigns the layout to them. It allows ``retire`` command for these packages. + +container-build: fix help text for `\\-\\-isolated` argument +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +When a user submits an isolated build to OSBS, that setting does not affect OSBS's bump_release plugin at all. Remove the language about auto-incrementing the release value from the ``--help`` text. + +Replace the ``--help`` language about "additional tags" with "floating tags". This matches the language that the OSBS user documentation uses. Also, OSBS supports a deprecated (!) "additional-tags" file in dist-git, so it's confusing to refer to "additional tags" here. + +Other small fixes +~~~~~~~~~~~~~~~~~ +* Avoid blank lines in log files for lookaside +* Add hashtype to lookaside download path + +Coding style changes +~~~~~~~~~~~~~~~~~~~~ +* Imports are sorted +* Resolved some Flake8 complaints - it actually fixed also Jenkins test that failed on specific import statement. As the import itself could not be removed, lines were marked as ignored for checkers. + +Change Logs +----------- +- Allow skipping nvr checking for chain-build - `rhbz#1890701`_ (onosek) +- Code-style improvement - imports are sorted (onosek) +- Fix Jenkinks tests (onosek) +- Avoid blank lines in log files for lookaside (contyk) +- container-build: fix help text for --isolated argument (kdreyer) +- Add --signing-intent and --repo-url to 'flatpak-build' (otaylor) +- Add hashtype to lookaside download path - `#521`_ (turivniy) +- Add new layout for packages that missing specfile - `rhbz#1885771`_ (onosek) + +.. _`rhbz#1890701`: https://bugzilla.redhat.com/show_bug.cgi?id=1890701 +.. _`#521`: https://pagure.io/rpkg/issue/521 +.. _`rhbz#1885771`: https://bugzilla.redhat.com/show_bug.cgi?id=1885771 diff --git a/setup.py b/setup.py index f18ff4f..b66ad6d 100755 --- a/setup.py +++ b/setup.py @@ -50,7 +50,7 @@ with open(readme_rst, 'r') as readme: setup( name="rpkg", - version="1.61", + version="1.62", author="Dennis Gilmore", author_email="ausil@fedoraproject.org", description=("A python library and runtime script for managing RPM"