From e4fa53f8ea52febccaf93af06bf5b62663f0b658 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Mar 05 2020 13:02:47 +0000 Subject: [PATCH 1/3] 1.20.1 release notes Fixes: https://pagure.io/koji/issue/2031 --- diff --git a/docs/source/conf.py b/docs/source/conf.py index 9fc789d..0fbff8e 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -56,7 +56,7 @@ copyright = u'2017, Mike McLean, Mike B, Dennis Gilmore, Mathieu Bridon, Ian McL # The short X.Y version. version = '1.20' # The full version, including alpha/beta/rc tags. -release = '1.20.0' +release = '1.20.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/source/release_notes/release_notes.rst b/docs/source/release_notes/release_notes.rst index 17befc5..b485099 100644 --- a/docs/source/release_notes/release_notes.rst +++ b/docs/source/release_notes/release_notes.rst @@ -5,6 +5,7 @@ Release Notes .. toctree:: :maxdepth: 1 + release_notes_1.20.1 release_notes_1.20 release_notes_1.19.1 release_notes_1.19 diff --git a/docs/source/release_notes/release_notes_1.20.1.rst b/docs/source/release_notes/release_notes_1.20.1.rst new file mode 100644 index 0000000..8824292 --- /dev/null +++ b/docs/source/release_notes/release_notes_1.20.1.rst @@ -0,0 +1,128 @@ +Koji 1.20.1 Release notes +========================= + +This is first regular minor release. We're trying new release cycle. It should +involve of regular releases (1.x.0) roughly every three months. In between there +should be one minor release (1.x.1) with bugfixes and documentation updates. + +Overall policy for minor release is, that it shouldn't contain anything changing +API or any compatibility features. Neither it should touch the db schema. Client +has to be completely compatible with 1.x.0 version. + +Reason to introduce them is to make quciker delivery of simple fixes to end +users. As an administrator of koji instance you're free to not/update as you +wish. There also needs to be clear update path from 1.x via 1.x.1 to 1.x+1. + +Anyway, if some security or important bugfix is found anywhere during 1.x cycle, +we're going to do additional minor release addressing this problem. We will +announce it properly through standard channels (mainly koji-devel mailing list). + +All changes can be found at `pagure `_. +Most important changes are listed here. + +Migrating from Koji 1.20 +------------------------ + +No special actions are needed. + +Security Fixes +-------------- +None + +Client Changes +-------------- +**Fix flags display for list-tag-inheritance** + +| PR: https://pagure.io/koji/pull-request/1929 + +Fix of the bug with garbage output for given command. + +**Don't use full listTags in list-groups call** + +| PR: https://pagure.io/koji/pull-request/1967 + +Speed improvement - sidetags introduced large tag sets which slowed down some +calls. + +Library Changes +--------------- +**Always use stream=True when iterating over a request** + +| PR: https://pagure.io/koji/pull-request/1993 + +Bug introduced in 1.20 could cause kojid running out of memory. + +API Changes +----------- +None + +Web UI Changes +-------------- +**Display params also for malformed tasks in webui** + +| PR: https://pagure.io/koji/pull-request/1488 + +**Display some taskinfo for deleted buildtags** + +| PR: https://pagure.io/koji/pull-request/1920 + +**Expect, that hub is returning GM time** + +| PR: https://pagure.io/koji/pull-request/1919 + +Information on taskinfo page could have wrong times. + +Builder Changes +--------------- + +**Ensure that all keys in distrepo are lowered** + +| PR: https://pagure.io/koji/pull-request/1982 + +Distrepo now should treat sigkeys as case-insensitive. + +System Changes +-------------- +**Improve sql speed in build_references** + +| PR: https://pagure.io/koji/pull-request/1962 + +``build_references`` was using one of the slowest SQL calls in koji. It was +rewritten now to be faster. + +Utilities Changes +----------------- + +Garbage Collector +................. +None + +DB Sweeper +.......... +**Analyze/vacuum all affected tables** + +| PR: https://pagure.io/koji/pull-request/1944 + +There was a mistake in vacuumed table and one another was missing. + +Kojikamid +......... +None + +Documentation Changes +--------------------- +**Fix help message for list-groups** + +| PR: https://pagure.io/koji/pull-request/1947 + +**Fix usage message for add-pkg** + +| PR: https://pagure.io/koji/pull-request/1946 + +**improve search() API documentation** + +| PR: https://pagure.io/koji/pull-request/1995 + +**Docs for kojira and koji-gc** + +| PR: https://pagure.io/koji/pull-request/1935 diff --git a/docs/source/runs_here.rst b/docs/source/runs_here.rst index b966c77..e26be21 100644 --- a/docs/source/runs_here.rst +++ b/docs/source/runs_here.rst @@ -15,7 +15,7 @@ describe what you are using it for. +---------+----------------------------------------------------------------------------+-------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | 1 | pc V Pharmacy | Not-public | Compiling proprietary software across Fedora and RHEL. Both the software and any dependencies that are not available in Fedora and/or RHEL that may also be proprietary. | +---------+----------------------------------------------------------------------------+-------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| 2 | CERN | \* | All RPMs for SLC6 (Scientific Linux CERN), CC7 (CERN CentOS), and CentOS8 for CERN are built through our own internal instance of koji and consumed via http://linuxsoft.cern.ch | +| 2 | CERN | \* | All RPMs for SLC6 (Scientific Linux CERN), CC7 (CERN CentOS), and CentOS8 for CERN are built through our own internal instance of koji and consumed via http://linuxsoft.cern.ch | +---------+----------------------------------------------------------------------------+-------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | 3 | `fedora.danny.cz `__ | the hub is not public yet | http://sharkcz.livejournal.com/3988.html | +---------+----------------------------------------------------------------------------+-------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ diff --git a/koji.spec b/koji.spec index 3ad8245..96f82ac 100644 --- a/koji.spec +++ b/koji.spec @@ -81,7 +81,7 @@ %define release %{baserelease} %endif Name: koji -Version: 1.20.0 +Version: 1.20.1 Release: %{release}%{?dist} License: LGPLv2 and GPLv2+ # the included arch lib from yum's rpmUtils is GPLv2+ @@ -724,6 +724,102 @@ fi %endif %changelog +* Fri Feb 21 2020 Tomas Kopecek - 1.20.1-1 +- PR#1995: hub: improve search() API documentation +- PR#1993: Always use stream=True when iterating over a request +- PR#1982: ensure that all keys in distrepo are lowered +- PR#1962: improve sql speed in build_references +- PR#1960: user proper type for buildroot state comparison +- PR#1958: fix potentially undeclared variable error +- PR#1967: don't use full listTags in list-groups call +- PR#1944: analyze/vacuum all affected tables +- PR#1929: fix flags display for list-tag-inheritance +- PR#1935: docs for kojira and koji-gc +- PR#1923: web: fix typo - the param[0] is tag, not target +- PR#1919: expect, that hub is returning GM time +- PR#1465: unittest fix: tests/test_cli/test_list_tagged.py +- PR#1920: display some taskinfo for deleted buildtags +- PR#1488: Display params also for malformed tasks in webui +- PR#2020: move needed functions +- PR#1946: fix usage message for add-pkg +- PR#1947: fix help message for list-groups + +* Mon Jan 20 2020 Tomas Kopecek - 1.20.0-1 +- PR#1908: koji 1.20 release +- PR#1909: a follow-up fix for koji-gc +- PR#1921: fix test for PR1918 +- PR#1893: raise GenericError on existing build reservation +- PR#1917: Update typeinfo metadata documentation +- PR#1918: cli: add "--new" option in "grant-permission" help summary +- PR#1912: hub: [distRepo] fix input tag arg for getBuildConfig call +- PR#1832: docstrings for API +- PR#1889: fix nvr/dict params +- PR#1743: basic zchunk support for dist-repo +- PR#1869: limit distRepo tasks per tag +- PR#1873: koji-gc: untagging/moving to trashcan is very slow +- PR#1829: Add a sanity check on remotely opened RPMs +- PR#1892: kojid: use binary msg for python3 in *Notification tasks +- PR#1854: do not use with statement with requests.get +- PR#1875: document noarch rpmdiff behaviour +- PR#1872: hub: getUser: default krb_princs value is changed to True +- PR#1824: additional options to clean database +- PR#1246: split admin_emails option for kojid +- PR#1794: merge duplicate docs +- PR#763: clean all unused `import` and reorder imports +- PR#1626: build can wait for actual repo +- PR#1640: Provide for passing credentials to SRPMfromSCM +- PR#1820: [web] human-friendly file sizes in taskinfo page +- PR#1821: browsable api +- PR#1839: fix closing table tag +- PR#1785: unify return values for permission denied +- PR#1428: Add koji-gc/kojira/koji-shadow to setup.py +- PR#1868: extend docstrings for CGInit/RefundBuild +- PR#1853: fix CGRefundBuild to release build properly +- PR#1862: gitignore: exclude .vscode folder +- PR#1845: QueryProcessor: fix countOnly for group sql +- PR#1850: fix conflict -r option for kernel version +- PR#1848: list-pkgs: fix opts check +- PR#1847: hub: fix BulkInsertProcessor call in CGImport +- PR#1841: continue instead of exiting +- PR#1837: A few fixes for kojikamid +- PR#1823: docs for partitioning buildroot_listings +- PR#1771: koji-sweep-db: Turn on autocommit to eliminate VACUUMing errors +- PR#723: improve test and clean targets in Makefiles +- PR#1037: use --update for dist-repos if possible +- PR#1817: document tag inheritance +- PR#1691: human-readable timestamp in koji-gc log +- PR#1755: drop buildMap API call +- PR#1814: some list-pkgs options work only in combinations +- PR#821: Log kernel version used for buildroot +- PR#983: fix downloads w/o content-length +- PR#284: Show build link(s) on buildContainer task page +- PR#1826: fix time type for restartHosts +- PR#1790: remove old db constraint +- PR#1775: clarify --ts usage +- PR#1542: Replace urllib.request with requests library +- PR#1380: no notifications in case of deleted tag +- PR#1787: raise error when config search paths is empty +- PR#1828: cli: refine output of list-signed +- PR#1781: Remove title option for livemedia-creator +- PR#1714: use BulkInsertProcessor for hub mass inserts +- PR#1797: hub: build for policy check should be build_id in host.tagBuild +- PR#1807: util: rename "dict" arg +- PR#1149: hub: new addArchiveType RPC +- PR#1798: rm old test code +- PR#1795: fix typos for GenericError +- PR#1799: hub: document cg_import parameters +- PR#1804: docs: MaxRequestsPerChild -> MaxConnectionsPerChild +- PR#1806: docs: explain "compile/builder1" user principal +- PR#1800: rpm: remove %defattr +- PR#1805: docs: recommend 2048 bit keys +- PR#1801: docs: fix indent for reloading postgres settings +- PR#1802: docs: simplify admin bootstrapping intro +- PR#1803: docs: fix rST syntax for DB listening section +- PR#1551: cluster health info page +- PR#1525: include profile name in parsed config options +- PR#1773: make rpm import optional in koji/__init__.py +- PR#1767: check ConfigParser object rather than config path list + * Fri Nov 8 2019 Brendan Reilly - 1.19.1-1 - PR#1751: hub: Fix issue with listing users and old versions of Postgres - PR#1753: Fix hub reporting of bogus ownership data diff --git a/setup.py b/setup.py index 6f800fa..58f3de1 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ def get_install_requires(): setup( name="koji", - version="1.20.0", + version="1.20.1", description=("Koji is a system for building and tracking RPMS. The base" " package contains shared libraries and the command-line" " interface."), From f59257ef13f76849b29b8081a2a18c75a53c16ea Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Mar 05 2020 13:02:47 +0000 Subject: [PATCH 2/3] fix typo --- diff --git a/docs/source/release_notes/release_notes_1.20.1.rst b/docs/source/release_notes/release_notes_1.20.1.rst index 8824292..0c2f846 100644 --- a/docs/source/release_notes/release_notes_1.20.1.rst +++ b/docs/source/release_notes/release_notes_1.20.1.rst @@ -9,7 +9,7 @@ Overall policy for minor release is, that it shouldn't contain anything changing API or any compatibility features. Neither it should touch the db schema. Client has to be completely compatible with 1.x.0 version. -Reason to introduce them is to make quciker delivery of simple fixes to end +Reason to introduce them is to make quicker delivery of simple fixes to end users. As an administrator of koji instance you're free to not/update as you wish. There also needs to be clear update path from 1.x via 1.x.1 to 1.x+1. From 2cf1373afb4b908e44c101903233f0430b139dcf Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Mar 05 2020 13:02:47 +0000 Subject: [PATCH 3/3] update for last fix --- diff --git a/koji.spec b/koji.spec index 96f82ac..6598987 100644 --- a/koji.spec +++ b/koji.spec @@ -724,7 +724,7 @@ fi %endif %changelog -* Fri Feb 21 2020 Tomas Kopecek - 1.20.1-1 +* Thu Mar 5 2020 Tomas Kopecek - 1.20.1-1 - PR#1995: hub: improve search() API documentation - PR#1993: Always use stream=True when iterating over a request - PR#1982: ensure that all keys in distrepo are lowered @@ -743,6 +743,7 @@ fi - PR#2020: move needed functions - PR#1946: fix usage message for add-pkg - PR#1947: fix help message for list-groups +- PR#2060: build_references: fix the type of event_id used by max * Mon Jan 20 2020 Tomas Kopecek - 1.20.0-1 - PR#1908: koji 1.20 release