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
Yu Ming Zhu
459c8cd3c2
[policy] [SourceTest] check spec_url for wrapperRPM task
...
fixes : #3046
2021-09-29 09:18:50 +02:00
Tomas Kopecek
c69ed04dd0
PR#3007: better error messages for Task.lock()
...
Merges #3007
https://pagure.io/koji/pull-request/3007
Fixes : #2834
https://pagure.io/koji/issue/2834
unhelpful "non-free but unlocked" errors on hub
2021-09-23 14:55:40 +02:00
Tomas Kopecek
1ea4d39249
better error messages for Task.lock()
...
Related: https://pagure.io/koji/issue/2834
2021-09-23 14:55:19 +02:00
Tomas Kopecek
c36466de34
PR#3030: Tasks respect disabled channels
...
Merges #3030
https://pagure.io/koji/pull-request/3030
Fixes : #3006
https://pagure.io/koji/issue/3006
Tasks don't respect disabled channels
2021-09-23 08:47:26 +02:00
Jana Čupová
ff4e518fd8
Tasks respect disabled channels
...
Fixed: https://pagure.io/koji/issue/3006
2021-09-23 08:47:19 +02:00
Tomas Kopecek
2af3e40129
PR#3036: hub: deprecate taskReport
...
Merges #3036
https://pagure.io/koji/pull-request/3036
Fixes : #3031
https://pagure.io/koji/issue/3031
deprecate taskReport
2021-09-23 08:44:54 +02:00
Tomas Kopecek
b958c8e3dc
hub: deprecate taskReport
...
Fixes: https://pagure.io/koji/issue/3031
2021-09-23 08:44:46 +02:00
Tomas Kopecek
9a3f9d48b7
PR#2989: honour taginfo option in policy_get_build_tags
...
Merges #2989
https://pagure.io/koji/pull-request/2989
Fixes : #2917
https://pagure.io/koji/issue/2917
Policy can fail on deleted tags
2021-09-21 12:57:08 +02:00
Tomas Kopecek
79d700b04d
fix tests
2021-09-21 12:56:58 +02:00
Tomas Kopecek
1b1d5d15b6
fix query logic
2021-09-21 12:56:58 +02:00
Tomas Kopecek
72108bc029
getTag returns query_event
2021-09-21 12:56:58 +02:00
Tomas Kopecek
3cfedc9fd3
query inheritance from last known tag appearance
2021-09-21 12:56:58 +02:00
Tomas Kopecek
c3b95e84af
fix getting tag from buildroot
2021-09-21 12:56:58 +02:00
Tomas Kopecek
6ff606b5f8
honour taginfo option in policy_get_build_tags
...
Related: https://pagure.io/koji/issue/2917
2021-09-21 12:56:58 +02:00
Tomas Kopecek
e072104b31
PR#3027: Add unit tests notifications, list-channels
...
Merges #3027
https://pagure.io/koji/pull-request/3027
2021-09-20 13:26:27 +02:00
Jana Cupova
3b8b231a07
Add unit tests notifications, list-channels
2021-09-20 13:26:21 +02:00
Tomas Kopecek
d9b2f88b0e
PR#3037: Increase API unit tests
...
Merges #3037
https://pagure.io/koji/pull-request/3037
2021-09-20 12:39:48 +02:00
Jana Cupova
efbf96fd1d
Increase API unit tests
2021-09-20 12:39:42 +02:00
Tomas Kopecek
beeaff941f
PR#3024: Drop SELECT for check existing signatures for package from add-rpm-sig
...
Merges #3024
https://pagure.io/koji/pull-request/3024
Fixes : #2992
https://pagure.io/koji/issue/2992
remove select from add_rpm_sign()
2021-09-20 11:39:07 +02:00
Jana Cupova
b042786c72
Drop SELECT for check existing signatures for package from add-rpm-sig
...
Fixes: https://pagure.io/koji/issue/2992
2021-09-20 11:39:00 +02:00
Tomas Kopecek
440fb69a7a
PR#3029: doc: update profiles documentation
...
Merges #3029
https://pagure.io/koji/pull-request/3029
2021-09-17 13:14:39 +02:00
Ken Dreyer
7dabab3466
doc: update profiles documentation
...
Rewrite the descriptions for sections.
Use pre-formatted text for technical values or file paths.
Simplify example Python code.
Remove pyxdg TODO item, since Koji never used the xdg specification for
configurations, and this would break backwards compatibility at this
point.
2021-09-15 12:08:20 -04:00
Tomas Kopecek
a584014b9d
PR#3012: Support packages that are head-signed
...
Merges #3012
https://pagure.io/koji/pull-request/3012
Fixes : #2973
https://pagure.io/koji/issue/2973
Support packages that are head-signed
2021-09-15 12:43:13 +02:00
Tomas Kopecek
a626d818a2
fix typo
2021-09-15 12:43:06 +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
Tomas Kopecek
f358fd7bc4
PR#3010: Honour --force-auth for anonymous commands
...
Merges #3010
https://pagure.io/koji/pull-request/3010
Fixes : #2657
https://pagure.io/koji/issue/2657
ensure_connection doesn't honor --force-auth
2021-09-14 13:26:18 +02:00
Tomas Kopecek
97503b7492
fix option propagation
2021-09-14 13:26:11 +02:00
Tomas Kopecek
7a4b17005a
expose force_auth in config
2021-09-14 13:26:11 +02:00
Tomas Kopecek
5d86608931
Honour --force-auth for anonymous commands
...
Fixes: https://pagure.io/koji/issue/2657
2021-09-14 13:26:11 +02:00
Tomas Kopecek
1269317618
PR#3022: move btypes from headers to body of proton message
...
Merges #3022
https://pagure.io/koji/pull-request/3022
Fixes : #3017
https://pagure.io/koji/issue/3017
[protonmsg] btypes in msg header should be a string rather than a dict
2021-09-14 09:28:27 +02:00
Tomas Kopecek
c41559f1e9
move btypes from headers to body of proton message
...
Fixes: https://pagure.io/koji/issue/3017
2021-09-14 09:28:21 +02:00