Commit graph

4610 commits

Author SHA1 Message Date
Ken Dreyer
ee1d0a6c64 rpm: remove %defattr
RHEL 5 and later do not require %defattr.
2019-11-18 09:32:57 +01:00
Tomas Kopecek
bb75433dcd PR#1805: docs: recommend 2048 bit keys
Merges #1805
https://pagure.io/koji/pull-request/1805
2019-11-18 09:28:49 +01:00
Ken Dreyer
9f3f0ce463 docs: recommend 2048 bit keys
The US NIST recommends 2048-bit keys for RSA.
2019-11-18 09:28:46 +01:00
Tomas Kopecek
10d599754e PR#1801: docs: fix indent for reloading postgres settings
Merges #1801
https://pagure.io/koji/pull-request/1801
2019-11-18 09:27:33 +01:00
Ken Dreyer
4f2d52c2f6 docs: fix indent for reloading postgres settings
Dedent the description of reloading postgres, so it's clearer that this
must be done after all the modifications to pg_hba.conf.
2019-11-18 09:27:28 +01:00
Tomas Kopecek
f19321bd9c PR#1802: docs: simplify admin bootstrapping intro
Merges #1802
https://pagure.io/koji/pull-request/1802
2019-11-18 09:25:22 +01:00
Ken Dreyer
f53ea2c607 docs: simplify admin bootstrapping intro
Use the active voice when describing how to bootstrap the initial admin
user, and remove some complicated language so this is simpler to read
and understand.
2019-11-18 09:25:18 +01:00
Tomas Kopecek
7ea3a73073 PR#1803: docs: fix rST syntax for DB listening section
Merges #1803
https://pagure.io/koji/pull-request/1803
2019-11-18 09:23:27 +01:00
Tomas Kopecek
312c160afc fix indenting 2019-11-18 09:23:02 +01:00
Ken Dreyer
c75f8ef416 docs: fix rST syntax for DB listening section
Clean up some rST syntax issues in the section about altering the
postgres listen_address.
2019-11-15 10:44:06 -07:00
Tomas Kopecek
e3eb6dc7ff PR#1551: cluster health info page
Merges #1551
https://pagure.io/koji/pull-request/1551

Fixes: #1550
https://pagure.io/koji/issue/1550
[RFE] Cluster health info page
2019-11-14 09:58:14 +01:00
Tomas Kopecek
59d196c51e cluster health info page
Fixes: https://pagure.io/koji/issue/1550
2019-11-14 09:58:10 +01:00
Tomas Kopecek
d097af40f9 PR#1525: include profile name in parsed config options
Merges #1525
https://pagure.io/koji/pull-request/1525

Fixes: #1522
https://pagure.io/koji/issue/1522
example profile script fails with AttributeError
2019-11-14 09:57:21 +01:00
Tomas Kopecek
ed4bd28b78 include profile name in prased config options
Fixes: https://pagure.io/koji/issue/1522
2019-11-14 09:54:21 +01:00
Tomas Kopecek
e0ec48845c PR#1773: make rpm import optional in koji/__init__.py
Merges #1773
https://pagure.io/koji/pull-request/1773

Fixes: #1772
https://pagure.io/koji/issue/1772
Make rpm optional import
2019-11-12 10:03:10 +01:00
Tomas Kopecek
e11ad814af make rpm import optional in koji/__init__.py
Fixes: https://pagure.io/koji/issue/1772
2019-11-12 10:03:06 +01:00
Mike McLean
c1464236c5 PR#1767: check ConfigParser object rather than config path list
Merges #1767
https://pagure.io/koji/pull-request/1767

Fixes: #1763
https://pagure.io/koji/issue/1763
test_profiles failed after config reading refactoring
2019-11-08 15:15:38 -05:00
Yu Ming Zhu
31a2670575 check ConfigParser object rather than config path list
fixes: #1763
2019-11-08 15:15:33 -05:00
Brendan Reilly
eca76d58ed PR#1782: 1.19.1 release
Merges #1782
https://pagure.io/koji/pull-request/1782

Fixes: #1783
https://pagure.io/koji/issue/1783
Create release notes for 1.19.1
2019-11-08 14:25:28 -05:00
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