Mike McLean
aaaabcc99c
PR#1714: use BulkInsertProcessor for hub mass inserts
...
Merges #1714
https://pagure.io/koji/pull-request/1714
Fixes : #1712
https://pagure.io/koji/issue/1712
[RFE] Use bulk inserts in hub
2019-11-19 12:01:19 -05:00
Mike McLean
1344062bdd
fix typo and extend unit test to cover where it occurred
2019-11-19 12:01:14 -05:00
Mike McLean
727de7d953
support batch operation in BulkInsertProcessor
2019-11-19 12:01:14 -05:00
Tomas Kopecek
116bf7adbc
rename set_record to add_record
2019-11-19 12:01:14 -05:00
Tomas Kopecek
6de0700ac8
use BulkInsertProcessor for hub mass inserts
...
Fixes: https://pagure.io/koji/issue/1712
2019-11-19 12:01:14 -05:00
Tomas Kopecek
a365c9ad54
PR#1797: hub: build for policy check should be build_id in host.tagBuild
...
Merges #1797
https://pagure.io/koji/pull-request/1797
Fixes : #1796
hub: host.tagBuild failed in 1.19
https://pagure.io/koji/issue/1796
2019-11-19 14:14:01 +01:00
Yu Ming Zhu
ac91dc857b
policy test: ImportedTest - accept dict as build
...
and invalid build will raise `koji.GenericError`
fixes : #1796
2019-11-19 14:13:57 +01:00
Tomas Kopecek
1d42e444c6
PR#1807: util: rename "dict" arg
...
Merges #1807
https://pagure.io/koji/pull-request/1807
Fixes : #1812
util: rename "dict" arg
https://pagure.io/koji/issue/1812
2019-11-19 12:37:16 +01:00
Ken Dreyer
ff93556f3e
util: rename "dict" arg
...
dict is a built-in Python type. Don't use it as a variable name.
2019-11-19 12:37:13 +01:00
Tomas Kopecek
de15f887b9
PR#1149: hub: new addArchiveType RPC
...
Merges #1149
https://pagure.io/koji/pull-request/1149
Fixes #1528
hub: new addArchiveType RPC
https://pagure.io/koji/issue/1528
2019-11-19 09:06:51 +01:00
Ken Dreyer
e800b1d5a6
hub: new addArchiveType RPC
...
Add a new hub method for inserting new archivetype records.
This closely matches addBType.
The purpose of this change is to make it easier to permit content
generators to import files with extensions that we have not defined in
the upstream packaged koji SQL file.
2019-11-19 09:06:47 +01:00
Tomas Kopecek
a0711397cc
PR#1798: rm old test code
...
Merges #1798
https://pagure.io/koji/pull-request/1798
Fixes : #1811
remove old test code
https://pagure.io/koji/issue/1811
2019-11-18 10:46:02 +01:00
Ken Dreyer
68bcc06427
rm old test code
...
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.
2019-11-18 10:45:57 +01:00
Tomas Kopecek
99f0da24ee
PR#1795: fix typos for GenericError
...
Merges #1795
https://pagure.io/koji/pull-request/1795
Related: #1772
Make rpm optional import
https://pagure.io/koji/issue/1772
2019-11-18 10:06:02 +01:00
Yu Ming Zhu
22951f7f9d
fix typos for GenericError
2019-11-18 10:05:59 +01:00
Tomas Kopecek
0852e20371
PR#1799: hub: document cg_import parameters
...
Merges #1799
https://pagure.io/koji/pull-request/1799
Fixes #1810
hub: document cg_import parameters
https://pagure.io/koji/issue/1810
2019-11-18 09:42:35 +01:00
Ken Dreyer
0589e5ca46
hub: document cg_import parameters
...
Document the parameters for the CGImport API call.
2019-11-18 09:42:30 +01:00
Tomas Kopecek
b9b53527a6
PR#1804: docs: MaxRequestsPerChild -> MaxConnectionsPerChild
...
Merges #1804
https://pagure.io/koji/pull-request/1804
2019-11-18 09:37:47 +01:00
Ken Dreyer
b7e8ad06c5
docs: MaxRequestsPerChild -> MaxConnectionsPerChild
...
As of httpd 2.4, this setting is named "MaxConnectionsPerChild".
2019-11-18 09:37:41 +01:00
Tomas Kopecek
d327d6b898
PR#1806: docs: explain "compile/builder1" user principal
...
Merges #1806
https://pagure.io/koji/pull-request/1806
2019-11-18 09:34:26 +01:00
Ken Dreyer
8e9698bd69
docs: explain "compile/builder1" user principal
...
Update the server howto doc to describe the "compile/*" Kerberos user
principal.
2019-11-18 09:34:21 +01:00
Tomas Kopecek
575318ffee
PR#1800: rpm: remove %defattr
...
Merges #1800
https://pagure.io/koji/pull-request/1800
Fixes : #1809
rpm: remove %defattr
https://pagure.io/koji/issue/1809
2019-11-18 09:33:01 +01:00
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