Commit graph

871 commits

Author SHA1 Message Date
Jana Cupova
027cca702d Unify behavior when result is empty in get_maven/image/win/build
Fixes: https://pagure.io/koji/issue/3753
2023-04-03 15:28:22 +02:00
Jana Cupova
9a6daef300 Fix backward compatibility
Fixes: https://pagure.io/koji/issue/3715
2023-04-03 15:25:20 +02:00
Jana Cupova
2139b237d0 ArgumentParser instead of ArgumentParser in sidetag CLI plugin
Fixes: https://pagure.io/koji/issue/3739
2023-04-03 15:23:21 +02:00
Jana Cupova
de192e10f1 Add repoID in listBuildroots and create repoinfo command
Add repoID param in listBuildroots and show result in repoInfo
Create new command repoinfo which provides equivalent info as repoInfo
Add number of buildroots related to repo in repoinfo page

Fixes: https://pagure.io/koji/issue/2549
2023-04-03 15:20:18 +02:00
Jana Cupova
bbd841c0d4 Increase hub unit tests 03-02 2023-03-29 13:49:32 +02:00
Jana Cupova
889770e74c Fix editSidetag fstring variable formats and fix test unit tests
Fixes: https://pagure.io/koji/issue/3748
2023-03-24 11:40:44 +01:00
Jana Cupova
c8bcb496d4 Increate sidetag hub unit tests 2023-03-23 14:01:41 +01:00
Jana Cupova
fe0bf6dc86 Fix pkglist_add when extra_arches is None
Fixes: https://pagure.io/koji/issue/3744
2023-03-23 13:23:42 +01:00
Jana Cupova
175c618e5b CLI list-untagged: One space only instead of double space before references
Fixes: https://pagure.io/koji/issue/3730
2023-03-23 13:21:38 +01:00
Mike McLean
54996d9e63 fix unit test 2023-03-23 13:20:06 +01:00
Mike McLean
106ccbcde5 single opt for get, plus simple unit test 2023-03-23 13:20:06 +01:00
Jana Cupova
3e09338db7 Increase CLI uni tests 2023-03-21 12:22:02 +01:00
Jana Cupova
886e8856b6 Fix timezone in clone-tag test case
Fixes: https://pagure.io/koji/issue/3733
2023-03-15 12:48:55 +01:00
Mike McLean
aebff00673 unit test: more closely mimic rpm2cpio behavior when reading past header 2023-03-14 11:08:16 +01:00
Mike McLean
accdeb3c63 unit test: close fd 2023-03-14 11:08:16 +01:00
Mike McLean
85ea7bd736 unit test 2023-03-14 11:08:16 +01:00
Tomas Kopecek
9799a193c9 fix tests
Related: https://pagure.io/koji/issue/3711
2023-03-07 12:50:10 +01:00
Jana Cupova
334bc39375 CLI: cancel error msg
cancel returns error msg when build is not existing
cancel returns error mgs for all not existing tasks/builds

Fixes: https://pagure.io/koji/issue/3715
2023-03-06 14:24:53 +01:00
Jana Cupova
378ea8ef2f Delete double check existing source tag, --batch option is unvisible
Fixes: https://pagure.io/koji/issue/3705
2023-03-06 14:23:00 +01:00
Jana Cupova
693f196fa4 Add missing argument in edit-sidetag help msg
Fixes: https://pagure.io/koji/issue/3717
2023-03-02 16:07:04 +01:00
Tomas Kopecek
7ceffe391c unify relative imports 2023-03-01 11:46:24 +01:00
Tomas Kopecek
b0e91e378c Move db/auth to kojihub module
Related: https://pagure.io/koji/issue/3666
2023-03-01 11:46:24 +01:00
Tomas Kopecek
90eb4138e2 fix test 2023-02-14 16:23:37 +01:00
Jana Cupova
d4c5d95968 Move class out of function and create to_hexdigest function 2023-02-06 13:17:33 +01:00
Mike McLean
24cf0a6a4c simple unit tests for splicing code 2023-02-06 13:17:33 +01:00
Jana Cupova
a79375789d Rewrite generator to IOStream 2023-02-06 13:17:33 +01:00
Jana Cupova
35b3e51fcc Use strict for rpm without signed copies or checksums + small review fixes 2023-02-06 13:17:33 +01:00
Jana Cupova
21a4cc4d70 Fix review 2023-02-06 13:17:33 +01:00
Jana Cupova
9bf31de75f Add checksum API
Fixes: https://pagure.io/koji/issue/3627
2023-02-06 13:17:33 +01:00
Tomas Kopecek
c51802f2ea use_fast_upload=True as default everywhere
Related: https://pagure.io/koji/issue/3529
2023-02-03 09:28:40 +01:00
Tomas Kopecek
c1cc63e25b fix tests 2023-02-01 15:01:15 +01:00
Jana Cupova
a1940470cf Fix unit tests 2023-02-01 15:01:15 +01:00
Jana Cupova
0e07429d66 Create new session when old session was timeout
Fixes: https://pagure.io/koji/issue/3394
2023-02-01 15:01:15 +01:00
Jana Cupova
f3a25af238 Reset build processor values with specific value only
Fixes: https://pagure.io/koji/issue/3667
2023-01-25 11:17:23 +01:00
Tomas Kopecek
5c1718337c fix tests 2023-01-23 11:46:15 +01:00
Jana Cupova
07332041eb Fix auth unit tests 2023-01-20 09:47:44 +01:00
Jana Cupova
7515ee93a7 Next rewrite Select/Update queries
Fixes: https://pagure.io/koji/issue/3633
2023-01-09 11:05:17 +01:00
Jana Cupova
fd9239cba0 Add test cases for help
Fixes: https://pagure.io/koji/issue/3651
2023-01-09 11:02:30 +01:00
Jana Cupova
36a071edb3 Fix typo in CLI add-tag-inheritance error msg
Fixes: https://pagure.io/koji/issue/3640
2023-01-03 13:53:59 +01:00
Tomas Kopecek
965153c7e9 basic tests for kojixmlrpc 2022-12-08 13:42:02 +01:00
Tomas Kopecek
e6e618d0bb fix tests 2022-12-08 13:37:32 +01:00
Tomas Kopecek
556dddc9d0 wip 2022-12-08 10:04:31 +01:00
Tomas Kopecek
4916b368a5 wip 2022-12-08 09:58:14 +01:00
Tomas Kopecek
06350fa230 wip 2022-12-08 09:58:12 +01:00
Jana Cupova
fa7319c3b1 Fix fields type and dict of query.execute 2022-12-08 09:22:17 +01:00
Jana Cupova
a8dd469091 Replace _multiRow, _singleRow, _singleValue with QP
Fixes: https://pagure.io/koji/issue/3581
2022-12-08 09:22:17 +01:00
Jana Cupova
78dee69de4 Create DeleteProcessor class and use it
Fixes: https://pagure.io/koji/issue/3580
2022-12-08 09:18:55 +01:00
Tomas Kopecek
4c55498849 kojihash test 2022-12-05 13:32:26 +01:00
Tomas Kopecek
4c4f2c0496 fix tests 2022-11-10 11:07:03 +01:00
Jana Cupova
7897628159 Add active sessions web page
Fixes: https://pagure.io/koji/issue/3396
2022-11-10 10:17:51 +01:00