Tomas Kopecek
1925b0c7b8
fix tests
2021-10-21 12:58:29 +02:00
Tomas Kopecek
f09771d471
PR#3093: Fix log_output default value
...
Merges #3093
https://pagure.io/koji/pull-request/3093
Fixes : #2806
https://pagure.io/koji/issue/2806
dist-repo can run write-signed-rpms first
2021-10-21 12:56:14 +02:00
Jana Cupova
75b8e37569
Fix log_output default value
...
Fixes: https://pagure.io/koji/issue/2806
2021-10-21 12:17:41 +02:00
Tomas Kopecek
03dafc423a
PR#3085: cli: improve help text for add-tag --parent
...
Merges #3085
https://pagure.io/koji/pull-request/3085
2021-10-20 17:20:18 +02:00
Ken Dreyer
cfaa6aa7fc
cli: improve help text for add-tag --parent
...
Update the --help text to clarify that the --parent option will add a
parent tag at the highest priority (0).
2021-10-20 11:15:40 -04:00
Tomas Kopecek
9400ed2aa7
PR#3040: Restart kojid and kojira services automatically
...
Merges #3040
https://pagure.io/koji/pull-request/3040
Fixes #3084
https://pagure.io/koji/issue/3084
2021-10-20 16:14:27 +02:00
Vasil Velichkov
c21f102114
Restart kojid and kojira services automatically
...
Wait 60sec before restarting the service
2021-10-20 16:14:20 +02:00
Tomas Kopecek
a90552afdb
PR#3043: basic security checks with bandit
...
Merges #3043
https://pagure.io/koji/pull-request/3043
Fixes : #3042
https://pagure.io/koji/issue/3042
Basic bandit checking
2021-10-20 15:20:22 +02:00
Tomas Kopecek
8cc777c094
fix test
2021-10-20 15:20:14 +02:00
Tomas Kopecek
a3ea37b173
remove unused imports
2021-10-20 15:20:14 +02:00
Tomas Kopecek
3ec6e87d5b
replace urlopen with requests.get
2021-10-20 15:20:14 +02:00
Tomas Kopecek
ba2e1e520b
basic security checks with bandit
...
Fixes: https://pagure.io/koji/issue/3042
2021-10-20 15:20:14 +02:00
Tomas Kopecek
0e2ebb4e25
Revert "PR#2944: decode protonmsg props field when loading from db"
...
This reverts commit 34d1c8eb9e , reversing
changes made to fdccd38148 .
Proper solution was part of https://pagure.io/koji/pull-request/2955 , so
this merge was a mistake. Reverting.
2021-10-20 13:00:04 +02:00
Tomas Kopecek
34d1c8eb9e
PR#2944: decode protonmsg props field when loading from db
...
Merges #2944
https://pagure.io/koji/pull-request/2944
2021-10-19 13:11:27 +02:00
Mike McLean
b4b83c8251
decode protonmsg props field when loading from db
2021-10-19 13:11:20 +02:00
Tomas Kopecek
fdccd38148
PR#3066: method call json default option set up to str
...
Merges #3066
https://pagure.io/koji/pull-request/3066
Fixes : #3065
https://pagure.io/koji/issue/3065
`brew call --json ` breaks with DateTime values
2021-10-19 12:41:04 +02:00
Jana Cupova
74112e804f
method call json default option set up to str
...
Fixed: https://pagure.io/koji/issue/3065
2021-10-19 12:40:56 +02:00
Tomas Kopecek
cd7f3eb551
PR#3075: Add CLI unit tests
...
Merges #3075
https://pagure.io/koji/pull-request/3075
2021-10-18 13:02:03 +02:00
Jana Cupova
9b235763cd
Add CLI unit tests
2021-10-18 13:01:54 +02:00
Tomas Kopecek
3d4cf4a3bf
PR#3058: Dist-repo with write-signed-rpm option
...
Merges #3058
https://pagure.io/koji/pull-request/3058
Fixes : #2806
https://pagure.io/koji/issue/2806
dist-repo can run write-signed-rpms first
2021-10-18 13:00:24 +02:00
Jana Cupova
d3ef00fff4
Dist-repo with write-signed-rpm option
...
Fixes: https://pagure.io/koji/issue/2806
2021-10-18 13:00:11 +02:00
Tomas Kopecek
5abb84c01d
PR#3064: queryRPMSigs accepts RPM ID, NVRA and dict
...
Merges #3064
https://pagure.io/koji/pull-request/3064
Fixes : #3061
https://pagure.io/koji/issue/3061
queryRPMSigs only accepts RPM IDs (ints), not RPM names
2021-10-13 14:48:58 +02: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
Tomas Kopecek
113736b231
PR#3070: document convertFault method
...
Merges #3070
https://pagure.io/koji/pull-request/3070
2021-10-13 13:19:21 +02:00
Ken Dreyer
0747714f6e
document convertFault method
...
Update the convertFault docstring to describe how the method converts
faults, the "fault" parameter type, and possible return values.
2021-10-12 14:27:39 -04:00
Tomas Kopecek
52ae5616dc
PR#3009: listBuilds/list-builds filtering via CG
...
Merges #3009
https://pagure.io/koji/pull-request/3009
Fixes : #1401
https://pagure.io/koji/issue/1401
[RFE] add the ability to query builds by Content Generator
2021-10-05 12:28:09 +02:00
Tomas Kopecek
0badee262f
listBuilds/list-builds filtering via CG
...
Fixes: https://pagure.io/koji/issue/1401
2021-10-05 12:28:03 +02:00
Tomas Kopecek
b477fa5e64
PR#3005: Speedup untagged_builds query
...
Merges #3005
https://pagure.io/koji/pull-request/3005
Fixes : #1636
https://pagure.io/koji/issue/1636
speedup for untagged_builds query
2021-10-05 11:09:54 +02:00
Tomas Kopecek
b382032d10
hub: speedup untagged_builds query
...
Fixes: https://pagure.io/koji/issue/1636
2021-10-05 11:09:47 +02:00
Tomas Kopecek
bcf924b77b
PR#3020: propagate error in write-signed-copies
...
Merges #3020
https://pagure.io/koji/pull-request/3020
Fixes : #3014
https://pagure.io/koji/issue/3014
write-signed-rpms don't raise error in multicalls
2021-10-05 11:08:12 +02:00
Tomas Kopecek
3c26e60db4
propagate error in write-signed-copies
...
Fixes: https://pagure.io/koji/issue/3014
2021-10-05 11:08:06 +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
390a633afd
PR#3063: cli: refactor expected NVR comparison
...
Merges #3063
https://pagure.io/koji/pull-request/3063
2021-10-04 09:45:27 +02:00
Ken Dreyer
6950c65de9
cli: refactor expected NVR comparison
...
Instead of expanding "name"-"version"-"release" twice, expand it once
and assign it to a new "expected_nvr" variable.
This makes it easier to read this complex string handling code.
2021-10-04 09:45:21 +02:00
Tomas Kopecek
bcc5de0290
PR#3062: Update docs/source/runs_here.rst - Add XCP-ng
...
Merges #3062
https://pagure.io/koji/pull-request/3062
2021-10-04 09:42:00 +02:00
Samuel Verschelde
f9312ae2d1
Update docs/source/runs_here.rst - Add XCP-ng
2021-10-04 09:41:53 +02:00
Tomas Kopecek
73399e517c
kojivmd: py3 compatibility issues
...
Fixes: https://pagure.io/koji/issue/3059
2021-09-30 12:39:23 +02:00
Tomas Kopecek
20d9de426d
PR#3057: Release notes 1.26.1
...
Merges #3057
https://pagure.io/koji/pull-request/3057
Fixes : #3052
https://pagure.io/koji/issue/3052
1.26.1 Release notes
2021-09-29 11:23:29 +02:00
Tomas Kopecek
b8d486e637
Release notes 1.26.1
...
Fixes: https://pagure.io/koji/issue/3052
2021-09-29 11:06:19 +02:00
Tomas Kopecek
7ae27cc88a
fix typo
2021-09-29 11:05:50 +02:00
Tomas Kopecek
306627835b
PR#3055: be tolerant of stops/jumps kwargs with falsy values and clear error in list-tag-inheritance
...
Merges #3055
https://pagure.io/koji/pull-request/3055
Fixes : #3054
https://pagure.io/koji/issue/3054
1.26 backward compatibility stop(s)/jump(s) opts of list-tag-inheritance cmd
2021-09-29 10:34:35 +02:00
Yu Ming Zhu
f1dc214b40
update docstring
2021-09-29 10:34:10 +02:00
Yu Ming Zhu
b864f3d440
CLI: [list-tag-inheritance] Clear Error with removed --stop/--jump opts
2021-09-29 10:34:10 +02:00
Yu Ming Zhu
f8464a1f32
allow Falsy values too
2021-09-29 10:34:10 +02:00
Yu Ming Zhu
af0c487a85
hub: [API:getFullInheritance] be tolerant of stops/jumps kwargs with None values
2021-09-29 10:34:10 +02:00
Tomas Kopecek
cd3c49af55
PR#3056: tests: fix version test
...
Merges #3056
https://pagure.io/koji/pull-request/3056
Fixes : #3053
https://pagure.io/koji/issue/3053
version tests doesn't behave correctly when changing koji version
2021-09-29 10:24:28 +02:00
Tomas Kopecek
a92a52473a
tests: fix version test
...
Removed hard-coded version expectations.
Fixes: https://pagure.io/koji/issue/3053
2021-09-29 10:03:21 +02:00
Tomas Kopecek
8db4e1694f
PR#3050: kojivmd: change opts allowed_scms_by_* to allowed_scms_use_*
...
Merges #3050
https://pagure.io/koji/pull-request/3050
Fixes : #3049
https://pagure.io/koji/issue/3049
kojivmd: typo: allowed_scms_by_* should be allowed_scms_use_*
2021-09-29 09:19:43 +02:00
Yu Ming Zhu
0489ad7187
kojivmd: change opts allowed_scms_by_* to allowed_scms_use_*
...
fixes : #3049
2021-09-29 09:19:36 +02:00
Tomas Kopecek
bb4c6a9bbb
PR#3047: [policy] [SourceTest] check spec_url for wrapperRPM task
...
Merges #3047
https://pagure.io/koji/pull-request/3047
Fixes : #3046
https://pagure.io/koji/issue/3046
SourceTest doesn't work with wrapperRPM when the wrapped build's Source is None
2021-09-29 09:18:59 +02:00