Tomas Kopecek
fbfeff5df7
PR#1916: replace xmlrpc_client exception with requests
...
Merges #1916
https://pagure.io/koji/pull-request/1916
Fixes : #1914
https://pagure.io/koji/issue/1914
kojid doesn't fail correctly during the startup problems
2020-02-21 12:40:47 +01:00
Tomas Kopecek
638f6cc6f2
replace xmlrpc_client exception with requests
...
It is broken in startup function for kojid and kojivmd from the
introduction of requests.
Fixes: https://pagure.io/koji/issue/1914
2020-02-21 12:40:42 +01:00
Tomas Kopecek
c30c4a48fd
PR#751: xmlrpcplus: use parent Marshaller's implementations where possible
...
Merges #751
https://pagure.io/koji/pull-request/751
Fixes: https://pagure.io/koji/issue/1538
2020-02-21 09:44:52 +01:00
Ken Dreyer
81d685b07d
xmlrpcplus: use parent Marshaller's nil implementation
...
We can enable the None -> "nil" behavior when we instantiate our
Marshaller. RHEL 5 and newer supports allow_none here.
This allows us to drop the dump_nil code from our custom Marshaller and
rely directly on the parent class's method instead.
2020-02-21 09:44:46 +01:00
Ken Dreyer
aa35b84c8c
xmlrpcplus: use parent's int marshalling if possible
...
If we have an int value between xmlrpc.MININT and xmlrpc.MAXINT, we can
rely on stdlib's xmlrpc.Marshaller. This allows us to drop this custom
code.
2020-02-21 09:44:46 +01:00
Tomas Kopecek
41d9a61088
PR#2004: obsolete external sidetag plugin
...
Merges #2004
https://pagure.io/koji/pull-request/2004
Fixes : #2003
https://pagure.io/koji/issue/2003
Original sidetags plugin is not correctly obsoleted in spec
2020-02-19 14:17:26 +01:00
Tomas Kopecek
3462b35361
obsolete external sidetag plugin
...
Fixes: https://pagure.io/koji/issue/2003
2020-02-19 14:17:18 +01:00
Tomas Kopecek
98a86c87be
PR#1992: deprecation of krb_login
...
Merges #1992
https://pagure.io/koji/pull-request/1992
Fixes : #1906
https://pagure.io/koji/issue/1906
Deprecate/drop non-gssapi code
2020-02-19 14:15:25 +01:00
Tomas Kopecek
72b4c0c3e2
deprecation of krb_login
...
Fixes: https://pagure.io/koji/issue/1906
2020-02-19 14:15:17 +01:00
Tomas Kopecek
fa55182571
PR#2020: move needed functions
...
Merges #2020
https://pagure.io/koji/pull-request/2020
Fixes : #1484
https://pagure.io/koji/issue/1484
Handle malformed tasks gracefully
2020-02-18 13:38:11 +01:00
Tomas Kopecek
0a9712b28f
move needed functions
...
Related: https://pagure.io/koji/issue/1484
2020-02-18 13:38:04 +01:00
Tomas Kopecek
73df118b03
PR#1958: fix potentially undeclared variable error
...
Merges #1958
https://pagure.io/koji/pull-request/1958
Fixes : #1957
https://pagure.io/koji/issue/1957
unreferenced variable
2020-02-18 11:54:15 +01:00
Tomas Kopecek
d6f2db6325
fix potentially undeclared variable error
...
Fixes: https://pagure.io/koji/issue/1957
2020-02-18 11:54:11 +01:00
Tomas Kopecek
7158c85241
announce utf-8 coding
2020-02-18 11:20:51 +01:00
Tomas Kopecek
b6ea023c4f
PR#2001: remove usage of deprecated cgi.escape function
...
Merges #2001
https://pagure.io/koji/pull-request/2001
Fixes : #1887
https://pagure.io/koji/issue/1887
py 3.8 drops cgi.escape
2020-02-13 14:44:56 +01:00
Tomas Kopecek
96d3cff5f2
remove usage of deprecated cgi.escape function
...
Fixes: https://pagure.io/koji/issue/1887
2020-02-13 14:44:50 +01:00
Tomas Kopecek
76caa2efa5
PR#1333: file locking for koji-gc
...
Merges #1333
https://pagure.io/koji/pull-request/1333
Fixes : #1332
https://pagure.io/koji/issue/1332
koji-gc could benefit from lock-file
2020-02-12 14:41:36 +01:00
Tomas Kopecek
d670fcf1ec
more detailed help message
2020-02-12 14:41:31 +01:00
Tomas Kopecek
610ecdd199
default value for --lock-file option
2020-02-12 14:41:31 +01:00
Tomas Kopecek
608441aa5f
add file-locking to koji-gc
...
Fixes: https://pagure.io/koji/issue/1332
2020-02-12 14:41:31 +01:00
Tomas Kopecek
5b232b2f83
PR#692: Add smtp authentication support
...
Merges #692
https://pagure.io/koji/pull-request/692
Fixes: https://pagure.io/koji/issue/1540
2020-02-12 14:39:32 +01:00
Atanas Zhelev
1ad35ce521
Add smtp authentication support to koji-gc
2020-02-12 14:39:00 +01:00
Atanas Zhelev
b4b88206fe
Add smtp authentication support
2020-02-12 14:38:18 +01:00
Tomas Kopecek
c3cfe3833a
PR#1956: Merge sidetag plugin
...
Merges #1956
https://pagure.io/koji/pull-request/1956
Fixes : #1955
https://pagure.io/koji/issue/1955
Integrate sidetag plugin
2020-02-12 13:16:33 +01:00
Tomas Kopecek
b445a6f614
remove unused imports
2020-02-12 13:16:28 +01:00
Tomas Kopecek
b485dfeb55
fix basetag argument
2020-02-12 13:16:28 +01:00
Tomas Kopecek
b9e0597ccd
Merge sidetag plugin
...
Originally living in https://pagure.io/sidetag-koji-plugin
Fixes: https://pagure.io/koji/issue/1955
2020-02-12 13:16:28 +01:00
Tomas Kopecek
8502d4d4ce
PR#1465: unittest fix: tests/test_cli/test_list_tagged.py
...
Merges #1465
https://pagure.io/koji/pull-request/1465
Fixes: https://pagure.io/koji/issue/1902
2020-02-12 12:34:08 +01:00
Yu Ming Zhu
ecebcba90f
unittest fix: tests/test_cli/test_list_tagged.py
2020-02-12 12:34:03 +01:00
Tomas Kopecek
5f01cf0f44
PR#478: Add _taskLabel entry for indirectionimage
...
Merges #478
https://pagure.io/koji/pull-request/478
Fixes: https://pagure.io/koji/issue/1541
2020-02-12 10:54:45 +01:00
Jon Schlueter
779a8bae08
Add _taskLabel entry for indirectionimage
...
v2: cleanup whitespace and drop extra line from debugging
2020-02-12 10:54:38 +01:00
Tomas Kopecek
b884141891
PR#2000: hub: improve listBTypes() API documentation
...
Merges #2000
https://pagure.io/koji/pull-request/2000
2020-02-12 10:44:56 +01:00
Ken Dreyer
c118468628
hub: improve listBTypes() API documentation
...
Reformat this text to match Sphinx's conventions. This makes it easier
for developers to read this documentation.
2020-02-12 10:44:51 +01:00
Tomas Kopecek
6aa1b3e818
PR#1993: Always use stream=True when iterating over a request
...
Merges #1993
https://pagure.io/koji/pull-request/1993
Fixes: https://pagure.io/koji/issue/1996
2020-02-12 10:42:18 +01:00
Miro Hrončok
388bb070f1
Always use stream=True when iterating over a request
...
Fixes https://pagure.io/releng/issue/9226
2020-02-12 10:42:12 +01:00
Tomas Kopecek
5ad52611c1
PR#1058: Add 'target' policy
...
Merges #1058
https://pagure.io/koji/pull-request/1058
Fixes : #1040
https://pagure.io/koji/issue/1040
rfe: target policy test
2020-02-11 14:30:32 +01:00
Tomas Kopecek
f9190657d9
Add 'target' policy
...
Fixes: https://pagure.io/koji/issue/1040
2020-02-11 14:30:25 +01:00
Tomas Kopecek
422f9db76c
PR#1960: user proper type for buildroot state comparison
...
Merges #1960
https://pagure.io/koji/pull-request/1960
Fixes : #1959
https://pagure.io/koji/issue/1959
setState fails on integer buildroot state
2020-02-11 10:48:20 +01:00
Tomas Kopecek
8165f17f16
user proper type for buildroot state comparison
...
Fixes: https://pagure.io/koji/issue/1959
2020-02-11 10:48:10 +01:00
Tomas Kopecek
9d25189ba6
PR#1962: improve sql speed in build_references
...
Merges #1962
https://pagure.io/koji/pull-request/1962
Fixes : #1961
https://pagure.io/koji/issue/1961
SQL effectivity for build_references
2020-02-10 16:29:13 +01:00
Tomas Kopecek
3c6fb59814
improve sql speed in build_references
...
Fixes: https://pagure.io/koji/issue/1961
2020-02-10 16:29:05 +01:00
Tomas Kopecek
cb8d096e2d
PR#938: Deprecating list-tag-history and tagHistory
...
Merges #938
https://pagure.io/koji/pull-request/938
Fixes: https://pagure.io/koji/issue/1531
2020-02-10 15:52:04 +01:00
Brendan Reilly
74e085572e
Deprecating list-tag-history and tagHistory
2020-02-10 15:50:30 +01:00
Tomas Kopecek
8f454e2390
PR#1488: Display params also for malformed tasks in webui
...
Merges #1488
https://pagure.io/koji/pull-request/1488
Fixes : #1484
https://pagure.io/koji/issue/1484
Handle malformed tasks gracefully
2020-02-10 15:47:39 +01:00
Tomas Kopecek
08baa31a8b
fix rebase
2020-02-10 15:46:18 +01:00
Tomas Kopecek
f434933370
Display params also for malformed tasks in webui
...
Previously web ui failed in displaying tasks with unexpected parameters,
display them now in raw variant with warning message.
Fixes: https://pagure.io/koji/issue/1484
2020-02-10 15:45:30 +01:00
Tomas Kopecek
f84b3d9af7
PR#1967: don't use full listTags in list-groups call
...
Merges #1967
https://pagure.io/koji/pull-request/1967
Fixes : #1954
https://pagure.io/koji/issue/1954
list-groups is slow due to listTags call
2020-02-10 15:35:54 +01:00
Tomas Kopecek
4edb9b15c2
don't user full listTags in list-groups call
...
Fixes: https://pagure.io/koji/issue/1954
2020-02-10 15:35:48 +01:00
Tomas Kopecek
d103176de3
PR#1982: ensure that all keys in distrepo are lowered
...
Merges #1982
https://pagure.io/koji/pull-request/1982
Fixes : #1978
https://pagure.io/koji/issue/1978
koji dist-repo key id is case sensitive
2020-02-10 15:31:36 +01:00
Tomas Kopecek
e2edc37153
ensure that all keys in distrepo are lowered
...
Fixes: https://pagure.io/koji/issue/1978
2020-02-10 15:31:30 +01:00