From 3325338de3be15fce216142cbe53faa6e0cc1687 Mon Sep 17 00:00:00 2001 From: Chenxiong Qi Date: Aug 21 2018 10:24:30 +0000 Subject: 1.56 Release Signed-off-by: Chenxiong Qi --- diff --git a/doc/source/conf.py b/doc/source/conf.py index c3443bb..5481fa3 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -54,9 +54,9 @@ author = u'rpkg team' # built documents. # # The short X.Y version. -version = u'1.55' +version = u'1.56' # The full version, including alpha/beta/rc tags. -release = u'1.55' +release = u'1.56' # 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 0ed5cdf..d652e0b 100644 --- a/doc/source/releases.rst +++ b/doc/source/releases.rst @@ -6,6 +6,7 @@ Releases .. toctree:: :maxdepth: 1 + releases/1.56 releases/1.55 releases/1.54 releases/1.53 diff --git a/doc/source/releases/1.56.rst b/doc/source/releases/1.56.rst new file mode 100644 index 0000000..9d5f847 --- /dev/null +++ b/doc/source/releases/1.56.rst @@ -0,0 +1,88 @@ +.. _release-notes-1.56: + +rpkg 1.56 Release Notes +======================= + +Released on *August 21, 2018* + +Python compatibility +-------------------- + +rpkg works with Python 2.6, 2.7, 3.6 and 3.7. + +What's new in rpkg 1.56 +----------------------- + +Validate Greenwave policy +~~~~~~~~~~~~~~~~~~~~~~~~~ + +Greenwave policy could be validated when build a package with ``build`` +command, or a container with ``container-build`` command, if policy file +``gating.yaml`` is created in the root directory inside repostiory. If +the policy is valid, build will be proceeded, otherwise, packagers +have to fix it. + +For whatever the reason that Greenwave cannot validate the policy, +there is an option ``--skip-remote-rules-validation`` to bypass the +validation. + +Allow to specify alternative buildroot for local build +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +New option ``--buildrootdir`` is added to ``local`` command in order +to assemble files generated during build into a custom directory +instead of the default ``~/rpmbuild/BUILDROOT/``. + +Shell into mock +~~~~~~~~~~~~~~~ + +``mockbuild`` command now has option ``--shell`` to allow shell into a +specific mock environment, which is same as what ``mock --shell`` +does. + +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 +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Command output to ``stdout`` or ``stderr`` is able to be captured and +returned. + +To return content output to stdout, pass argument ``return_stdout``. + +To return content output to stderr, pass argument ``return_stderr``. + +Refer to :meth:`Commands._run_command` for detailed information. + +Change Logs +----------- + +* Validate greenwave policy early in Commands.build (cqi) +* Refine error message for failure gating.yaml validation (cqi) +* explain mbs-manager exception handling (nils) +* test for missing mbs-manager with errno set (nils) +* catch errno == ENOENT if mbs-manager is missing (nils) +* add missing method docstring (nils) +* Show full error from MBS (lsedlar) +* Fix tests for greenwave policy validation (cqi) +* Add testenv for building docs (cqi) +* New option --buildrootdir - `rhbz#1583822`_ (cqi) +* Add --shell option to mockbuild - `rhbz#1438685`_ (cqi) +* Validate gating.yaml file for Greenwave gating (gnaponie) +* Update README (cqi) +* Reduce the number of repo creation for tests (cqi) +* Fix flake8 error (cqi) +* Drop rpm-py-installer from requires - `#357`_ (cqi) +* Allow _run_command to capture and return output to stdout or stderr (cqi) +* Claim Python 3.7 in README and package classifiers (cqi) +* Fix a bad test teardown (otaylor) +* Refactor build command (cqi) +* Remove rpmfluff package (cqi) +* Set PYCURL_SSL_LIBRARY directly for installing pycurl (cqi) +* Add py37 testenv (cqi) + +.. _`#357`: https://pagure.io/rpkg/issue/357 +.. _`rhbz#1438685`: https://bugzilla.redhat.com/show_bug.cgi?id=1438685 +.. _`rhbz#1583822`: https://bugzilla.redhat.com/show_bug.cgi?id=1583822 diff --git a/setup.py b/setup.py index 9be8746..0bbbf8b 100755 --- a/setup.py +++ b/setup.py @@ -52,7 +52,7 @@ with open(readme_rst, 'r') as readme: setup( name="rpkg", - version="1.55", + version="1.56", author="Dennis Gilmore", author_email="ausil@fedoraproject.org", description=("A python library and runtime script for managing RPM"