Commit graph

5819 commits

Author SHA1 Message Date
Tomas Kopecek
66a1ef2ab7 tests: stop mocks in DBQueryTest setUp
Fixes: https://pagure.io/koji/issue/2758
2021-03-15 11:01:08 +01:00
Tomas Kopecek
8c9a34737b PR#2754: doc: jenkins fedora -> centos migration
Merges #2754
https://pagure.io/koji/pull-request/2754

Fixes: #2745
https://pagure.io/koji/issue/2745
update jenkins docs
2021-03-11 15:47:41 +01:00
Tomas Kopecek
6c14470922 doc: jenkins fedora -> centos migration
Fixes: https://pagure.io/koji/issue/2745
2021-03-11 15:47:35 +01:00
Tomas Kopecek
e9307aa4fe PR#2744: devtools: updated Dockerfiles
Merges #2744
https://pagure.io/koji/pull-request/2744

Fixes: #2743
https://pagure.io/koji/issue/2743
update dockerfiles for testing
2021-03-11 15:20:37 +01:00
Tomas Kopecek
777ce2286f PR#2715: acquire logging locks before forking
Merges #2715
https://pagure.io/koji/pull-request/2715

Fixes: #2714
https://pagure.io/koji/issue/2714
kojira rmtree jobs can stall due to locking race
2021-03-11 13:31:42 +01:00
Mike McLean
3c9dc70832 acquire logging locks before forking
Fixes https://pagure.io/koji/issue/2714
2021-03-11 13:31:35 +01:00
Tomas Kopecek
a81d0659b3 devtools: updated Dockerfiles
Fixes: https://pagure.io/koji/issue/2743
2021-03-11 11:27:57 +01:00
Tomas Kopecek
566c70701e PR#2747: Escape vcs and disturl
Merges #2747
https://pagure.io/koji/pull-request/2747

Fixes: #2746
https://pagure.io/koji/issue/2746
VCS and DistURL not escaped
2021-03-10 16:29:27 +01:00
Alex Iribarren
519d8c4fa6 Escape vcs and disturl 2021-03-10 16:29:21 +01:00
Tomas Kopecek
5a5bdc7c85 PR#2705: cli: show connection exception
Merges #2705
https://pagure.io/koji/pull-request/2705

Fixes: #2592
https://pagure.io/koji/issue/2592
RFE: improve HTTPS error messages for CLI
2021-03-10 15:31:20 +01:00
Tomas Kopecek
29a34f31a5 cli: show connection exception
For anonymous calls (whose use ensure_connection) is now shown also
original exception if --debug is specified.

Fixes: https://pagure.io/koji/issue/2592
2021-03-10 15:31:11 +01:00
Tomas Kopecek
cf1c2dad0b PR#2703: cli: list-untagged returns error non-exist package
Merges #2703
https://pagure.io/koji/pull-request/2703

Fixes: #2601
https://pagure.io/koji/issue/2601
CLI list-untagged with non existing pkg should returns an error
2021-03-10 14:38:47 +01:00
Jana Cupova
ffc9bedd00 cli: list-untagged returns error non-exist package
When package is not existing, list-untagged returns an error.

Fixes: https://pagure.io/koji/issue/2601
2021-03-10 14:38:39 +01:00
Tomas Kopecek
c23e80881d PR#2738: cli: fix help message formatting
Merges #2738
https://pagure.io/koji/pull-request/2738

Fixes: #2718
https://pagure.io/koji/issue/2718
"koji call" insists on a krb5 ticket even if it's not required
2021-03-05 15:38:50 +01:00
Tomas Kopecek
b6bdad7d50 cli: fix help message formatting
Related: https://pagure.io/koji/issue/2718
2021-03-05 15:36:12 +01:00
Tomas Kopecek
a20f7c3c04 PR#2737: plugins: fix typo
Merges #2737
https://pagure.io/koji/pull-request/2737

Fixes: #2729
https://pagure.io/koji/issue/2729
configurable sidetags suffixes
2021-03-04 16:09:21 +01:00
Tomas Kopecek
7f808b2658 plugins: fix typo
Related: https://pagure.io/koji/issue/2729
2021-03-04 16:08:11 +01:00
Tomas Kopecek
5675498963 PR#2734: cli: --no-auth for 'call' command
Merges #2734
https://pagure.io/koji/pull-request/2734

Fixes: #2718
https://pagure.io/koji/issue/2718
"koji call" insists on a krb5 ticket even if it's not required
2021-03-03 16:13:45 +01:00
Tomas Kopecek
1dd53ab725 cli: emphasize --noauth option for 'call'
Fixes: https://pagure.io/koji/issue/2718
2021-03-03 15:58:45 +01:00
Tomas Kopecek
a5d43db4a0 PR#2711: Task priority policy
Merges #2711
https://pagure.io/koji/pull-request/2711

Fixes: #2710
https://pagure.io/koji/issue/2710
Priority policy
2021-03-03 15:17:27 +01:00
Tomas Kopecek
9f200fa495 doc: expanding doc on priority policy 2021-03-03 15:17:20 +01:00
Mike McLean
87f3dd6a8c appease flake8 2021-03-03 15:17:20 +01:00
Mike McLean
1f884a3287 alter priority policy result syntax, catch ValueError 2021-03-03 15:17:20 +01:00
Tomas Kopecek
1d69126589 fix typo 2021-03-03 15:17:20 +01:00
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