Commit graph

5795 commits

Author SHA1 Message Date
Tomas Kopecek
425cd528a1 hub: priority policy
Fixes: https://projects.engineering.redhat.com/browse/RHELBLD-4275
2021-03-03 15:17:20 +01:00
Tomas Kopecek
f3854d9e79 PR#2730: configurable sidetags suffixes
Merges #2730
https://pagure.io/koji/pull-request/2730

Fixes: #2729
https://pagure.io/koji/issue/2729
configurable sidetags suffixes
2021-03-03 15:10:02 +01:00
Tomas Kopecek
350086df4e cli: sidetag --suffix option 2021-03-03 15:09:55 +01:00
Tomas Kopecek
21a454f14c hub: sidetag suffixes
Fixes: https://pagure.io/koji/issue/2729
2021-03-03 15:09:55 +01:00
Tomas Kopecek
cd34c41fb3 PR#2678: support modules and other btypes in download-build
Merges #2678
https://pagure.io/koji/pull-request/2678

Fixes: #2677
https://pagure.io/koji/issue/2677
download-build does not support modules
2021-03-03 14:11:27 +01:00
Mike McLean
5bc690c4ea support modules and other btypes in download-build
Fixes https://pagure.io/koji/issue/2677
2021-03-03 14:11:20 +01:00
Tomas Kopecek
13db845422 PR#2731: web: set WSGIProcessGroup inside Directory
Merges #2731
https://pagure.io/koji/pull-request/2731

Fixes: #2695
https://pagure.io/koji/issue/2695
Kojiweb.conf default declaration of "WSGIProcessGroup koji" is set at global level
2021-03-03 13:29:33 +01:00
Tomas Kopecek
072cb316d3 web: set WSGIProcessGroup inside Directory
Don't alter server-wide configuration, just kojiweb.

Fixes: https://pagure.io/koji/issue/2695
2021-03-02 15:33:16 +01:00
Tomas Kopecek
bf34b1fbbf PR#2727: Fix progname
Merges #2727
https://pagure.io/koji/pull-request/2727

Fixes: #2599
https://pagure.io/koji/issue/2599
CLI list-history with non existing host or channel
2021-02-24 17:24:42 +01:00
Jana Cupova
b96935c2cc Fix progname 2021-02-24 17:08:19 +01:00
Tomas Kopecek
9a233682b7 PR#2717: doc: Additional docs for CVE-CVE-2020-15856
Merges #2717
https://pagure.io/koji/pull-request/2717

Fixes: #2707
https://pagure.io/koji/issue/2707
Missing entry CVE-2020-15856
2021-02-24 15:31:56 +01:00
Tomas Kopecek
60a6052843 PR#2723: better ssl_login() error message when cert is None
Merges #2723
https://pagure.io/koji/pull-request/2723
2021-02-24 14:20:22 +01:00
Ken Dreyer
ee16954351 better ssl_login() error message when cert is None
"certification" is hard to understand. Provide a clearer error to users.
2021-02-24 14:20:16 +01:00
Tomas Kopecek
1605afd976 PR#2725: doc: remove "ca" option from server howto
Merges #2725
https://pagure.io/koji/pull-request/2725
2021-02-24 13:50:53 +01:00
Ken Dreyer
8e212f170d doc: remove "ca" option from server howto
We removed this option in commit
ffcf1a30eb. Remove it from the Server
HowTo documentation as well.
2021-02-24 13:50:47 +01:00
Tomas Kopecek
3f8962e994 PR#2724: doc: update kojid steps in server howto
Merges #2724
https://pagure.io/koji/pull-request/2724
2021-02-24 13:41:27 +01:00
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
dc18c7e8c2 doc: Additional docs for CVE-CVE-2020-15856
Fixes: https://pagure.io/koji/issue/2707
2021-02-22 14:59:02 +01: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