prune less important changes
This commit is contained in:
parent
046d6a80ea
commit
8251f9ed30
1 changed files with 29 additions and 216 deletions
|
|
@ -6,6 +6,9 @@ koji 1.22. Please, prepare yourself for deploying python 3 versions of
|
|||
these. Both are already supported and this is the next step in
|
||||
retiring python 2 codebase.
|
||||
|
||||
All changes can be found at `pagure <https://pagure.io/koji/roadmap/1.20/>`_.
|
||||
Most important changes are listed here.
|
||||
|
||||
Migrating from Koji 1.19
|
||||
------------------------
|
||||
|
||||
|
|
@ -56,26 +59,6 @@ This option is simply an alias for the existing ``--not-enabled`` option.
|
|||
Some places were using ``print`` + ``return 1``, some `parser.error` calls.
|
||||
Let's unify it to ``parser.error``.
|
||||
|
||||
**list-pkgs: Fix opts check**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1848
|
||||
| PR: https://pagure.io/koji/pull-request/1814
|
||||
|
||||
Warn if non-compatible options are used.
|
||||
|
||||
**Fix downloads w/o content-length**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/983
|
||||
|
||||
When content-length is not specified, whole file is read to memory. Use chunks instead.
|
||||
|
||||
**Refine output of list-signed**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1828
|
||||
|
||||
Removed debug info.
|
||||
|
||||
|
||||
Library Changes
|
||||
---------------
|
||||
**Raise error when we have not configuration**
|
||||
|
|
@ -93,18 +76,6 @@ which is no longer sensible.
|
|||
Sometimes RPMs are not downloaded correctly into buildroot and it results in
|
||||
weird errors. A simple check was added to detect corruption of downloaded files.
|
||||
|
||||
**Replace urllib.request with requests library**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1542
|
||||
|
||||
**util: Rename "dict" arg**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1807
|
||||
|
||||
The ``dslice`` and ``dslice_ex`` functions accepted an argument named ``dict``,
|
||||
which conflicts with a built-in Python type.
|
||||
These arguments have been renamed to ``dict_``
|
||||
|
||||
**Include profile name in parsed config options**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1525
|
||||
|
|
@ -125,7 +96,7 @@ less painful.
|
|||
API Changes
|
||||
-----------
|
||||
|
||||
**getUser: Default krb_princs value changed to True**
|
||||
**Default krb_princs value changed to True in getUser**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1872
|
||||
|
||||
|
|
@ -139,13 +110,13 @@ used to control whether the ``krb_principals`` field is included in the result o
|
|||
|
||||
It was designed for GC, but it is not used anymore.
|
||||
|
||||
**hub: New addArchiveType RPC**
|
||||
**New addArchiveType API call**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1149
|
||||
|
||||
Adds a new hub method for inserting new archivetype records.
|
||||
|
||||
**raise ``GenericError`` on existing build reservation.**
|
||||
**Raise GenericError on existing build reservation in in CGInitBuild**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1893
|
||||
|
||||
|
|
@ -167,12 +138,6 @@ The web ui now offers API introspection similar to the ``koji list-api`` command
|
|||
|
||||
New web page showing current usage of build cluster.
|
||||
|
||||
**Fix closing table tag**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1839
|
||||
|
||||
Fixed corrupted table.
|
||||
|
||||
**Show build link(s) on buildContainer task page**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/284
|
||||
|
|
@ -189,18 +154,6 @@ generated by the
|
|||
Builder Changes
|
||||
---------------
|
||||
|
||||
**kojid: Use binary msg for python3 in notification tasks**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1892
|
||||
|
||||
Fix encoding problems in notification tasks
|
||||
|
||||
**Split admin_emails option for kojid**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1246
|
||||
|
||||
Fix for multiple addresses in kojid error handler.
|
||||
|
||||
**Provide for passing credentials to SRPMfromSCM**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1640
|
||||
|
|
@ -220,24 +173,14 @@ building SRPMs for fetching data from authenticated SCMs.
|
|||
|
||||
Improves speed of new distrepos.
|
||||
|
||||
**Fix time type for restartHosts**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1826
|
||||
|
||||
**no notifications in case of deleted tag**
|
||||
**Don't send notifications in case of deleted tag**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1380
|
||||
|
||||
In some cases (sidetags) tag can be deleted before untag notifications are sent,
|
||||
so don't send them if tag is already deleted.
|
||||
|
||||
**add _remote.repositories to ignored maven files**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1732
|
||||
|
||||
Maven3 file type added to ignored.
|
||||
|
||||
**check existence of maven symlink**
|
||||
**Check existence of maven symlink**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1742
|
||||
|
||||
|
|
@ -263,68 +206,18 @@ were introduced.
|
|||
Introduces ``distrepo.cancel_others`` extra flag for tags. If enabled, new
|
||||
distRepo task will cancel previous non-finished ones leaving only new one.
|
||||
|
||||
**Do not use with statement with requests.get**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1854
|
||||
|
||||
Older python-requests doesn't handle correctly ``with`` statement, so we've
|
||||
avoided it for now.
|
||||
|
||||
**Clean all unused `import` and reorder imports**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/763
|
||||
|
||||
Making our code PEP-8 compliant.
|
||||
|
||||
**Fix CGRefundBuild to release build properly**
|
||||
| PR: https://pagure.io/koji/pull-request/1853
|
||||
|
||||
Fixes for refunding failed/cancelled build.
|
||||
|
||||
**gitignore: Exclude .vscode folder**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1862
|
||||
|
||||
trivial change in `.gitignore`
|
||||
|
||||
**Improve test and clean targets in Makefiles**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/723
|
||||
|
||||
**Remove old db constraint**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1790
|
||||
|
||||
In some cases, an old and now invalid db constraint may have persisted after
|
||||
older schema updates, due to naming variation.
|
||||
This change ensures the constraint is removed.
|
||||
|
||||
**use BulkInsertProcessor for hub mass inserts**
|
||||
**Use BulkInsertProcessor for hub mass inserts**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1714
|
||||
| PR: https://pagure.io/koji/pull-request/1847
|
||||
|
||||
Speed up mass inserts.
|
||||
|
||||
**Remove old test code**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1798
|
||||
|
||||
Some files in the tree had bits of code that you could run if you executed the
|
||||
files directly as scripts. Now that we have unit tests and the "fakehub" tool,
|
||||
we do not need this code.
|
||||
|
||||
**hub: Build for policy check should be build_id in host.tagBuild**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1797
|
||||
|
||||
**rpm: Remove %defattr**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1800
|
||||
|
||||
Remove the %defattr line from the rpm spec file, as this has not been needed
|
||||
since RHEL 5.
|
||||
|
||||
**Use comma delimiter for allowed_methods**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1745
|
||||
|
|
@ -332,26 +225,10 @@ since RHEL 5.
|
|||
The ``allowed_methods`` configuration option for the ``save_failed_tree`` plugin
|
||||
now expects comma-separated values, as the example config indicates.
|
||||
|
||||
**hub: Fix issue with listing users and old versions of Postgres**
|
||||
**Fix issue with listing users and old versions of Postgres**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1751
|
||||
|
||||
**Fix hub reporting of bogus ownership data**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1753
|
||||
|
||||
**Clean python compiled binaries for non *.py code**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1695
|
||||
|
||||
**allow tag or target permissions as appropriate (on master)**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1733
|
||||
|
||||
**More default values in example kojihub.conf**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1739
|
||||
|
||||
Utilities Changes
|
||||
-----------------
|
||||
**Add koji-gc/kojira/koji-shadow to setup.py**
|
||||
|
|
@ -362,37 +239,16 @@ Koji utilities are now installlable from PyPi.
|
|||
|
||||
Garbage Collector
|
||||
.................
|
||||
**untagging/moving to trashcan is very slow**
|
||||
**Speedup untagging/moving to trashcan**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1873
|
||||
|
||||
Rewrite of how koji-gc handles untagging. Multicalls are used now and some
|
||||
speedup of related API calls is also included.
|
||||
|
||||
**human-readable timestamp in koji-gc log**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1691
|
||||
|
||||
**koji-gc: Fix up usage of default configuration file**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1769
|
||||
|
||||
Previously, koji-gc would fail if run without a configuration file
|
||||
being specified on the command line.
|
||||
|
||||
**don't expect all buildReferences fields (koji-gc)**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1724
|
||||
|
||||
Bug fix
|
||||
|
||||
**koji-gc: fix typo in --ignore-tags**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1726
|
||||
|
||||
DB Sweeper
|
||||
..........
|
||||
**additional options to clean database**
|
||||
**New options to clean database**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1824
|
||||
|
||||
|
|
@ -408,18 +264,6 @@ safe environment, before running them in production.
|
|||
Cleaning sessions and reservations are still safe and they are primary goals of
|
||||
the script.
|
||||
|
||||
**turn on autocommit to eliminate VACUUMing errors**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1771
|
||||
|
||||
**remove accuracy from koji-sweep-db timer**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1761
|
||||
|
||||
**fix typo in table column name**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1760
|
||||
|
||||
Kojikamid
|
||||
.........
|
||||
**A few fixes for kojikamid**
|
||||
|
|
@ -431,62 +275,31 @@ with changes to the the Koji data model, and Python 3 compatibility.
|
|||
|
||||
Documentation Changes
|
||||
---------------------
|
||||
**reorder docs**
|
||||
Lot of documentation was added in last release in API and also in docs pages.
|
||||
|
||||
|
||||
**Documentation**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1716
|
||||
| PR: https://pagure.io/koji/pull-request/1794
|
||||
|
||||
**docstrings for API**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1832
|
||||
| PR: https://pagure.io/koji/pull-request/1868
|
||||
| PR: https://pagure.io/koji/pull-request/1799
|
||||
|
||||
**document noarch rpmdiff behaviour**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1875
|
||||
|
||||
**MaxRequestsPerChild -> MaxConnectionsPerChild**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1804
|
||||
|
||||
**explain "compile/builder1" user principal**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1806
|
||||
|
||||
**recommend 2048 bit keys**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1805
|
||||
|
||||
**fix indent for reloading postgres settings**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1801
|
||||
|
||||
**simplify admin bootstrapping intro**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1802
|
||||
|
||||
**fix rST syntax for DB listening section**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1803
|
||||
|
||||
**docs for partitioning buildroot_listings**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1823
|
||||
|
||||
**document tag inheritance**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1804
|
||||
| PR: https://pagure.io/koji/pull-request/1805
|
||||
| PR: https://pagure.io/koji/pull-request/1806
|
||||
| PR: https://pagure.io/koji/pull-request/1817
|
||||
|
||||
**clarify --ts usage**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1775
|
||||
|
||||
**Update typeinfo metadata documentation**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1823
|
||||
| PR: https://pagure.io/koji/pull-request/1875
|
||||
| PR: https://pagure.io/koji/pull-request/1917
|
||||
|
||||
** add "--new" option in "grant-permission" help summary
|
||||
**API**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1799
|
||||
| PR: https://pagure.io/koji/pull-request/1832
|
||||
| PR: https://pagure.io/koji/pull-request/1868
|
||||
|
||||
**CLI**
|
||||
|
||||
| PR: https://pagure.io/koji/pull-request/1775
|
||||
| PR: https://pagure.io/koji/pull-request/1918
|
||||
| PR: https://pagure.io/koji/pull-request/1921
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue