Commit graph

5778 commits

Author SHA1 Message Date
Ken Dreyer
e4a622c67e doc: note SSL CA requirement for kojid
kojid hosts must have the CA that signed an HTTPS topurl in the
system-wide store.
2021-02-23 17:14:45 -07:00
Ken Dreyer
083a7822d4 doc: reword kojid steps in server howto
Simplify the language for kojid.conf in the Server HowTo document. This
makes it easier for new readers to understand what settings they must
change.
2021-02-23 17:14:45 -07:00
Tomas Kopecek
eb638ed9ad PR#2692: adding check for the license header key
Merges #2692
https://pagure.io/koji/pull-request/2692

Fixes: #2628
https://pagure.io/koji/issue/2628
cli: rpminfo errors if build is deleted
2021-02-23 13:15:13 +01:00
lrossett
4465be89e7 adding check for license header 2021-02-23 13:15:07 +01:00
Tomas Kopecek
337ef00f4c PR#2702: cli: list-history error non-exist channel, host
Merges #2702
https://pagure.io/koji/pull-request/2702

Fixes: #2599
https://pagure.io/koji/issue/2599
CLI list-history with non existing host or channel
2021-02-23 13:10:06 +01:00
Jana Cupova
5f23b8e814 cli: list-history error non-exist channel, host
When channel or host are non-existing, list-history returns error.

Fixes: https://pagure.io/koji/issue/2599
2021-02-23 13:09:59 +01:00
Tomas Kopecek
808d3ee7f9 PR#2706: hub: document getNextRelease method
Merges #2706
https://pagure.io/koji/pull-request/2706

Fixes #2708
https://pagure.io/koji/issue/2708
2021-02-23 10:22:07 +01:00
Ken Dreyer
555e647c50 hub: document getNextRelease method
Update the getNextRelease RPC docstring to describe what this method
does and what the parameter and return values are.
2021-02-22 20:53:40 -07:00
Tomas Kopecek
cc35903b96 PR#2709: cli: mock-config error for non existing buildroot
Merges #2709
https://pagure.io/koji/pull-request/2709

Fixes: #2642
https://pagure.io/koji/issue/2642
CLI mock-config should reurns better expception for non-existing buildroot id
2021-02-22 13:52:25 +01:00
Jana Cupova
dc5230c4ba cli: mock-config error for non existing buildroot
When buildroot is not existing, mock-config returns an error.

Fixes: https://pagure.io/koji/issue/2642
2021-02-22 13:52:19 +01:00
Tomas Kopecek
50db3b92d8 PR#2694: adding invalid target name error message
Merges #2694
https://pagure.io/koji/pull-request/2694

Fixes: #2600
https://pagure.io/koji/issue/2600
CLi list-targets with option name and name is not existing
2021-02-22 13:38:13 +01:00
lrossett
1014ad08b7 adding invalid target name error message 2021-02-22 13:38:07 +01:00
Tomas Kopecek
81c3720035 PR#2713: set correct import_type for volume policy in completeImageBuild
Merges #2713
https://pagure.io/koji/pull-request/2713

Fixes: #2712
https://pagure.io/koji/issue/2712
completeImageBuild passes import_type=maven to volume policy
2021-02-22 13:30:46 +01:00
Mike McLean
e901d66dc0 set correct import_type for volume policy in completeImageBuild
Fixes https://pagure.io/koji/issue/2712
2021-02-18 14:27:30 -05:00
Tomas Kopecek
aae5dfb30d doc: fix hyphens 2021-02-18 09:20:03 +01:00
Tomas Kopecek
a7b98c3bbd PR#2685: Release notes 1.24
Merges #2685
https://pagure.io/koji/pull-request/2685

Fixes: #2684
https://pagure.io/koji/issue/2684
1.24 Release notes
2021-02-18 09:13:23 +01:00
Mike McLean
e698b22562 relnotes cleanup 2021-02-18 08:49:32 +01:00
Tomas Kopecek
c8b1ba8ad0 Release notes 1.24
Fixes: https://pagure.io/koji/issue/2684
2021-02-17 15:08:56 +01:00
Tomas Kopecek
53daa678ea PR#2701: fix typo for kojikamid
Merges #2701
https://pagure.io/koji/pull-request/2701

Fixes: #2641
https://pagure.io/koji/issue/2641
"open" encoding is defined outside of koji
2021-02-17 09:03:17 +01:00
Yu Ming Zhu
3c4ae6e78c fix typo for kojikamid
related: #2693
fixes: #2641
2021-02-17 00:07:11 +00:00
Tomas Kopecek
13f4023bf5 flake8 fixes 2021-02-16 14:43:49 +01:00
Tomas Kopecek
556f8a1fcd PR#2691: web: fix error for missing headers
Merges #2691
https://pagure.io/koji/pull-request/2691

Fixes: #2541
https://pagure.io/koji/issue/2541
Exposing RPM's VCS tag
2021-02-16 14:16:05 +01:00
Tomas Kopecek
9fb1a537cb web: fix error for missing headers
Bug introduced in https://pagure.io/koji/pull-request/2683

Related: https://pagure.io/koji/issue/2541
2021-02-16 14:15:06 +01:00
Tomas Kopecek
ce0c1b8b9b PR#2693: backport py27 compatible file open with encoding
Merges #2693
https://pagure.io/koji/pull-request/2693

Fixes: #2641
https://pagure.io/koji/issue/2641
"open" encoding is defined outside of koji
2021-02-16 14:13:09 +01:00
Tomas Kopecek
c6e69b4f8b backport py27 compatible file open with encoding
client and builder needs to run on py27 which doesn't support
open(encoding='utf-8')

Related: https://pagure.io/koji/issue/2641
2021-02-16 14:13:03 +01:00
Tomas Kopecek
9e376a22b0 PR#2700: web: use correct srpm for getting headers
Merges #2700
https://pagure.io/koji/pull-request/2700

Fixes: #2541
https://pagure.io/koji/issue/2541
Exposing RPM's VCS tag
2021-02-16 14:11:03 +01:00
Tomas Kopecek
8fb0a530a2 web: use correct srpm for getting headers
Related: https://pagure.io/koji/issue/2541
2021-02-16 14:10:57 +01:00
Tomas Kopecek
9b665e195f flake8 fix 2021-02-16 14:05:15 +01:00
Tomas Kopecek
a3b2f3b78f PR#2697: add make to BuildRequires
Merges #2697
https://pagure.io/koji/pull-request/2697

Fixes: #2696
https://pagure.io/koji/issue/2696
make needs to be explicit BuildRequire for Fedora 34
2021-02-16 12:32:15 +01:00
Tomas Kopecek
c2979d2e61 add make to BuildRequires
Fedora 34 is dropping it from default buildroot
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot

Fixes: https://pagure.io/koji/issue/2696
2021-02-15 10:45:05 +01:00
Tomas Kopecek
ec3ef399a8 PR#2683: web: display VCS/DistURL rpm tags
Merges #2683
https://pagure.io/koji/pull-request/2683

Fixes: #2541
https://pagure.io/koji/issue/2541
Exposing RPM's VCS tag
2021-02-08 13:58:47 +01:00
Tomas Kopecek
0b99fe14fb web: display VCS/DistURL rpm tags
Fixes: https://pagure.io/koji/issue/2541
2021-02-08 13:58:42 +01:00
Tomas Kopecek
3189dcb98a PR#2682: don't assume that the hub will report arches for external repos
Merges #2682
https://pagure.io/koji/pull-request/2682

Fixes: #2681
https://pagure.io/koji/issue/2681
taginfo fail with older hub if external repos are set
2021-02-08 09:56:44 +01:00
Mike McLean
441aad0aef make builder code similarly tolerant 2021-02-08 09:56:38 +01:00
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