Jana Cupova
f31d92df71
Consistence pre/postPackageListChange sequence
...
Fixes: https://pagure.io/koji/issue/1472
2022-07-25 11:26:09 +02:00
Tomas Kopecek
22882bff32
fix tests
2022-07-21 13:57:44 +02:00
Jana Cupova
52026bcfcb
Remove deprecated remove-channel/removeChannel
...
Fixes: https://pagure.io/koji/issue/3356
2022-06-30 08:53:43 +02:00
Jana Cupova
8d3bf008ac
Use compression_type in listArchiveFiles
...
Fixes: https://pagure.io/koji/issue/855
2022-06-27 15:00:32 +02:00
Tomas Kopecek
94991e0de7
fix group cloning
2022-06-27 14:58:30 +02:00
Tomas Kopecek
cb1ebe1d30
unit tests
2022-06-27 14:58:30 +02:00
Jana Cupova
1c2438f24e
postgresql hub: date_part instead of EXTRACT
...
Fixes: https://pagure.io/koji/issue/3366
2022-06-14 12:14:05 +02:00
Jana Cupova
83d4617493
Increase hub unit tests
2022-05-31 09:54:25 +02:00
Jana Cupova
1027854ad5
Fix wrapper-rpm unit test
2022-05-10 09:52:55 +02:00
Jana Cupova
56d4ec8e21
Add admin check when priority has negative value in wrapperRPM
...
Fixes: https://pagure.io/koji/issue/3320
2022-05-09 14:08:03 +02:00
Jana Cupova
d67c36151b
Fix input validation
...
Fixes: https://pagure.io/koji/issue/3319
2022-05-09 14:05:52 +02:00
Jana Cupova
75d545e740
Add extra param to listTagged*
...
Fixes: https://pagure.io/koji/issue/3110
2022-05-09 14:04:24 +02:00
Jana Cupova
f42c1aa863
Add as_string option to showOpts for raw string or dict output
...
Fixes: https://pagure.io/koji/issue/3312
2022-05-03 12:47:47 +02:00
Tomas Kopecek
60add4a88a
test
2022-05-02 07:09:51 +02:00
Tomas Kopecek
04da1d2db3
additional fixes
2022-05-02 06:55:46 +02:00
Jana Cupova
9bfefe782e
Hub, plugins and tools inputs validation
...
Fixes: https://pagure.io/koji/issue/3319
2022-05-02 06:55:44 +02:00
Mike McLean
d57c8fa99d
add unit tests
2022-04-28 10:43:57 +02:00
Jana Cupova
a0b8ec8bfd
Use builtins.type when option is called type in readTaggedRPMS
...
Fixes: https://pagure.io/koji/issue/3283
2022-03-24 13:05:30 +01:00
Tomas Kopecek
66a94f045e
api: checksum_type filter for listArchives
...
Related: https://pagure.io/koji/issue/3227
2022-02-07 10:10:23 +01:00
Tomas Kopecek
6aaa6b3248
rename option
2022-02-07 10:07:26 +01:00
Tomas Kopecek
0449aa4829
fix tests
2022-02-07 10:01:21 +01:00
Tomas Kopecek
fb50dcc2ad
fix tests
2022-02-07 09:58:01 +01:00
Jana Cupova
1252129136
Add description for permissions
...
Fixes: https://pagure.io/koji/issue/335
2022-01-31 10:21:58 +01:00
Mike McLean
7615b8aa85
actually execute the insert
2021-12-21 14:46:15 +01:00
Mike McLean
784a561505
another unit test
2021-12-21 14:46:15 +01:00
Mike McLean
8299bc78b5
unit tests for lookup_name
2021-12-21 14:46:15 +01:00
Mike McLean
5770b7e360
expand get_channel unit tests
2021-12-21 14:46:15 +01:00
Mike McLean
920f9b01be
use name_or_id_clause in get_channel
2021-12-21 14:46:15 +01:00
Mike McLean
bcf423362b
use name_or_id_clause in get_external_repos
2021-12-21 14:46:15 +01:00
Mike McLean
f87d1c3479
use name_or_id_clause in get_host
2021-12-21 14:46:15 +01:00
Mike McLean
5ee9c7396a
use name_or_id_clause in get_tag
2021-12-21 14:46:15 +01:00
Mike McLean
e5fff34d0f
fix unit tests
2021-12-21 14:46:15 +01:00
Jana Cupova
74ac826a87
Add limits on name values
...
Fixes: https://pagure.io/koji/issue/2117
2021-12-09 07:11:57 +01:00
Jana Cupova
c310d6692d
Pytest instead of nose in unittest
...
Fixes: https://pagure.io/koji/issue/3140
2021-12-06 12:17:29 +01:00
Mike McLean
7ff917da90
update unit tests
2021-11-07 09:45:20 +00:00
Jana Cupova
ea695543f2
Add strict option to listTagged, listTaggedRPMS, listTaggedArchives
...
Fixes: https://pagure.io/koji/issue/1477
2021-11-04 12:16:43 +00:00
Jana Cupova
246bad05d6
Logging warning messages about deletedBuild or deletedRPMSig
...
Fixes: https://pagure.io/koji/issue/3018
2021-11-04 12:08:58 +00:00
Jana Cupova
46411b25a3
queryRPMSigs accepts RPM ID, NVRA and dict
...
Fixes: https://pagure.io/koji/issue/3061
2021-10-13 14:48:51 +02:00
Jana Cupova
7096bddc4f
More repos in the get_external_repo returns and error
...
Fixes: https://pagure.io/koji/issue/3033
2021-10-05 11:05:58 +02:00
Tomas Kopecek
79d700b04d
fix tests
2021-09-21 12:56:58 +02:00
Jana Cupova
efbf96fd1d
Increase API unit tests
2021-09-20 12:39:42 +02:00
Patrick Uiterwijk
af25fc2e24
Support packages that are head-signed
...
This supports packages which do not have the RPMv3 signature scheme
(over the full RPM header+payload), but instead only have signatures
over the header (v4 scheme).
For the v4 scheme, the signature is only stored in SIGTAG_RSA (or
SIGTAG_DSA).
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2021-09-15 12:43:06 +02:00
Ken Dreyer
0adec2fd38
fix "an user" -> "a user" grammar in help text and errors
2021-08-24 10:54:03 -04:00
Jana Cupova
fb8cfc5678
Add delete-rpm-sig CLI and deleteRPMSig hub call
...
Fixes: https://pagure.io/koji/issue/2665
2021-07-21 13:43:09 +02:00
Jana Cupova
bc2a51350d
Enable/disable channel
...
Fixes: https://pagure.io/koji/issue/1851
2021-07-20 10:33:50 +02:00
Jana Cupova
aec9fba121
Add CLI related to channels + add comments to channels
...
Fixes: https://pagure.io/koji/issue/1711
Fixes: https://pagure.io/koji/issue/1849
2021-06-29 14:44:47 +02:00
Yu Ming Zhu
11d88ee709
fix test by using datetime.timezone instead of psycopg2.tz
...
according to https://www.psycopg.org/docs/tz.html
fixes : #2926
2021-06-23 10:04:59 +00:00
Yu Ming Zhu
bf3ee393ce
[policy] use "name" in result of lookup_name for CGs
...
fixes : #2915
2021-06-22 11:54:16 +02:00
Jana Cupova
12481d43d3
listBuilds returns empty list, not error when not existing
...
Fixes: https://pagure.io/koji/issue/1209
2021-06-22 11:53:43 +02:00
Tomas Kopecek
3518bc245c
additional import for test for some OS versions
2021-06-21 10:36:31 +02:00