Commit graph

6340 commits

Author SHA1 Message Date
Jana Cupova
c310d6692d Pytest instead of nose in unittest
Fixes: https://pagure.io/koji/issue/3140
2021-12-06 12:17:29 +01:00
Tomas Kopecek
bbaadef417 PR#3119: AuthExpire returns code 1 in kojid
Merges #3119
https://pagure.io/koji/pull-request/3119

Fixes: #3084
https://pagure.io/koji/issue/3084
Clean up daemon exit codes
2021-12-06 10:18:19 +01:00
Jana Cupova
2d820f4b7d AuthExpire returns code 1 in kojid
Fixes: https://pagure.io/koji/issue/3084
2021-12-06 10:18:11 +01:00
Tomas Kopecek
f979899e5c PR#3161: hub: fix spelling in comments for archive handling
Merges #3161
https://pagure.io/koji/pull-request/3161
2021-12-06 09:03:51 +01:00
Ken Dreyer
73781b6a9c hub: fix spelling in comments for archive handling
Fix some spelling errors in the comments for the code that handles
archives.
2021-12-02 12:30:59 -05:00
Tomas Kopecek
d0507c4d2d PR#3115: Add and update CLI unit tests
Merges #3115
https://pagure.io/koji/pull-request/3115

Fixes: #729
https://pagure.io/koji/issue/729
Goal: 60% coverage for cli commands
2021-11-29 15:39:17 +01:00
Jana Cupova
c3e89500f2 Add and upfate CLI unit tests
Fixes: https://pagure.io/koji/issue/729
2021-11-29 15:39:10 +01:00
Tomas Kopecek
ae15fa34ba PR#3150: Rewrite Acceptable keys to Requested keys in missing_signatures log
Merges #3150
https://pagure.io/koji/pull-request/3150

Fixes: #3149
https://pagure.io/koji/issue/3149
Rename 'Acceptable keys' in missing signatures.log to more understandable name
2021-11-29 15:28:20 +01:00
Jana Cupova
082f15eae5 Rewrite Acceptable keys to Requested keys in missing_signatures log
Fixes: https://pagure.io/koji/issue/3149
2021-11-29 15:28:13 +01:00
Tomas Kopecek
c96f07bdb0 PR#3142: devtools: print fakeweb listening URL
Merges #3142
https://pagure.io/koji/pull-request/3142
2021-11-23 09:24:16 +01:00
Ken Dreyer
4a440297ef devtools: print fakeweb listening URL
Show the user the full URL to paste into the browser.
2021-11-23 09:24:09 +01:00
Tomas Kopecek
12f52aa0a2 PR#3138: doc: improve protonmsg SSL parameter descriptions
Merges #3138
https://pagure.io/koji/pull-request/3138
2021-11-22 14:18:08 +01:00
Ken Dreyer
e784c25541 doc: improve protonmsg SSL parameter descriptions
Explain that the "cert" is a combination of public certificate and key
file.

Explain that "cacert" is the CA that signed the amqps broker's
certificate.
2021-11-22 14:18:02 +01:00
Tomas Kopecek
d9d68f1ee6 PR#3139: www: style channelinfo hosts table
Merges #3139
https://pagure.io/koji/pull-request/3139
2021-11-22 14:04:07 +01:00
Ken Dreyer
0323c4f985 www: style channelinfo hosts table rows
Use the rowToggle helper to style the rows with alternating colors. This
makes this table easier to read.
2021-11-19 16:37:11 -05:00
Ken Dreyer
a791dd8670 www: fix alignments in channelinfo hosts table
Use the "data-list" classes to style the Hosts table in the channelinfo
page. This makes the header row stand out and easier to read, matching
the rest of the data tables in kojiweb.

This change also fixes a problem in some downstream themes. For example,
Fedora's theme and Brew's theme set "text-align: right" for all tbody.th
elements. These themes do this in order to control the larger parent
"info" table header cells, but it ends up mis-aligning un-classed
sub-tables like this one. With this change, the "list-header" class
left-aligns the header row text, and the "data-list" class left-aligns
the final text.
2021-11-19 16:29:45 -05:00
Tomas Kopecek
fdcff453fb PR#3129: Koji 1.27 release notes
Merges #3129
https://pagure.io/koji/pull-request/3129

Fixes: #3127
https://pagure.io/koji/issue/3127
1.27 Release notes
2021-11-18 11:28:38 +01:00
Tomas Kopecek
00c0a2326b fix test 2021-11-18 11:28:33 +01:00
Tomas Kopecek
cda6439a91 Koji 1.27 release notes
Fixes: https://pagure.io/koji/issue/3127
2021-11-18 11:28:33 +01:00
Tomas Kopecek
101433a7e9 PR#3069: basic kiwi support
Merges #3069
https://pagure.io/koji/pull-request/3069

Fixes #3094
https://pagure.io/koji/issue/3094
2021-11-18 11:14:13 +01:00
Tomas Kopecek
468656d8a3 fix docs 2021-11-18 11:12:48 +01:00
Tomas Kopecek
f0f227f0ab fix flake8 2021-11-18 11:12:48 +01:00
Tomas Kopecek
eb56f2bec4 expand docs 2021-11-18 11:12:48 +01:00
Tomas Kopecek
79e1841c96 fix bandit 2021-11-18 11:12:48 +01:00
Tomas Kopecek
1e971affef fix doc typo 2021-11-18 11:12:48 +01:00
Tomas Kopecek
2d6a14845f alter name by selected profile 2021-11-18 11:12:48 +01:00
Tomas Kopecek
2d6b03eeba fix signature 2021-11-18 11:12:48 +01:00
Tomas Kopecek
336573c0fd code simplification 2021-11-18 11:12:48 +01:00
Tomas Kopecek
86c8fdc177 use json results 2021-11-18 11:12:48 +01:00
Tomas Kopecek
946a24cca8 remove translation 2021-11-18 11:12:48 +01:00
Tomas Kopecek
3c15c7a34f update docs 2021-11-18 11:12:48 +01:00
Tomas Kopecek
8c1a7337ab kiwi: check include directive 2021-11-18 11:12:48 +01:00
Tomas Kopecek
d07c0d400e basic kiwi docs 2021-11-18 11:12:48 +01:00
Tomas Kopecek
86ee135dd1 json results 2021-11-18 11:12:48 +01:00
Tomas Kopecek
d31306e2f6 basic kiwi support 2021-11-18 11:12:48 +01:00
Tomas Kopecek
1bbb55e672 PR#3130: runroot: use --chroot instead of chroot mock command
Merges #3130
https://pagure.io/koji/pull-request/3130
2021-11-18 11:06:43 +01:00
Tomas Kopecek
5f9fbf660e runroot: use --chroot instead of chroot mock command
Former is no officially supported anymore

Fixes: https://pagure.io/koji/issue/3133
2021-11-18 11:05:34 +01:00
Tomas Kopecek
098a21fab1 PR#3102: hub: document untagBuild method
Merges #3102
https://pagure.io/koji/pull-request/3102
2021-11-15 09:56:40 +01:00
Ken Dreyer
2d648945f2 hub: document untagBuild method
Update the untagBuild RPC docstring to describe all parameters.
2021-11-15 09:56:31 +01:00
Tomas Kopecek
799e8c1a6f PR#3126: kojira: implement ignore_other_volumes option
Merges #3126
https://pagure.io/koji/pull-request/3126

Relates: #3011
https://pagure.io/koji/issue/3011
kojira could ignore repos on specified volumes
2021-11-15 09:07:08 +01:00
Mike McLean
5b32d76865 rework a bit 2021-11-15 09:07:01 +01:00
Mike McLean
623131c96f we should still track repos that the hub tells us about 2021-11-15 09:07:01 +01:00
Joe Simmons-Talbott
a58ce6bb38 Fix for case where 'info' is None. 2021-11-15 09:07:01 +01:00
Joe Simmons-Talbott
61645c6cd9 kojira: make 'ignore_other_volumes' a config only option.
* pull 'DEFAULT' repo handling out of the loop.
* Add 'ignore_other_volumes' to kojira.conf
2021-11-15 09:07:01 +01:00
Joe Talbott
b5bf4f9a3f Prevent kojira from attempting to remove repos on other volumes.
* Adds '--ignore-other-volumes' flag and configuration option.
2021-11-15 09:07:01 +01:00
Tomas Kopecek
676b3b5ddc PR#3124: Update error message in make task when channel not exist
Merges #3124
https://pagure.io/koji/pull-request/3124

Fixes: #3125
https://pagure.io/koji/issue/3125
Update make_task error message when channel not exist to more readability
2021-11-15 09:06:28 +01:00
Jana Cupova
4f2506cc81 Update error message in make task when channel not exist
Fixes: https://pagure.io/koji/issue/3125
2021-11-15 09:06:21 +01:00
Yu Ming Zhu
ab87d70d55 PR#3090: Add option for UTC time in list-history
Merges #3090
https://pagure.io/koji/pull-request/3090

Fixes: #1136
https://pagure.io/koji/issue/1136
Show koji list-history information in UTC time
2021-11-11 07:49:13 +00:00
Yu Ming Zhu
c769390326 PR#3099: Kojira throw exception when auth failed
Merges #3099
https://pagure.io/koji/pull-request/3099

Fixes: #2852
https://pagure.io/koji/issue/2852
[1.24.1] kojira thrown an exception when the user is unknown at the hub
2021-11-07 11:06:31 +00:00
Jana Cupova
2118a24e7a Kojira throw exception when auth failed
Fixes: https://pagure.io/koji/issue/2852
2021-11-07 11:06:27 +00:00