Commit graph

4591 commits

Author SHA1 Message Date
Brendan Reilly
3aa1fa2dae 1.19.1 release 2019-11-08 11:53:12 -05:00
Mike McLean
4701739709 PR#1745: allow comma delimiter for allowed_methods
Merges #1745
https://pagure.io/koji/pull-request/1745

Fixes: #1744
https://pagure.io/koji/issue/1744
save-failed-tree conf is parsed differently than described
2019-11-08 09:47:10 -05:00
Tomas Kopecek
37a88310c2 allow comma/space delimiter for allowed_methods
Example config says, that comma is allowed, but it was not true.

Fixes: https://pagure.io/koji/issue/1744
2019-11-08 09:47:06 -05:00
Tomas Kopecek
14ff331e8f PR#1769: koji-gc: Fix up usage of default configuration file
Merges #1769
https://pagure.io/koji/pull-request/1769

Fixes: #1768
koji-gc errors out if run without specifying config file
https://pagure.io/koji/issue/1768
2019-11-07 17:06:25 -05:00
Jim Foraker
b688433323 koji-gc: Fix up usage of default configuration file
Previously, koji-gc would fail if run without a configuration file
being specified on the command line.

Signed-off-by: Jim Foraker <foraker1@llnl.gov>
2019-11-07 17:06:24 -05:00
Tomas Kopecek
b1260bf33d PR#1724: don't expect all buildReferences fields (koji-gc)
Merges #1724
https://pagure.io/koji/pull-request/1724

Fixes: #1723
https://pagure.io/koji/issue/1723
koji-gc expect ordered output of buildReferences
2019-11-07 11:44:45 -05:00
Tomas Kopecek
c165278694 don't expect all buildReferences fields (koji-gc)
Fixes: https://pagure.io/koji/issue/1723
2019-11-07 11:44:43 -05:00
Tomas Kopecek
30917fc5cf PR#1726: fix typo in --ignore-tags
Merges #1726
https://pagure.io/koji/pull-request/1726

Fixes: #1725
https://pagure.io/koji/issue/1725
koji-gc --ignore-tags doesn't work
2019-11-07 11:43:50 -05:00
Tomas Kopecek
71f62894b7 fix typo in --ignore-tags
Fixes: https://pagure.io/koji/issue/1725
2019-11-07 11:43:49 -05:00
Tomas Kopecek
cce3c6ff1e PR#1732: add _remote.repositories to ignored maven files
Merges #1732
https://pagure.io/koji/pull-request/1732

Fixes: #1731
https://pagure.io/koji/issue/1731
maven 3 creates _remote.repositories files
2019-11-07 11:43:11 -05:00
Tomas Kopecek
956ad744af add _remote.repositories to ignored maven files
Fixes: https://pagure.io/koji/issue/1731
2019-11-07 11:43:09 -05:00
Tomas Kopecek
d093a596a6 PR#1738: --disabled alias for --not-enabled in list-hosts
Merges #1738
https://pagure.io/koji/pull-request/1738

Fixes: #1737
https://pagure.io/koji/issue/1737
[RFE] --disabled as alias for --not-enabled in list-hosts
2019-11-07 11:42:33 -05:00
Tomas Kopecek
93c4f49af9 --disabled alias for --not-enabled in list-hosts
Fixes: https://pagure.io/koji/issue/1737
2019-11-07 11:42:30 -05:00
Tomas Kopecek
ed75113dc3 PR#1716: split docs to subdirectories
Merges #1716
https://pagure.io/koji/pull-request/1716

Fixes: #1715
https://pagure.io/koji/issue/1715
Split docs to directories
2019-11-07 11:31:56 -05:00
Tomas Kopecek
989829eb79 split docs to subdirectories
Fixes: https://pagure.io/koji/issue/1715
2019-11-07 11:31:54 -05:00
Tomas Kopecek
3cb1e05761 PR#1742: check existence of maven symlink
Merges #1742
https://pagure.io/koji/pull-request/1742

Fixes: #1593
https://pagure.io/koji/issue/1593
maven build not working with fedora
2019-11-06 13:49:06 -05:00
Tomas Kopecek
8d4d74fca0 check existence of maven symlink
Fixes: https://pagure.io/koji/issue/1593
2019-11-06 13:49:04 -05:00
Tomas Kopecek
d412eb00e0 PR#1761: remove accuracy from koji-sweep-db timer
Merges #1761
https://pagure.io/koji/pull-request/1761

Fixes: #1758
https://pagure.io/koji/issue/1758
Accuracy not a valid systemd keyword in koji-sweep-db.timer
2019-11-06 13:03:53 -05:00
Tomas Kopecek
5b8c74a0c2 remove accuracy from koji-sweep-db timer
Fixes: https://pagure.io/koji/issue/1758
2019-11-06 13:03:51 -05:00
Tomas Kopecek
ae82232f39 PR#1751: hub: Fix issue with listing users and old versions of Postgres
Merges #1751
https://pagure.io/koji/pull-request/1751

Fixes #1750
hub: Fix issue with listing users and old versions of Postgres
https://pagure.io/koji/issue/1750
2019-11-06 13:01:26 -05:00
Jim Foraker
fde8aab177 hub: Fix issue with listing users and old versions of Postgres
Koji was using the array_remove() SQL function, which was not introduced
until Postgres 9.4.  RHEL 7 ships with Postgres 9.2.  This construct
was being used to ensure that the krb_principals arrays in user
dictionaries were empty if no principals were defined, instead of
having a single value of None.  Instead we use QueryProcessor's result
transformation support to remove the None entry.

Signed-off-by: Jim Foraker <foraker1@llnl.gov>
2019-11-06 13:01:25 -05:00
Tomas Kopecek
f15ee7772c PR#1760: fix typo in table column name
Merges #1760
https://pagure.io/koji/pull-request/1760

Fixes: #1759
https://pagure.io/koji/issue/1759
koji-sweep-db using misnamed build_reservations column
2019-11-06 12:42:11 -05:00
Tomas Kopecek
6d72bba3fd fix typo in table column name
Fixes: https://pagure.io/koji/issue/1759
2019-11-05 16:42:07 -05:00
Tomas Kopecek
f60940b19b PR#1753: Fix hub reporting of bogus ownership data
Merges #1753
https://pagure.io/koji/pull-request/1753
2019-11-05 09:00:23 -05:00
Jim Foraker
b1aaf531aa hub: Fix permissions in readPackageList()
The recent changes to kerberos principal handling broke proper reporting
of package ownership, due to an obvious typo.

Signed-off-by: Jim Foraker <foraker1@llnl.gov>
2019-11-04 15:05:23 -08:00
Tomas Kopecek
a24af06343 PR#1695: clean python compiled binaries for non *.py code
Merges #1695
https://pagure.io/koji/pull-request/1695

Fixes #1698
python code without .py can not be clean by `make clean`
https://pagure.io/koji/issue/1698
2019-10-31 13:20:57 +01:00
Yu Ming Zhu
135ac0d6ae clean python compiled binaries for non *.py code
fixes: #1698
2019-10-31 13:20:53 +01:00
Tomas Kopecek
353eefea1d PR#1733: allow tag or target permissions as appropriate (on master)
Merges #1733
https://pagure.io/koji/pull-request/1733

Fixes: #1729
https://pagure.io/koji/issue/1729
koji CLI still checks for admin permission instead of tag/target/host
2019-10-31 11:40:22 +01:00
Christopher O'Brien
52088adbb1 make tests work 2019-10-31 11:40:16 +01:00
Christopher O'Brien
0e3e9380e9 check for tag or target permission in addition to admin for relevant CLI calls 2019-10-31 11:40:16 +01:00
Tomas Kopecek
a03157d11a PR#1739: More default values in example kojihub.conf
Merges #1739
https://pagure.io/koji/pull-request/1739

Fixes: #1661
https://pagure.io/koji/issue/1661
Configure python's logging module in koji's config
2019-10-31 11:24:44 +01:00
Tomas Kopecek
1a2b10ae8e More default values in example kojihub.conf
Fixes: https://pagure.io/koji/issue/1661
2019-10-31 11:24:40 +01:00
Brendan Reilly
2e3641b1aa PR#1736: 1.19 release
Merges #1736
https://pagure.io/koji/pull-request/1736

Fixes: #1735
https://pagure.io/koji/issue/1735
Create release notes for 1.19
2019-10-30 14:50:10 -04:00
Brendan Reilly
4de3f6fa0f Updated changelog 2019-10-30 09:13:32 -04:00
Brendan Reilly
6a57c7db21 Updated migration doc 2019-10-30 09:12:24 -04:00
Brendan Reilly
fc566e4b31 1.19 release 2019-10-30 09:12:24 -04:00
Tomas Kopecek
beff0de500 PR#1720: backward-compatible db conversion
Merges #1720
https://pagure.io/koji/pull-request/1720

Fixes: #1718
https://pagure.io/koji/issue/1718
postgresql<= 9.4 doesn't support INSERT INTO ... ON  CONFLICT ... syntax
2019-10-30 10:52:50 +01:00
Tomas Kopecek
5bbdc5d539 backward-compatible db conversion
PG <= 9.4 doesn't support INSERT INTO ... ON CONFLICT ... syntax

Fixes: https://pagure.io/koji/issue/1718
2019-10-30 10:52:47 +01:00
Tomas Kopecek
b8c1ac4ea6 require python-qpid-proton on RHEL7 2019-10-23 13:10:41 +02:00
Tomas Kopecek
0befa5ce34 PR#1713: cli: fix typo in edit-user cmd
Merges #1713
https://pagure.io/koji/pull-request/1713

Fixes: #862
cli: fix typo in edit-user cmd
https://pagure.io/koji/pull-request/1713
2019-10-22 14:50:10 +02:00
Yu Ming Zhu
f66bb81a85 cli: fix typo in edit-user cmd
fixes: #862
2019-10-22 10:44:55 +00:00
Tomas Kopecek
87685df50e PR#1662: CGUninitBuild for cancelling CG reservations
Merges #1662
https://pagure.io/koji/pull-request/1662

Fixes: #1610
https://pagure.io/koji/issue/1610
[RFE] Cancel CG reservation
2019-10-16 10:03:51 +02:00
Tomas Kopecek
79a7da7c0b CGUninitBuild for cancelling CG reservations
Fixes: https://pagure.io/koji/issue/1610
2019-10-16 10:03:46 +02:00
Tomas Kopecek
29755ceac9 PR#1681: add all used permissions to db
Merges #1681
https://pagure.io/koji/pull-request/1681

Fixes: #1637
https://pagure.io/koji/issue/1637
dist-repo permission not added in schema update?
2019-10-16 10:02:55 +02:00
Tomas Kopecek
22dc480b18 add all used permissions to db
Fixes: https://pagure.io/koji/issue/1637
2019-10-16 10:01:43 +02:00
Tomas Kopecek
17a26ab27f PR#1702: fix log message to show package name
Merges #1702
https://pagure.io/koji/pull-request/1702

Fixes: #1693
https://pagure.io/koji/issue/1693
host.tagBuild returns incorrect error message for not listed package
2019-10-16 09:20:55 +02:00
Tomas Kopecek
86fc5cdbd3 fix log message to show package name
Fixes: https://pagure.io/koji/issue/1693
2019-10-16 09:20:51 +02:00
Tomas Kopecek
8b3d3ad234 PR#1682: mostly only mock exit code 10 ends in build.log
Merges #1682
https://pagure.io/koji/pull-request/1682

Fixes: #1679
https://pagure.io/koji/issue/1679
New mock exit codes not recognized
2019-10-16 09:08:48 +02:00
Tomas Kopecek
3f64a486a9 mostly only mock exit code 10 ends in build.log
Fixes: https://pagure.io/koji/issue/1679
2019-10-16 09:08:44 +02:00
Tomas Kopecek
004dda1654 PR#1694: doc: change user creating sql for kerberos auth
Merges #1694
https://pagure.io/koji/pull-request/1694

Related: #1629
support multiple realms by kerberos auth(both krbV and GSSAPI)
https://pagure.io/koji/issue/1629
2019-10-15 13:07:24 +02:00