Commit graph

5650 commits

Author SHA1 Message Date
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
Tomas Kopecek
5eaf3ce6e6 PR#2533: kojira: cache external repo timestamps by arch_url
Merges #2533
https://pagure.io/koji/pull-request/2533

Fixes: #2532
https://pagure.io/koji/issue/2532
kojira can cache wrong external repo timestamps
2020-11-05 10:31:10 +01:00
Mike McLean
267eff9636 handle arches=None case
Should handle all these "empty" cases: missing, None, blank string, only whitespace
2020-11-05 10:31:04 +01:00
Mike McLean
28d07c11ba make cache key consistent 2020-11-05 10:31:04 +01:00
Mike McLean
49e54eb7d2 minor logging adjustment 2020-11-05 10:31:04 +01:00
Mike McLean
efd5e3f48a kojira: cache external repo timestamps by arch_url
Fixes: https://pagure.io/koji/issue/2532
2020-11-05 10:31:04 +01:00
Tomas Kopecek
d0a40630a0 PR#2569: Revert "timezones for py 2.7"
Merges #2569
https://pagure.io/koji/pull-request/2569

Fixes: #2568
https://pagure.io/koji/issue/2568
revert timezone handling for py 2.7
2020-11-02 15:01:47 +01:00
Tomas Kopecek
2012ae64ec Revert "timezones for py 2.7"
This reverts commit a9108584b7.

Fixes: https://pagure.io/koji/issue/2568
2020-11-02 13:58:04 +01:00
Tomas Kopecek
f12c92d10d PR#2528: doc: python support matrix
Merges #2528
https://pagure.io/koji/pull-request/2528

Fixes: #356
https://pagure.io/koji/issue/356
Add system support matrix to docs
2020-10-30 13:03:31 +01:00
Tomas Kopecek
23efcaebe5 remove empty section 2020-10-30 13:03:25 +01:00
Tomas Kopecek
50707d86d0 doc: python support matrix
Fixes: https://pagure.io/koji/issue/356
2020-10-30 13:03:25 +01:00
Tomas Kopecek
88ad6854da PR#2548: kojira: don't expire ignored tags with targets
Merges #2548
https://pagure.io/koji/pull-request/2548

Fixes: #2542
https://pagure.io/koji/issue/2542
kojira will expire repos for ignored tags
2020-10-29 15:12:03 +01:00
Tomas Kopecek
6a21354006 remove instance variables 2020-10-29 15:11:57 +01:00
Tomas Kopecek
412a29bb88 kojira: don't expire ignored tags with targets
Fixes: https://pagure.io/koji/issue/2542
2020-10-29 15:11:57 +01:00
Tomas Kopecek
a09cacc853 PR#2504: Only redirect back to HTTP_REFERER if it points to kojiweb
Merges #2504
https://pagure.io/koji/pull-request/2504

Fixes: #2503
https://pagure.io/koji/issue/2503
Kojiweb not redirecting properly when behind SSO
2020-10-29 09:28:38 +01:00
Alex Iribarren
c9b23e6619 Only redirect back to HTTP_REFERER if it points to kojiweb 2020-10-29 09:28:30 +01:00
Tomas Kopecek
b5f7da188e PR#2540: Add nomacboot option for spin-livemedia
Merges #2540
https://pagure.io/koji/pull-request/2540

Fixes: #2259
https://pagure.io/koji/issue/2259
nomacboot for livemedia builds
2020-10-27 14:37:10 +01:00
Brendan Reilly
c62f15172f Add nomacboot option for spin-livemedia
Fixes: https://pagure.io/koji/issue/2259
2020-10-27 14:37:01 +01:00
Tomas Kopecek
cda754453b PR#2561: hub: fix tests
Merges #2561
https://pagure.io/koji/pull-request/2561
2020-10-27 14:35:11 +01:00
Tomas Kopecek
5b8e87da7a hub: fix tests
Related: https://pagure.io/koji/pull-request/2544
2020-10-27 14:33:46 +01:00
Tomas Kopecek
e4f607fc8d PR#2547: builder: mergerepo uses workdir as tmpdir
Merges #2547
https://pagure.io/koji/pull-request/2547

Fixes: #2546
https://pagure.io/koji/issue/2546
mergerepo should use configured workdir
2020-10-27 14:18:42 +01:00