Commit graph

6316 commits

Author SHA1 Message Date
Tomas Kopecek
1e971affef fix doc typo 2021-11-18 11:12:48 +01:00
Tomas Kopecek
2d6a14845f alter name by selected profile 2021-11-18 11:12:48 +01:00
Tomas Kopecek
2d6b03eeba fix signature 2021-11-18 11:12:48 +01:00
Tomas Kopecek
336573c0fd code simplification 2021-11-18 11:12:48 +01:00
Tomas Kopecek
86c8fdc177 use json results 2021-11-18 11:12:48 +01:00
Tomas Kopecek
946a24cca8 remove translation 2021-11-18 11:12:48 +01:00
Tomas Kopecek
3c15c7a34f update docs 2021-11-18 11:12:48 +01:00
Tomas Kopecek
8c1a7337ab kiwi: check include directive 2021-11-18 11:12:48 +01:00
Tomas Kopecek
d07c0d400e basic kiwi docs 2021-11-18 11:12:48 +01:00
Tomas Kopecek
86ee135dd1 json results 2021-11-18 11:12:48 +01:00
Tomas Kopecek
d31306e2f6 basic kiwi support 2021-11-18 11:12:48 +01:00
Tomas Kopecek
1bbb55e672 PR#3130: runroot: use --chroot instead of chroot mock command
Merges #3130
https://pagure.io/koji/pull-request/3130
2021-11-18 11:06:43 +01:00
Tomas Kopecek
5f9fbf660e runroot: use --chroot instead of chroot mock command
Former is no officially supported anymore

Fixes: https://pagure.io/koji/issue/3133
2021-11-18 11:05:34 +01:00
Tomas Kopecek
098a21fab1 PR#3102: hub: document untagBuild method
Merges #3102
https://pagure.io/koji/pull-request/3102
2021-11-15 09:56:40 +01:00
Ken Dreyer
2d648945f2 hub: document untagBuild method
Update the untagBuild RPC docstring to describe all parameters.
2021-11-15 09:56:31 +01:00
Tomas Kopecek
799e8c1a6f PR#3126: kojira: implement ignore_other_volumes option
Merges #3126
https://pagure.io/koji/pull-request/3126

Relates: #3011
https://pagure.io/koji/issue/3011
kojira could ignore repos on specified volumes
2021-11-15 09:07:08 +01:00
Mike McLean
5b32d76865 rework a bit 2021-11-15 09:07:01 +01:00
Mike McLean
623131c96f we should still track repos that the hub tells us about 2021-11-15 09:07:01 +01:00
Joe Simmons-Talbott
a58ce6bb38 Fix for case where 'info' is None. 2021-11-15 09:07:01 +01:00
Joe Simmons-Talbott
61645c6cd9 kojira: make 'ignore_other_volumes' a config only option.
* pull 'DEFAULT' repo handling out of the loop.
* Add 'ignore_other_volumes' to kojira.conf
2021-11-15 09:07:01 +01:00
Joe Talbott
b5bf4f9a3f Prevent kojira from attempting to remove repos on other volumes.
* Adds '--ignore-other-volumes' flag and configuration option.
2021-11-15 09:07:01 +01:00
Tomas Kopecek
676b3b5ddc PR#3124: Update error message in make task when channel not exist
Merges #3124
https://pagure.io/koji/pull-request/3124

Fixes: #3125
https://pagure.io/koji/issue/3125
Update make_task error message when channel not exist to more readability
2021-11-15 09:06:28 +01:00
Jana Cupova
4f2506cc81 Update error message in make task when channel not exist
Fixes: https://pagure.io/koji/issue/3125
2021-11-15 09:06:21 +01:00
Yu Ming Zhu
ab87d70d55 PR#3090: Add option for UTC time in list-history
Merges #3090
https://pagure.io/koji/pull-request/3090

Fixes: #1136
https://pagure.io/koji/issue/1136
Show koji list-history information in UTC time
2021-11-11 07:49:13 +00:00
Yu Ming Zhu
c769390326 PR#3099: Kojira throw exception when auth failed
Merges #3099
https://pagure.io/koji/pull-request/3099

Fixes: #2852
https://pagure.io/koji/issue/2852
[1.24.1] kojira thrown an exception when the user is unknown at the hub
2021-11-07 11:06:31 +00:00
Jana Cupova
2118a24e7a Kojira throw exception when auth failed
Fixes: https://pagure.io/koji/issue/2852
2021-11-07 11:06:27 +00:00
Yu Ming Zhu
3fc4b4a64e PR#3103: retry get_next_release to avoid race condition
Merges #3103
https://pagure.io/koji/pull-request/3103

Fixes: #3079
https://pagure.io/koji/issue/3079
Race condition for getNextRelease still present
2021-11-07 09:45:25 +00:00
Mike McLean
7ff917da90 update unit tests 2021-11-07 09:45:20 +00:00
Mike McLean
ab9b021c07 naming/docstring adjustments 2021-11-07 09:45:20 +00:00
Mike McLean
3947c46af9 move logic into get_next_build() 2021-11-07 09:45:19 +00:00
Tomas Kopecek
59315852a2 getNextRelease race condition retry
Fixes: https://pagure.io/koji/issue/3079
2021-11-07 09:45:19 +00:00
Yu Ming Zhu
537439c60f PR#3082: lib: Deprecate koji.listFaults
Merges #3082
https://pagure.io/koji/pull-request/3082

Fixes: #3071
https://pagure.io/koji/issue/3071
remove koji.listFaults() method
2021-11-07 09:37:22 +00:00
Tomas Kopecek
9e6be3f977 lib: Deprecate koji.listFaults
Related: https://pagure.io/koji/issue/3071
2021-11-07 09:37:18 +00:00
Yu Ming Zhu
6f89e387a8 PR#3111: Fix older hub errors
Merges #3111
https://pagure.io/koji/pull-request/3111

Fixes: #1401
https://pagure.io/koji/issue/1401
[RFE] add the ability to query builds by Content Generator
2021-11-07 09:33:27 +00:00
Jana Cupova
29ceea4ef0 Fix older hub errors
Fixes: https://pagure.io/koji/issue/1401
2021-11-07 09:33:22 +00:00
Yu Ming Zhu
dc2602ee91 PR#3107: Fix type in kojid distRepo
Merges #3107
https://pagure.io/koji/pull-request/3107

Fixes: #2806
https://pagure.io/koji/issue/2806
dist-repo can run write-signed-rpms first
2021-11-04 12:18:54 +00:00
Jana Cupova
929e0ab998 Fix type in kojid distRepo
Fixes: https://pagure.io/koji/issue/2806
2021-11-04 12:18:31 +00:00
Yu Ming Zhu
70a0c6f8bb PR#3095: Add strict option to listTagged, listTaggedRPMS, listTaggedArchives
Merges #3095
https://pagure.io/koji/pull-request/3095

Fixes: #1477
https://pagure.io/koji/issue/1477
Unexpected type returned from listTagged()
2021-11-04 12:16:54 +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
Yu Ming Zhu
c116fe2a67 PR#3089: Deprecated force option in groupReqListRemove call
Merges #3089
https://pagure.io/koji/pull-request/3089

Fixes: #1164
https://pagure.io/koji/issue/1164
groupReqListRemove API call has force argument but it is not used for functionality
2021-11-04 12:15:26 +00:00
Jana Cupova
1a1f71bdbb Deprecated force option in groupReqListRemove call
Fixes: https://pagure.io/koji/issue/1164
2021-11-04 12:15:23 +00:00
Yu Ming Zhu
83bff4dcc3 PR#3078: Add specfile log to wrapperRPM
Merges #3078
https://pagure.io/koji/pull-request/3078

Fixes: #2862
https://pagure.io/koji/issue/2862
wrapperRPM should log generated spec file
2021-11-04 12:13:48 +00:00
Jana Cupova
cc7ec85c32 Add specfile log to wrapperRPM
Fixes: https://pagure.io/koji/issue/2862
2021-11-04 12:13:44 +00:00
Yu Ming Zhu
b2bd367b68 PR#3076: Logging warning messages about deletedBuild or deletedRPMSig
Merges #3076
https://pagure.io/koji/pull-request/3076

Fixes: #3018
https://pagure.io/koji/issue/3018
deleteRPMSign should be more verbose and optional
2021-11-04 12:09:06 +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
Yu Ming Zhu
f5ba2a5c08 PR#3008: Allow kojiweb to proxy users obtained via different mechanisms
Merges #3008
https://pagure.io/koji/pull-request/3008

Fixes: #2552
https://pagure.io/koji/issue/2552
Allow kojiweb to proxy users obtained via different mechanisms
2021-11-04 12:07:12 +00:00
Tomas Kopecek
a6aeaee3e3 fix callMethod 2021-11-04 12:07:05 +00:00
Tomas Kopecek
09a8fd71e5 backward compatibility for older hub
use proxyauthtype only if it is explicetly requested. Older hubs
don't know this option and will refuse login attempt.
2021-11-04 12:07:05 +00:00
Tomas Kopecek
038a2f1850 rename ProxyAuthType -> AllowProxyAuthType 2021-11-04 12:07:05 +00:00
Tomas Kopecek
252121c11f propagate proxyauthtype in login calls 2021-11-04 12:07:05 +00:00