Commit graph

5670 commits

Author SHA1 Message Date
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
Tomas Kopecek
0256282a84 cli: list-task --after/--before/--all
allow querying for closed tasks

Fixes: https://pagure.io/koji/issue/2565
2020-12-01 13:02:25 +01:00
Tomas Kopecek
812c1a804a PR#2574: hub: limit CGImport to allow only one CG per import
Merges #2574
https://pagure.io/koji/pull-request/2574

Fixes: #2511
https://pagure.io/koji/issue/2511
build.cg_id not set for non-reserved content generator imports
2020-11-30 17:35:39 +01:00
Tomas Kopecek
0809a924d7 fix tests 2020-11-30 17:35:32 +01:00
Tomas Kopecek
f5ddbbf97d hub: limit CGImport to allow only one CG per import
Related: https://pagure.io/koji/issue/2511
2020-11-30 17:35:32 +01:00
Tomas Kopecek
2fa1f050e8 PR#2579: Install into /usr/lib rather than /usr/lib64/
Merges #2579
https://pagure.io/koji/pull-request/2579

Fixes: #2578
https://pagure.io/koji/issue/2578
32bit installs broken
2020-11-30 14:43:28 +01:00
Michal Privoznik
66ba134859 Install into /usr/lib rather than /usr/lib64/
In koji-1.22.0-129-g0ef3c751 I've changed the way how
site-packages directory is obtained. What I did not realize back
then is there can be multilib systems which will not search for
packages in /usr/lib64. But 64bit systems do look into /usr/lib.
Therefore, let's pick the location where both systems work.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1894261
Fixes: #2578
https://pagure.io/koji/issue/2578
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2020-11-27 10:00:52 +01:00
Tomas Kopecek
5e3e7c4b9b PR#2564: external repos can have specified arch list
Merges #2564
https://pagure.io/koji/pull-request/2564

Fixes: #2538
https://pagure.io/koji/issue/2538
external repos with different architecture lists
2020-11-24 13:56:35 +01:00
Tomas Kopecek
35bb2acad0 parse arches 2020-11-24 13:56:29 +01:00
Tomas Kopecek
24bd694865 external repos can have specified arch list
Fixes: https://pagure.io/koji/issue/2538
2020-11-24 13:56:29 +01:00
Tomas Kopecek
c39f6e9afa PR#2567: hub: use CTE for build_references
Merges #2567
https://pagure.io/koji/pull-request/2567

Fixes: #2535
https://pagure.io/koji/issue/2535
koji-gc trash traceback
2020-11-24 13:45:28 +01:00
Tomas Kopecek
47025a1060 hub: use CTE for build_references
Fixes: https://pagure.io/koji/issue/2535
2020-11-24 13:45:21 +01:00
Tomas Kopecek
2a191d4076 PR#2562: cli: list-hosts can display description/comment
Merges #2562
https://pagure.io/koji/pull-request/2562

Fixes: #2553
https://pagure.io/koji/issue/2553
list-hosts could show description/notes
2020-11-23 14:12:03 +01:00
Tomas Kopecek
4fa9d54a7e cli: list-hosts can display description/comment
Fixes: https://pagure.io/koji/issue/2553
2020-11-23 14:08:50 +01:00
Tomas Kopecek
1a964a7ce0 PR#2529: remove deprecated --ca option
Merges #2529
https://pagure.io/koji/pull-request/2529

Fixes: #2192
https://pagure.io/koji/issue/2192
Remove deprecated --ca option for koji/koji-gc
2020-11-23 11:03:45 +01:00
Tomas Kopecek
0f56d39487 remove deprecated --ca option
Fixes: https://pagure.io/koji/issue/2192
2020-11-23 11:03:38 +01:00
Tomas Kopecek
7ba3e93e20 PR#2577: fix not found build id error for list-builds
Merges #2577
https://pagure.io/koji/pull-request/2577

Fixes: #2487
https://pagure.io/koji/issue/2487
cli: list-builds --buildid <non-existing-id> throws AttributeError
2020-11-23 09:12:51 +01:00
lrossett
3c1c1bd5c4 fix not found build id error for list-builds 2020-11-23 09:12:44 +01:00
Tomas Kopecek
838c3781ff PR#2555: hub: [listBuilds] add nvr glob pattern support
Merges #2555
https://pagure.io/koji/pull-request/2555

Fixes: #2554
https://pagure.io/koji/issue/2554
list-builds should be able to search builds by NVR pattern
2020-11-23 09:09:27 +01:00
Yu Ming Zhu
7d3bf21612 fix typo of quote 2020-11-18 04:53:38 +00:00
Yu Ming Zhu
23c1ee9f44 catch the exception on old hub 2020-11-17 23:16:00 +00:00
Yu Ming Zhu
3f57163c3f hub: [listBuilds] add nvr glob pattern support
fixes: #2554

--pattern is also added in list-builds command
2020-11-17 22:59:32 +00:00
Tomas Kopecek
41f0931f54 PR#2560: cli: allow removal of unused external repo even with --alltags
Merges #2560
https://pagure.io/koji/pull-request/2560

Fixes: #2061
https://pagure.io/koji/issue/2061
cannot remove disassociated external repos
2020-11-12 15:49:36 +01:00
Tomas Kopecek
7f44d1f7a2 cli: allow removal of unused external repo even with --alltags
Fixes: https://pagure.io/koji/issue/2061
2020-11-12 15:49:30 +01:00
Tomas Kopecek
3b2b7ceac4 PR#2571: Add option to use repos from kickstart for livemedia builds
Merges #2571
https://pagure.io/koji/pull-request/2571

Fixes: #2260
https://pagure.io/koji/issue/2260
Fix repo defaults for livemedia builds
2020-11-12 15:48:53 +01:00
Brendan Reilly
b97813d6e2 Add option to use repos from kickstart for livemedia builds
Fixes: https://pagure.io/koji/issue/2260
2020-11-12 15:48:47 +01:00
Tomas Kopecek
6141a756af PR#2559: web: order methods by name in select box
Merges #2559
https://pagure.io/koji/pull-request/2559

Fixes: #2556
https://pagure.io/koji/issue/2556
Populate brew method drop down alphabetically
2020-11-10 12:06:58 +01:00
Tomas Kopecek
6854803aec web: order methods by name in select box
Fixes: https://pagure.io/koji/issue/2556
2020-11-10 12:06:52 +01:00
Tomas Kopecek
97c4084d70 PR#2558: web: disable links to deleted tags
Merges #2558
https://pagure.io/koji/pull-request/2558

Fixes: #2543
https://pagure.io/koji/issue/2543
taskinfo page - invalid href for 'build tag' parameter (build with an already deleted tag)
2020-11-05 14:16:08 +01:00
Tomas Kopecek
7b27889122 fix test 2020-11-05 14:16:02 +01:00
Tomas Kopecek
07772a1ecc web: disable links to deleted tags
Fixes: https://pagure.io/koji/issue/2543
2020-11-05 14:16:02 +01:00