Tomas Kopecek
8ab198110b
PR#2802: Repo info with task id
...
Merges #2802
https://pagure.io/koji/pull-request/2802
Fixes : #888
https://pagure.io/koji/issue/888
RFE: record task id for repos
2021-04-19 15:15:17 +02:00
Jana Cupova
6a2c6e7586
Repo info with task id
...
Fixes: https://pagure.io/koji/issue/888
2021-04-19 15:15:10 +02:00
Tomas Kopecek
1066f8f1ad
PR#2803: unify warn messages
...
Merges #2803
https://pagure.io/koji/pull-request/2803
Fixes : #2795
https://pagure.io/koji/issue/2795
CLI: unify warning messages to stderr
2021-04-19 15:14:35 +02:00
Jana Cupova
508b7aa8cd
unify warn messages
...
Fixes: https://pagure.io/koji/issue/2795
2021-04-19 15:14:28 +02:00
Tomas Kopecek
29d5ee7e8c
PR#2808: cli: multicalls for write-signed-rpm
...
Merges #2808
https://pagure.io/koji/pull-request/2808
Fixes : #2807
https://pagure.io/koji/issue/2807
write-signed-rpms can benefit from multicalls
2021-04-19 15:12:30 +02:00
Tomas Kopecek
855bc89ca3
cli: multicalls for write-signed-rpm
...
Fixes: https://pagure.io/koji/issue/2807
2021-04-19 15:12:22 +02:00
Tomas Kopecek
b206d9e77e
PR#2796: api: getVolume with strict
...
Merges #2796
https://pagure.io/koji/pull-request/2796
Fixes : #1592
https://pagure.io/koji/issue/1592
API getVolume should has strict option
2021-04-19 15:11:48 +02:00
Jana Cupova
3d33e2e628
api: getVolume with strict
...
Fixes: https://pagure.io/koji/issue/1592
2021-04-19 15:11:41 +02:00
Tomas Kopecek
7665ea839e
PR#2792: cli: mock-config check arch
...
Merges #2792
https://pagure.io/koji/pull-request/2792
Fixes : #2640
https://pagure.io/koji/issue/2640
CLI mock-config does not returns error for non-existing arch
2021-04-19 15:11:09 +02:00
Jana Cupova
0c6f43a9a8
cli: mock-config check arch
...
Fixes: https://pagure.io/koji/issue/2640
2021-04-19 15:11:03 +02:00
Tomas Kopecek
56ee7eacc6
PR#2790: cli: list-builds sort-key warning
...
Merges #2790
https://pagure.io/koji/pull-request/2790
Fixes : #2588
https://pagure.io/koji/issue/2588
CLI list-builds --help should informs user about basic sort-keys
Fixes : #2587
https://pagure.io/koji/issue/2587
CLI list-builds accepts non-existing field as a --sort-key value
2021-04-19 15:10:31 +02:00
Jana Cupova
8b1fbc45be
cli: list-builds sort-key warning
...
Fixes: https://pagure.io/koji/issue/2587
Fixes: https://pagure.io/koji/issue/2588
2021-04-19 15:10:24 +02:00
Tomas Kopecek
8d13743e1b
PR#2756: Show VCS and DistURL tags as links when appropriate
...
Merges #2756
https://pagure.io/koji/pull-request/2756
Fixes : #2748
https://pagure.io/koji/issue/2748
VCS and DistURL could be displayed as links
2021-04-19 15:09:43 +02:00
Alex Iribarren
94df7a1f74
Make flake8 happy
2021-04-19 15:09:36 +02:00
Alex Iribarren
41d5414245
Don't encode already encoded entities
2021-04-19 15:09:36 +02:00
Alex Iribarren
1c7f83acf6
Escape single and double quotes as well, plus add test
2021-04-19 15:09:36 +02:00
Alex Iribarren
a233a0ca72
Show VCS and DistURL tags as links when appropriate
2021-04-19 15:09:36 +02:00
Tomas Kopecek
e9cf974ab9
PR#2819: lib: more portable BadStatusLine checking
...
Merges #2819
https://pagure.io/koji/pull-request/2819
Fixes : #2789
https://pagure.io/koji/issue/2789
is_conn_error fails to match BadStatusLine errors in some cases
2021-04-14 08:59:41 +02:00
Tomas Kopecek
290e1ddf31
lib: more portable BadStatusLine checking
...
Fixes: https://pagure.io/koji/issue/2789
2021-04-13 13:26:10 +02:00
Tomas Kopecek
898d0e5de9
PR#2818: hub: Fix typo in postRepoInit callback from distRepo
...
Merges #2818
https://pagure.io/koji/pull-request/2818
2021-04-13 10:06:29 +02:00
Igor Raits
1a2d68223a
hub: Fix typo in postRepoInit callback from distRepo
...
Signed-off-by: Igor Raits <igor.raits@gmail.com>
2021-04-13 09:59:11 +02:00
Tomas Kopecek
cac56b5014
fix flake8
2021-04-12 15:11:22 +02:00
Tomas Kopecek
68bf8c6179
PR#2779: 1.24.1 release notes
...
Merges #2779
https://pagure.io/koji/pull-request/2779
Fixes : #2778
https://pagure.io/koji/issue/2778
koji 1.24.1 release notes
2021-04-12 13:25:13 +02:00
Tomas Kopecek
7d49052d7f
PR#2810: cli: fix multicall usage in list_hosts
...
Merges #2810
https://pagure.io/koji/pull-request/2810
Fixes : #2497
https://pagure.io/koji/issue/2497
getLastHostUpdate returns time only as a string
2021-04-08 14:23:46 +02:00
Tomas Kopecek
5006625f06
cli: fix multicall usage in list_hosts
...
Related: https://pagure.io/koji/issue/2497
2021-04-08 14:22:37 +02:00
Tomas Kopecek
ed262fa248
PR#2798: Fix list-hosts and hostinfo for older hub
...
Merges #2798
https://pagure.io/koji/pull-request/2798
Fixes : #2497
https://pagure.io/koji/issue/2497
getLastHostUpdate returns time only as a string
2021-04-08 14:12:25 +02:00
Jana Cupova
42546751be
Fix list-hosts and hostinfo for older hub
...
Fixes: https://pagure.io/koji/issue/2497
2021-04-08 12:05:39 +02:00
Tomas Kopecek
62f52412f5
PR#2773: unify error messages for web
...
Merges #2773
https://pagure.io/koji/pull-request/2773
Fixes : #2720
https://pagure.io/koji/issue/2720
Unify error messages
2021-04-07 10:49:10 +02:00
Jana Cupova
f4bc5ef3a3
unify error messages for web
...
Fixes: https://pagure.io/koji/issue/2720
2021-04-07 10:49:03 +02:00
Tomas Kopecek
482ea1eda8
PR#2799: kojid.conf: fix linewrapped comment
...
Merges #2799
https://pagure.io/koji/pull-request/2799
Fixes : #2800
https://pagure.io/koji/issue/2800
kojid.conf: fix linewrapped comment
2021-04-06 13:38:13 +02:00
Kevin Fenzi
1fcde3464f
kojid.conf: fix linewrapped comment
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-03 17:37:45 -07:00
Mike McLean
5a59490e41
grammar tweaks
2021-04-01 10:43:40 +02:00
Tomas Kopecek
f3349d696f
PR#2794: lib: set sinfo=None for failed ssl_login
...
Merges #2794
https://pagure.io/koji/pull-request/2794
Fixes : #2793
https://pagure.io/koji/issue/2793
ssl login can traceback on missing sinfo
2021-03-31 13:54:13 +02:00
Tomas Kopecek
a7c769fd41
lib: set sinfo=None for failed ssl_login
...
Fixes: https://pagure.io/koji/issue/2793
2021-03-31 13:54:08 +02:00
Tomas Kopecek
eb644e7e4c
PR#2689: lib: missing default values in read_config
...
Merges #2689
https://pagure.io/koji/pull-request/2689
Fixes : #2668
https://pagure.io/koji/issue/2668
TypeError in _callMethod()'s max_tries conditional
2021-03-31 13:51:39 +02:00
Tomas Kopecek
32929a7916
lib: missing default values in read_config
...
e.g. self.opts.get('max_retries', 30) will return wrong value if there
is None as a default value.
Fixes: https://pagure.io/koji/issue/2668
2021-03-31 13:51:34 +02:00
Tomas Kopecek
d8c46e85e8
PR#2784: Tolerate floats in metadata timestamps
...
Merges #2784
https://pagure.io/koji/pull-request/2784
Fixes : #2783
https://pagure.io/koji/issue/2783
Kojira failing with non-int timestamps in repomd.xml
2021-03-30 14:49:28 +02:00
Alex Iribarren
2b83d458c6
Tolerate floats in metadata timestamps
2021-03-30 14:49:22 +02:00
Tomas Kopecek
be225d7e3f
1.24.1 release notes
...
Fixes: https://pagure.io/koji/issue/2778
2021-03-29 13:30:24 +02:00
Tomas Kopecek
0d3a3304e9
PR#2787: Revert "requests exception"
...
Merges #2787
https://pagure.io/koji/pull-request/2787
Fixes : #2786
https://pagure.io/koji/issue/2786
ClientSession fails to retry on RequestException
2021-03-29 11:27:27 +02:00
Mike McLean
c71ebec58a
Revert "requests exception"
...
This reverts commit ff8c13969e .
Fixes https://pagure.io/koji/issue/2786
2021-03-29 11:27:22 +02:00
Tomas Kopecek
fa1e3f833d
PR#2770: cli: buildinfo returns error for non exist build
...
Merges #2770
https://pagure.io/koji/pull-request/2770
Fixes : #2762
https://pagure.io/koji/issue/2762
CLI buildinfo returns code 0 for non existing build
2021-03-29 11:24:33 +02:00
Jana Cupova
b9f261d8de
cli: buildinfo returns error for non exist build
...
Fixes: https://pagure.io/koji/issue/2762
2021-03-29 11:24:26 +02:00
Tomas Kopecek
f7a6338483
PR#2766: api getLastHostUpdate returns timestamp
...
Merges #2766
https://pagure.io/koji/pull-request/2766
Fixes : #2497
https://pagure.io/koji/issue/2497
getLastHostUpdate returns time only as a string
2021-03-29 11:23:12 +02:00
Jana Cupova
9dc0efd476
api getLastHostUpdate returns timestamp
...
fixes: https://pagure.io/koji/issue/2497
2021-03-29 11:23:06 +02:00
Tomas Kopecek
217704fd67
PR#2735: lib: more verbose conn AuthError for ssl/gssapi
...
Merges #2735
https://pagure.io/koji/pull-request/2735
Fixes : #2502
https://pagure.io/koji/issue/2502
client: better error handling in gssapi_login()
2021-03-29 11:22:12 +02:00
Tomas Kopecek
3321abbf88
lib: more verbose conn AuthError for ssl/gssapi
...
Fixes: https://pagure.io/koji/issue/2502
2021-03-29 11:22:06 +02:00
Tomas Kopecek
5c40091b70
PR#2782: Be tolerant with duplicate parents in _writeInheritanceData
...
Merges #2782
https://pagure.io/koji/pull-request/2782
Fixes : #2614
https://pagure.io/koji/issue/2614
CLI add-tag-inheritance --force returns error
Relates: #1435
https://pagure.io/koji/issue/1435
changes for writeInheritanceData should not contain duplicated parent_id
2021-03-29 11:19:46 +02:00
Yuming Zhu
8845b9eba1
Be tolerant with duplicate parents in _writeInheritanceData
...
Now setInheritanceData API supports duplicate parents in data again.
And we choose to clean the other fields from "delete link" items, so that the ineffective update after deletion which was reported in #1435 .
fixes : #2614
relates: #1434
relates: #1435
2021-03-29 11:19:40 +02:00
Tomas Kopecek
8b53dc74e3
PR#2615: cli: catch koji.ParameterError in list_task_output_all_volumes
...
Merges #2615
https://pagure.io/koji/pull-request/2615
Fixes #2686
https://pagure.io/koji/issue/2686
2021-03-25 14:00:04 +01:00