Ken Dreyer
241840bbda
hub: default with_blocked=True in listPackages
...
Commit 355c713044 introduced a regression
in the listPackages RPC, where it no longer returns blocked packages by
default.
To restore backwards compatibility, set the with_blocked argument to
True by default.
2022-01-07 12:37:02 +01:00
Mike McLean
7615b8aa85
actually execute the insert
2021-12-21 14:46:15 +01:00
Mike McLean
dee3405eb7
add explicit error case
2021-12-21 14:46:15 +01:00
Mike McLean
2bc2cce3c8
fix table name
2021-12-21 14:46:15 +01:00
Mike McLean
529eada38d
require table arg in name_or_id_clause() to simplify code
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
c87eba6bcd
use name_or_id_clause in get_build_targets
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
98d3abd01a
add name_or_id_clause function
2021-12-21 14:46:15 +01:00
Tomas Kopecek
dd1843207b
Don't fail on missing buildroot tag
...
Fixes: https://pagure.io/koji/issue/3185
2021-12-21 12:32:01 +01:00
Jana Cupova
355c713044
Taginfo page shows packages with/without blocked
...
Fixes: https://pagure.io/koji/issue/1350
2021-12-20 09:08:47 +01:00
Jana Cupova
18b136d386
Remove rename-channel CLI and use editChannel in renameChannel
...
Fixes: https://pagure.io/koji/issue/3035
2021-12-15 15:28:19 +01:00
Jana Cupova
c7fd26aeda
Deprecated remove-channel CLI and removeChannel API
...
Fixes: https://pagure.io/koji/issue/1206
2021-12-15 15:26:11 +01:00
Jana Cupova
d80f956dc1
RLIMIT_OFILE alias for RLIMIT_NOFILE
...
Fixes: https://pagure.io/koji/issue/3101
2021-12-13 17:25:43 +01:00
Jana Cupova
f4616d4ee2
Deprecated hub option DisableGSSAPIProxyDNFallback
...
Fixes: https://pagure.io/koji/issue/3100
2021-12-13 17:20:22 +01:00
Jana Cupova
178cb8a398
Deprecated force option in groupPackageListRemove call
...
Fixes: https://pagure.io/koji/issue/3131
2021-12-13 16:38:18 +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
Ken Dreyer
2418d91473
hub: document getBuildLogs method
...
Update the getBuildLogs RPC docstring to describe the "build"
parameters and the return type. Highlight that this call is only
relevant for completed builds, not incomplete builds.
2021-12-07 14:55:09 -05:00
Ken Dreyer
73781b6a9c
hub: fix spelling in comments for archive handling
...
Fix some spelling errors in the comments for the code that handles
archives.
2021-12-02 12:30:59 -05: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
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
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
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
1a1f71bdbb
Deprecated force option in groupReqListRemove call
...
Fixes: https://pagure.io/koji/issue/1164
2021-11-04 12:15:23 +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
Tomas Kopecek
038a2f1850
rename ProxyAuthType -> AllowProxyAuthType
2021-11-04 12:07:05 +00:00
Tomas Kopecek
24e5c0cb45
further fixes (will be squashed before merge)
2021-11-04 12:07:05 +00:00
Yuming Zhu
d367420c75
[hub] getBuildType: ensure id exists in buildinfo dict
...
if there is no id, call `get_build` to fetch the build data (n-v-r inside will be used or the data is invalid)
fixes : #3091
2021-11-04 11:55:45 +00:00
Ken Dreyer
8d9633cff7
hub: document packageListRemove method
...
Update the packageListRemove RPC docstring to describe all parameters
and the return value.
Remove the statement about prefering the block and unblock functions.
In many cases it's simpler and faster to put fewer packages into a tag
than to block many extraneous packages in a tag.
2021-10-25 13:13:35 -04:00
Ken Dreyer
9ad3637cae
hub: document listPackages method
...
Update the listPackages RPC docstring to describe all parameters and the
return value.
2021-10-21 12:59:20 +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
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
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
0badee262f
listBuilds/list-builds filtering via CG
...
Fixes: https://pagure.io/koji/issue/1401
2021-10-05 12:28:03 +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
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
Yu Ming Zhu
f1dc214b40
update docstring
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
Yu Ming Zhu
459c8cd3c2
[policy] [SourceTest] check spec_url for wrapperRPM task
...
fixes : #3046
2021-09-29 09:18:50 +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
Jana Čupová
ff4e518fd8
Tasks respect disabled channels
...
Fixed: https://pagure.io/koji/issue/3006
2021-09-23 08:47:19 +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
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