Tomas Kopecek
87ff61574b
web: return correct content-length
...
Fixes: https://pagure.io/koji/issue/2638
2021-01-25 14:40:45 +01:00
Tomas Kopecek
c8572d49a1
PR#2654: cli: hide import-sig --write option
...
Merges #2654
https://pagure.io/koji/pull-request/2654
Fixes : #2620
https://pagure.io/koji/issue/2620
"--write" option for koji import-sig has no effect
2021-01-25 13:32:33 +01:00
Tomas Kopecek
932994f720
update help text
2021-01-25 13:31:51 +01:00
Tomas Kopecek
e63508f8a0
cli: hide import-sig --write option
...
It is no more used, hide it from the user.
Fixes: https://pagure.io/koji/issue/2620
2021-01-19 13:37:56 +01:00
Tomas Kopecek
7d074114c5
PR#2624: Release notes 1.23.1
...
Merges #2624
https://pagure.io/koji/pull-request/2624
Fixes : #2623
https://pagure.io/koji/issue/2623
1.23.1 release notes
2021-01-18 11:09:32 +01:00
Tomas Kopecek
79f1e45e74
Release notes 1.23.1
2021-01-18 11:09:07 +01:00
Tomas Kopecek
2be8600bb2
PR#2652: web: input validation
...
Merges #2652
https://pagure.io/koji/pull-request/2652
Fixes #2645
https://pagure.io/koji/issue/2645
2021-01-18 11:07:36 +01:00
Tomas Kopecek
6d4831a6dc
web: input validation
...
Fix for CVE-2020-15856
Fixes: https://pagure.io/koji/issue/2645
2021-01-18 11:06:35 +01:00
Tomas Kopecek
a5edca87e6
PR#2644: Lower default multicall batch values
...
Merges #2644
https://pagure.io/koji/pull-request/2644
Fixes : #2616
https://pagure.io/koji/issue/2616
Lower default multicall batch values
2021-01-14 13:37:11 +01:00
Tomas Kopecek
b3732c508b
lower batches in clone-tag multicalls
...
Fixes: https://pagure.io/koji/issue/2616
2021-01-13 16:17:10 +01:00
Tomas Kopecek
fddfe0a1e9
lower multicall batches in koji-gc
2021-01-13 16:09:18 +01:00
Tomas Kopecek
548cb4a01f
PR#2635: update image volume in db ASAP
...
Merges #2635
https://pagure.io/koji/pull-request/2635
Fixes : #2634
https://pagure.io/koji/issue/2634
wrapperRPM doesn't work with image policy fix
2021-01-13 15:13:58 +01:00
Tomas Kopecek
234ced2838
update image volume in db ASAP
...
Fixes: https://pagure.io/koji/issue/2634
2021-01-13 15:08:17 +01:00
Tomas Kopecek
963611c909
PR#2584: require gssapi-requests 1.22
...
Merges #2584
https://pagure.io/koji/pull-request/2584
Fixes : #2422
https://pagure.io/koji/issue/2422
gssapi auth broken for builders in 1.22.0
2021-01-13 14:49:38 +01:00
Tomas Kopecek
024515121a
require gssapi-requests 1.22
...
Fixes: https://pagure.io/koji/issue/2422
2021-01-13 14:49:32 +01:00
Tomas Kopecek
b19f1760bf
PR#2576: db: add debian package archivetype
...
Merges #2576
https://pagure.io/koji/pull-request/2576
Fixes : #2575
https://pagure.io/koji/issue/2575
Add debian packages to archivetypes
2021-01-13 14:40:57 +01:00
Tomas Kopecek
51f79c5f48
db: add debian package archivetype
...
Fixes: https://pagure.io/koji/issue/2575
2021-01-13 14:40:05 +01:00
Tomas Kopecek
b3f548f803
PR#2627: hub: remove global SSLVerifyClient option
...
Merges #2627
https://pagure.io/koji/pull-request/2627
Fixes : #2582
https://pagure.io/koji/issue/2582
Error: Unable to connect to server for some koji cli commands
2021-01-13 14:35:26 +01:00
Ken Dreyer
0c8501e6ea
hub: remove global SSLVerifyClient option
...
Stop recommending that clients set "SSLVerifyClient require" globally on
the hub httpd server.
In the latest versions of the koji CLI, we perform many RPCs anonymously
in order to improve performance, and this is incompatible with hubs that
enforce "SSLVerifyClient require" globally.
2021-01-13 14:35:20 +01:00
Tomas Kopecek
2c711e722e
PR#2605: cli: return error if add/remove-tag-inheritance can't be applied
...
Merges #2605
https://pagure.io/koji/pull-request/2605
Fixes : #2604
https://pagure.io/koji/issue/2604
CLI add-tag-inheritance should returns an error if priority is needed
2021-01-13 14:32:33 +01:00
Tomas Kopecek
ae6d61a15f
cli: return error if add/remove-tag-inheritance can't be applied
...
Fixes: https://pagure.io/koji/issue/2604
2021-01-13 14:32:28 +01:00
Tomas Kopecek
9927cc142c
PR#2630: fix nightly getNextReelase format
...
Merges #2630
https://pagure.io/koji/pull-request/2630
Fixes : #2629
https://pagure.io/koji/issue/2629
fix nightly getNextRelease format
2021-01-13 13:55:24 +01:00
Tomas Kopecek
fed1826616
fix nightly getNextReelase format
...
Fixes: https://pagure.io/koji/issue/2629
2021-01-13 13:55:18 +01:00
Tomas Kopecek
8e94e8c17d
PR#2610: cli: raise NotImplementedError with btype name
...
Merges #2610
https://pagure.io/koji/pull-request/2610
Fixes #2613
https://pagure.io/koji/issue/2613
2021-01-12 13:17:47 +01:00
Ken Dreyer
8321df159b
cli: raise NotImplementedError with btype name
...
Print the exact unhandled btype name to the user, so it's clearer why
we're exiting early here.
2021-01-12 13:17:42 +01:00
Tomas Kopecek
4a94d6f506
PR#2626: kojivmd: fix typo
...
Merges #2626
https://pagure.io/koji/pull-request/2626
Fixes : #2625
https://pagure.io/koji/issue/2625
Typo in kojikvmd
2021-01-06 17:02:41 +01:00
Tomas Kopecek
883f34cde4
kojivmd: fix typo
...
Fixes: https://pagure.io/koji/issue/2625
2021-01-06 17:02:35 +01:00
Tomas Kopecek
6a4f96179b
PR#2598: lib: better print with debug_xmlrpc
...
Merges #2598
https://pagure.io/koji/pull-request/2598
Fixes : #2597
https://pagure.io/koji/issue/2597
lib: print decoded bytes with debug_xmlrpc
2021-01-06 14:38:57 +01:00
Tomas Kopecek
9d64bafed6
lib: better print with debug_xmlrpc
...
Fixes: https://pagure.io/koji/issue/2597
2021-01-06 14:38:34 +01:00
Tomas Kopecek
48d4f0db25
PR#2621: docs: mention the final destination for new dist-repos
...
Merges #2621
https://pagure.io/koji/pull-request/2621
2021-01-05 13:05:49 +01:00
Ken Dreyer
749c99e323
docs: mention the final destination for new dist-repos
...
Explain where users can find the new dist-repos.
2021-01-05 13:05:34 +01:00
Tomas Kopecek
58ec59314c
PR#2517: lib: better argument checking for eventFromOpts
...
Merges #2517
https://pagure.io/koji/pull-request/2517
Fixes : #2513
https://pagure.io/koji/issue/2513
eventFromOpts is not handling missing/wrong values well
2021-01-04 10:43:37 +01:00
Tomas Kopecek
8ff5759b21
lib: better argument checking for eventFromOpts
...
Fixes: https://pagure.io/koji/issue/2513
2021-01-04 10:43:30 +01:00
Tomas Kopecek
362a216448
PR#2586: cli: some options are not supplied in all _list_tasks calls
...
Merges #2586
https://pagure.io/koji/pull-request/2586
Fixes : #2585
https://pagure.io/koji/issue/2585
CLI watch-task option --XXX=XXX not working
2021-01-04 10:42:41 +01:00
Tomas Kopecek
866c81cb63
cli: some options are not supplied in all _list_tasks calls
...
Fixes: https://pagure.io/koji/issue/2585
2021-01-04 10:42:34 +01:00
Tomas Kopecek
e62f0c4800
PR#2603: hub: fix py2-like 'stop' usage in getFullInheritance
...
Merges #2603
https://pagure.io/koji/pull-request/2603
Fixes : #2602
https://pagure.io/koji/issue/2602
CLI list-tag-inheritance with option --stop returns Fault
2021-01-04 10:41:23 +01:00
Tomas Kopecek
2f6c1f228e
hub: fix py2-like 'stop' usage in getFullInheritance
...
Fixes: https://pagure.io/koji/issue/2602
2021-01-04 10:41:16 +01:00
Tomas Kopecek
e85bd298f0
PR#2617: docs: link to tag2distrepo hub plugin
...
Merges #2617
https://pagure.io/koji/pull-request/2617
2021-01-04 10:27:46 +01:00
Ken Dreyer
c8e7ce0747
docs: link to tag2distrepo hub plugin
...
Link to the tag2distrepo hub plugin that Fedora release engineers use.
2020-12-23 10:50:24 -07:00
Tomas Kopecek
ce89ad4379
PR#2609: hub: doc listArchive types param for content generators
...
Merges #2609
https://pagure.io/koji/pull-request/2609
2020-12-17 09:08:29 +01:00
Ken Dreyer
7bd7ef34cc
hub: doc listArchive types param for content generators
...
Update the listArchive docstring to explain that callers can select any
type of archive, not just the older three options ("maven", "win",
"image").
2020-12-16 14:25:11 -07:00
lrossett
1c787a323f
flake8 fixes
2020-12-14 13:26:00 +01:00
lrossett
ff8c13969e
requests exception
2020-12-14 13:26:00 +01:00
lrossett
74061d5d71
set serverca opts
2020-12-14 13:26:00 +01:00
Tomas Kopecek
0b1ce02db1
PR#2593: docs: assign multicall to "m" in code example
...
Merges #2593
https://pagure.io/koji/pull-request/2593
Fixes #2596
https://pagure.io/koji/issue/2596
2020-12-14 11:46:49 +01:00
Ken Dreyer
3e8407d9cf
docs: assign multicall to "m" in code example
...
This example snippet uses "m" without assigning. Update the code snippet
to match the other examples where we assign "m" in the context manager.
2020-12-14 11:46:44 +01:00
Tomas Kopecek
937106d82b
PR#2595: unify sql case
...
Merges #2595
https://pagure.io/koji/pull-request/2595
2020-12-14 11:44:16 +01:00
Tomas Kopecek
3491554405
unify sql case
2020-12-14 11:42:01 +01:00
Tomas Kopecek
4542c11ba1
PR#2566: cli: list-task --after/--before/--all
...
Merges #2566
https://pagure.io/koji/pull-request/2566
Fixes : #2565
https://pagure.io/koji/issue/2565
cli: list-tasks could (limitedly) display also closed tasks
2020-12-02 14:10:22 +01:00
Tomas Kopecek
254c766b1f
cli: create after/before OptionParser helper
2020-12-01 14:40:51 +01:00