Commit graph

5934 commits

Author SHA1 Message Date
Tomas Kopecek
bdc2ca5f96 PR#2824: lib: is_conn_error catch more exceptions
Merges #2824
https://pagure.io/koji/pull-request/2824

Fixes: #2789
https://pagure.io/koji/issue/2789
is_conn_error fails to match BadStatusLine errors in some cases
2021-04-28 13:34:47 +02:00
Tomas Kopecek
6e3553459f lib: is_conn_error catch more exceptions
Related: https://pagure.io/koji/issue/2789
2021-04-28 13:34:40 +02:00
Tomas Kopecek
e44d9f6bd7 PR#2823: Add default task ID to prep_repo_init/done
Merges #2823
https://pagure.io/koji/pull-request/2823

Fixes: #888
https://pagure.io/koji/issue/888
RFE: record task id for repos
2021-04-28 13:33:27 +02:00
Jana Cupova
fa774f0a9b Add default task ID to prep_repo_init/done
Fixes: https://pagure.io/koji/issue/888
2021-04-28 13:33:22 +02:00
Tomas Kopecek
e10809c5b8 PR#2816: koji-gc: Allow specifying all CLI options in config
Merges #2816
https://pagure.io/koji/pull-request/2816

Fixes: #2814
https://pagure.io/koji/issue/2814
koji-gc: ignore_tags not possible to specify in the config
2021-04-28 13:09:30 +02:00
Igor Raits
4cbffb322d koji-gc: Allow specifying all CLI options in config
Fixes: https://pagure.io/koji/issue/2814
Signed-off-by: Igor Raits <igor.raits@gmail.com>
2021-04-28 13:09:23 +02:00
Tomas Kopecek
28eb8a81e1 PR#2817: koji-gc: Implement hastag policy for koji-gc
Merges #2817
https://pagure.io/koji/pull-request/2817

Fixes: #2813
https://pagure.io/koji/issue/2813
RFE: koji-gc: hastag policy
2021-04-28 12:41:27 +02:00
Igor Raits
e0d770d10a koji-gc: Implement hastag policy for koji-gc
Fixes: https://pagure.io/koji/issue/2813
Signed-off-by: Igor Raits <igor.raits@gmail.com>
2021-04-28 12:41:21 +02:00
Tomas Kopecek
880826b99e PR#2771: lib: use parse_task_params for taskLabel
Merges #2771
https://pagure.io/koji/pull-request/2771

Fixes: #2519
https://pagure.io/koji/issue/2519
taskLabel should use parse_task_params
2021-04-26 14:43:40 +02:00
Tomas Kopecek
c732f49ac8 fix tests 2021-04-26 14:43:20 +02:00
Tomas Kopecek
ef3e2cd04b lib: use parse_task_params for taskLabel
Fixes: https://pagure.io/koji/issue/2519
2021-04-26 14:43:20 +02:00
Tomas Kopecek
d566c8898b PR#2829: fix tests for changed helpstring
Merges #2829
https://pagure.io/koji/pull-request/2829

Relates: #2687
https://pagure.io/koji/issue/2687
cli: list-api can display help only for one method
2021-04-22 10:18:56 +02:00
Tomas Kopecek
edaefb865b fix tests for changed helpstring
Related: https://pagure.io/koji/issue/2687
2021-04-22 10:17:39 +02:00
Tomas Kopecek
9d559a6d49 PR#2688: cli: list-api method
Merges #2688
https://pagure.io/koji/pull-request/2688

Fixes: #2687
https://pagure.io/koji/issue/2687
cli: list-api can display help only for one method
2021-04-22 09:59:01 +02:00
Tomas Kopecek
897b7fe81a more informative test string 2021-04-22 09:58:08 +02:00
Tomas Kopecek
fdf64d0a8d cli: list-api method
Limit output to given method

Fixes: https://pagure.io/koji/issue/2687
2021-04-22 09:58:08 +02:00
Tomas Kopecek
4fcb9815fa fix flake8 2021-04-19 15:18:19 +02:00
Tomas Kopecek
0414ff7dc5 PR#2791: with_owners options for readPackageList and readTaggedBuilds
Merges #2791
https://pagure.io/koji/pull-request/2791

Fixes: #2780
https://pagure.io/koji/issue/2780
avoid needless package owner joins
2021-04-19 15:16:00 +02:00
Tomas Kopecek
0f3b231bc2 backward compatibility for CLI 2021-04-19 15:15:53 +02:00
Tomas Kopecek
3fed02c8ad cleanup removed options 2021-04-19 15:15:53 +02:00
Tomas Kopecek
02ea2901e2 remove with_owners from readTaggedBuilds 2021-04-19 15:15:53 +02:00
Tomas Kopecek
89b00d4e77 updated API docs 2021-04-19 15:15:53 +02:00
Tomas Kopecek
91aa557391 use listTagged with_owner=False 2021-04-19 15:15:53 +02:00
Tomas Kopecek
fc42bb7e71 x 2021-04-19 15:15:53 +02:00
Tomas Kopecek
1e1f25c474 readTaggedBuilds with_owners option 2021-04-19 15:15:53 +02:00
Tomas Kopecek
6730c46ce0 update API docs 2021-04-19 15:15:53 +02:00
Tomas Kopecek
a643ab7236 fix tests for new option 2021-04-19 15:15:53 +02:00
Tomas Kopecek
0b9437c723 use with_owners=False 2021-04-19 15:15:53 +02:00
Tomas Kopecek
66175ccfd8 hub: add with_owners option to readPackageList
Related: https://pagure.io/koji/issue/2780
2021-04-19 15:15:53 +02:00
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