Commit graph

5744 commits

Author SHA1 Message Date
Mike McLean
899c17cc53 don't assume that the hub will report arches for external repos
Fixes https://pagure.io/koji/issue/2681
2021-02-08 09:56:38 +01:00
Tomas Kopecek
019a136744 PR#2653: web: more accessible task colors/icons
Merges #2653
https://pagure.io/koji/pull-request/2653

Fixes: #2583
https://pagure.io/koji/issue/2583
[Accessibility] Status colors not helpful for colorblinds
2021-02-05 14:23:46 +01:00
Tomas Kopecek
d979b6d92a update task colors 2021-02-05 14:23:32 +01:00
Tomas Kopecek
684a3389c4 web: more accessible task colors/icons
Fixes: https://pagure.io/koji/issue/2583
2021-02-05 14:23:32 +01:00
Tomas Kopecek
39ab9fbb69 PR#2572: docs: CG implementations list
Merges #2572
https://pagure.io/koji/pull-request/2572

Fixes: #2511
https://pagure.io/koji/issue/2511
build.cg_id not set for non-reserved content generator imports
2021-02-04 16:33:57 +01:00
Tomas Kopecek
44ade09ec3 docs: CG implementations list 2021-02-04 16:33:19 +01:00
Tomas Kopecek
1fed5e440a PR#2140: move checkTasks near its usage
Merges #2140
https://pagure.io/koji/pull-request/2140

Fixes: #942
https://pagure.io/koji/issue/942
kojira: Needed tag refers to unknown task

Fixes: #2119
https://pagure.io/koji/issue/2119
kojira saying it's reached max tasks when it hasn't
2021-02-04 16:16:38 +01:00
Tomas Kopecek
912ee6f12b remove unused variable 2021-02-04 16:16:31 +01:00
Tomas Kopecek
3f82779581 allow other thread to remove tag 2021-02-04 16:16:31 +01:00
Tomas Kopecek
2d867fa730 remove recent tasks behaviour 2021-02-04 16:16:31 +01:00
Tomas Kopecek
d44af4cbb7 move checkTasks near its usage
Related: https://pagure.io/koji/issue/2119
Fixes: https://pagure.io/koji/issue/2581
2021-02-04 16:16:31 +01:00
Tomas Kopecek
3f71076eba Revert "PR#2576: db: add debian package archivetype"
This reverts commit b19f1760bf, reversing
changes made to b3f548f803.

We've agreed that adding new archivetypes should be done via API not by
default values in db.

Related: https://pagure.io/koji/issue/2575
Related: https://pagure.io/koji/pull-request/2576
2021-02-04 15:59:17 +01:00
Tomas Kopecek
006f4dea5f PR#2637: plugin hooks for repo modification
Merges #2637
https://pagure.io/koji/pull-request/2637

Fixes: #2636
https://pagure.io/koji/issue/2636
plugin hook for signing dist/repos
2021-02-04 14:57:57 +01:00
Tomas Kopecek
90a2697fa7 rename local variable 2021-02-04 10:44:21 +01:00
Tomas Kopecek
6ad2bccec3 plugin hooks for repo modification
Fixes: https://pagure.io/koji/issue/2636
2021-02-04 10:44:21 +01:00
Tomas Kopecek
3e8f8000c8 PR#2680: fix the mode of tarfile.open
Merges #2680
https://pagure.io/koji/pull-request/2680

Fixes: #2641
https://pagure.io/koji/issue/2641
"open" encoding is defined outside of koji
2021-02-03 13:14:37 +01:00
Yu Ming Zhu
8b9aa559c8 fix the mode of tarfile.open
fixes: #2641
2021-02-03 10:04:38 +00:00
Tomas Kopecek
0c4db061d4 PR#2608: cli: support download-build --type=remote-sources
Merges #2608
https://pagure.io/koji/pull-request/2608

Fixes #2611
https://pagure.io/koji/issue/2611
2021-02-02 14:45:35 +01:00
Ken Dreyer
659a450bc1 cli: support download-build --type=remote-sources
Prior to this change, "koji download-build --type=remote-sources" failed
with an AssertionError.

Add support for OSBS's cachito remote-sources btype.
2021-02-02 14:45:30 +01:00
Tomas Kopecek
1c5c7674bc PR#2674: cli: fix tests
Merges #2674
https://pagure.io/koji/pull-request/2674

Fixes: #2620
https://pagure.io/koji/issue/2620
"--write" option for koji import-sig has no effect
2021-02-02 14:16:46 +01:00
Tomas Kopecek
72cf4a02de cli: fix tests
PR #2654 changed the help output but tests were not updated.

Related: https://pagure.io/koji/issue/2620
2021-02-02 14:13:49 +01:00
Tomas Kopecek
d820646c6c PR#2667: spec: pythonic provides
Merges #2667
https://pagure.io/koji/pull-request/2667

Fixes: #2666
https://pagure.io/koji/issue/2666
pythonic provides in spec
2021-02-02 14:04:49 +01:00
Tomas Kopecek
4a0da9bd01 spec: pythonic provides
Fixes: https://pagure.io/koji/issue/2666
2021-02-02 14:04:43 +01:00
Tomas Kopecek
c7aac355be PR#2671: fix typo
Merges #2671
https://pagure.io/koji/pull-request/2671

Fixes: #2641
https://pagure.io/koji/issue/2641
"open" encoding is defined outside of koji
2021-02-01 15:40:39 +01:00
Tomas Kopecek
274000d223 fix typo
Related: https://pagure.io/koji/issue/2641
2021-02-01 15:39:32 +01:00
Tomas Kopecek
10a08e3113 PR#2651: make policy test thread safe
Merges #2651
https://pagure.io/koji/pull-request/2651

Fixes: #2650
https://pagure.io/koji/issue/2650
policy test is not thread safe
2021-02-01 15:36:30 +01:00
Mike McLean
32b71964fe make policy test thread safe
Fixes https://pagure.io/koji/issue/2650
2021-02-01 15:36:24 +01:00
Tomas Kopecek
6d964d0bd0 PR#2664: requires python[23]-requests-gssapi for rhel[78]
Merges #2664
https://pagure.io/koji/pull-request/2664

Fixes: #2663
https://pagure.io/koji/issue/2663
requires python-requests-gssapi instead of python-requests-kerberos on EL[78]
2021-02-01 15:35:37 +01:00
Yu Ming Zhu
1fe7870799 requires python[23]-requests-gssapi for rhel[78]
fixes: #2663
2021-02-01 15:35:30 +01:00
Tomas Kopecek
4e85f0fb4d PR#2655: readFullInheritance stops/jumps deprecation
Merges #2655
https://pagure.io/koji/pull-request/2655

Fixes: #2606
https://pagure.io/koji/issue/2606
Drop jumps/stops options from inheritance
2021-02-01 15:16:00 +01:00
Tomas Kopecek
d797573faa readFullInheritance stops/jumps deprecation
Fixes: https://pagure.io/koji/issue/2606
2021-02-01 15:15:54 +01:00
Tomas Kopecek
26ea01a7dc PR#2589: history query by key
Merges #2589
https://pagure.io/koji/pull-request/2589

Fixes #2590
https://pagure.io/koji/issue/2590
2021-01-26 14:09:53 +01:00
Mike McLean
c03bf228c5 rename arg 2021-01-26 14:09:48 +01:00
Mike McLean
1864078973 history query by key
Fixes: https://pagure.io/koji/issue/2590
2021-01-26 14:09:48 +01:00
Tomas Kopecek
aeff4f52d7 PR#2633: handle plugins and generator results in count and countAndFilterResults
Merges #2633
https://pagure.io/koji/pull-request/2633

Fixes: #2632
https://pagure.io/koji/issue/2632
count and countAndFilterResults unable to handle plugins and generators
2021-01-26 14:09:10 +01:00
Mike McLean
9a56b0617b handle plugins and generator results in count and countAndFilterResults
Fixes: https://pagure.io/koji/issue/2632
2021-01-26 14:09:05 +01:00
Tomas Kopecek
b45e032286 PR#2649: kojid: backward compatible hub call
Merges #2649
https://pagure.io/koji/pull-request/2649

Fixes: #2648
https://pagure.io/koji/issue/2648
kojid 1.23 does not cope with kojihub 1.21 (  ParameterError: getAverageBuildDuration() got an unexpected keyword argument 'age')
2021-01-26 14:05:44 +01:00
Tomas Kopecek
6f2f346ffa typo 2021-01-26 14:05:38 +01:00
Tomas Kopecek
a91577fe1d kojid: backward compatible hub call
Fixes: https://pagure.io/koji/issue/2648
2021-01-26 14:05:38 +01:00
Tomas Kopecek
3fbe42cb3c PR#2647: explicit encoding for text file operations
Merges #2647
https://pagure.io/koji/pull-request/2647

Fixes: #2641
https://pagure.io/koji/issue/2641
"open" encoding is defined outside of koji
2021-01-26 13:36:31 +01:00
Tomas Kopecek
96ae0ecef5 explicit encoding for text file operations
Fixes: https://pagure.io/koji/issue/2641
2021-01-26 13:36:25 +01:00
Tomas Kopecek
ffa0912bc0 PR#2661: web: add comment explaining null start_time values
Merges #2661
https://pagure.io/koji/pull-request/2661
2021-01-26 13:29:42 +01:00
Ken Dreyer
5c3425b32b web: add comment explaining null start_time values
Explain why kojiweb falls back to creation_ts when start_ts is
unavailable. Thanks MikeM for the explanation.
2021-01-25 10:12:08 -07:00
Tomas Kopecek
fba9c12932 PR#2639: web: return correct content-length
Merges #2639
https://pagure.io/koji/pull-request/2639

Fixes: #2638
https://pagure.io/koji/issue/2638
web returns truncated pages
2021-01-25 14:40:51 +01:00
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