Commit graph

5922 commits

Author SHA1 Message Date
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
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