Commit graph

6442 commits

Author SHA1 Message Date
Jana Cupova
c0b8223d2c Remove json check from import-cg CLI
Fixes: https://pagure.io/koji/issue/3241
2022-02-03 10:16:08 +01:00
Tomas Kopecek
78d7f3f39e PR#3235: hub: fix Task.lock for correctly closed tasks
Merges #3235
https://pagure.io/koji/pull-request/3235

Fixes: #3220
https://pagure.io/koji/issue/3220
tagBuild tasks sometimes fail with "already tagged", when the build was not tagged before the task ran
2022-02-02 17:22:14 +01:00
Tomas Kopecek
edad8d4461 hub: fix Task.lock for correctly closed tasks
Fixes: https://pagure.io/koji/issue/3220
2022-02-02 17:07:02 +01:00
Tomas Kopecek
355be9200f PR#3211: save modified .kiwi files per arch
Merges #3211
https://pagure.io/koji/pull-request/3211

Relates: #3210
https://pagure.io/koji/issue/3210
multiarch kiwi builds fail on mixing logs
2022-01-31 10:24:47 +01:00
Tomas Kopecek
d3213b888f save modified .kiwi files per arch
Related: https://pagure.io/koji/issue/3210
2022-01-31 10:24:27 +01:00
Tomas Kopecek
cac6d207d7 PR#3214: Add description for permissions
Merges #3214
https://pagure.io/koji/pull-request/3214

Fixes: #335
https://pagure.io/koji/issue/335
[RFE] list-permissions would better have descriptions for each role
2022-01-31 10:22:06 +01:00
Jana Cupova
1252129136 Add description for permissions
Fixes: https://pagure.io/koji/issue/335
2022-01-31 10:21:58 +01:00
Tomas Kopecek
e292fd8f2b PR#3215: Show total builds and add two more date options
Merges #3215
https://pagure.io/koji/pull-request/3215

Fixes #3216
https://pagure.io/koji/issue/3216
2022-01-31 10:21:00 +01:00
Alex Iribarren
8e59e3f613 Show total builds and add two more date options 2022-01-31 10:20:53 +01:00
Tomas Kopecek
0a1554bbd5 PR#3223: Provide meaningful message when importing image files fails
Merges #3223
https://pagure.io/koji/pull-request/3223

Fixes #3221
https://pagure.io/koji/issue/3221
2022-01-31 10:17:44 +01:00
Igor Raits
052afc5a14 Provide meaningful message when importing image files fails
References: https://pagure.io/koji/issue/3221
Signed-off-by: Igor Raits <igor.raits@gmail.com>
2022-01-31 10:17:37 +01:00
Tomas Kopecek
77ea6f9a47 PR#3226: doc: improve multicall documentation
Merges #3226
https://pagure.io/koji/pull-request/3226
2022-01-26 10:21:50 +01:00
Ken Dreyer
94ea0a4909 doc: improve multicall documentation
Rewrite our multicall documentation to use the active voice, clarify
examples, and steer users more strongly towards the newer
MultiCallSession class.
2022-01-25 12:16:16 -05:00
Tomas Kopecek
e029d4c489 PR#3212: Allow password in SCM url with new builder option
Merges #3212
https://pagure.io/koji/pull-request/3212

Fixes: #3179
https://pagure.io/koji/issue/3179
[1.27.0] git with credentials token don't work
2022-01-25 15:47:36 +01:00
Jana Cupova
725c157fbd Allow password in SCM url with new builder option
Fixes: https://pagure.io/koji/issue/3179
2022-01-25 15:47:27 +01:00
Tomas Kopecek
bf23bf904e fix flake8 2022-01-19 15:29:59 +01:00
Tomas Kopecek
facfdb0d16 PR#3205: Implant releasever into kiwi description
Merges #3205
https://pagure.io/koji/pull-request/3205

Fixes: #3194
https://pagure.io/koji/issue/3194
Support setting releasever for kiwi descriptions
2022-01-19 15:26:40 +01:00
Tomas Kopecek
49dfa51bc5 fix working dir path 2022-01-19 15:26:32 +01:00
Tomas Kopecek
7521198a8c optional "make prep" 2022-01-19 15:26:32 +01:00
Tomas Kopecek
25cf5f78e1 remove unused code 2022-01-19 15:26:32 +01:00
Igor Raits
5c8f9c3e09 kiwi: Collect all files from bundle directory
Bundle directory has slightly different files (compressed, etc.) and
does not contain any JSON files so let's just collect all files from
there.

Signed-off-by: Igor Raits <igor.raits@gmail.com>
2022-01-19 15:26:32 +01:00
Tomas Kopecek
dfc5b01c9c fix packaging 2022-01-19 15:26:32 +01:00
Tomas Kopecek
565f59459e kiwi: use separate --release 2022-01-19 15:26:32 +01:00
Tomas Kopecek
e423263f51 kiwi: Implant releasever into the kiwi description
Related: https://pagure.io/koji/issue/3194
2022-01-19 15:26:32 +01:00
Igor Raits
d737bb4597 Store disk_image type of kiwi files
For example, it is used by .raw (OEM) images.

Signed-off-by: Igor Raits <igor.raits@gmail.com>
2022-01-19 15:26:32 +01:00
Igor Raits
74c414ee1c Add support for kiwi.result.json
Signed-off-by: Igor Raits <igor.raits@gmail.com>
2022-01-19 15:26:32 +01:00
Tomas Kopecek
8041b6ea4c update kiwi deps 2022-01-19 15:26:32 +01:00
Tomas Kopecek
ed457c8986 PR#3218: doc: additional explanations for RPM signatures
Merges #3218
https://pagure.io/koji/pull-request/3218
2022-01-19 13:12:00 +01:00
Ken Dreyer
7e6db4a51e docs: link to RPM cryptographic header documentation 2022-01-18 11:49:04 -05:00
Ken Dreyer
5196f73d51 docs: explain "digest" vs "signature" fields for RPMs 2022-01-18 10:55:09 -05:00
Tomas Kopecek
c56c73a2e9 PR#3192: Release notes 1.27.1
Merges #3192
https://pagure.io/koji/pull-request/3192

Fixes: #3191
https://pagure.io/koji/issue/3191
1.27.1 Release notes
2022-01-13 09:44:11 +01:00
Tomas Kopecek
44378d767f Release notes 1.27.1
Related: https://pagure.io/koji/issue/3191
2022-01-13 09:44:05 +01:00
Tomas Kopecek
213c1eae99 PR#3204: lib: refactor variables in is_conn_err()
Merges #3204
https://pagure.io/koji/pull-request/3204

Fixes #3213
https://pagure.io/koji/issue/3213
2022-01-11 12:32:58 +01:00
Ken Dreyer
eaa5bf9add lib: rename inner error variable in is_conn_err()
Rename this variable to something easier to understand.
2022-01-11 12:32:52 +01:00
Ken Dreyer
1cc6c79157 lib: refactor errno list in is_conn_error()
Move the copy-and-pasted list of errnos into a variable and use that in
both places. This makes this code easier to understand.
2022-01-11 12:32:52 +01:00
Tomas Kopecek
162ed1ae85 PR#3206: doc: explain IMA signing vs usual RPM signing
Merges #3206
https://pagure.io/koji/pull-request/3206
2022-01-07 12:46:20 +01:00
Ken Dreyer
95dfece2a0 doc: explain IMA signing vs usual RPM signing 2022-01-07 12:46:14 +01:00
Tomas Kopecek
cc08fe1926 PR#3196: hub: default with_blocked=True in listPackages
Merges #3196
https://pagure.io/koji/pull-request/3196

Fixes: #3193
https://pagure.io/koji/issue/3193
listPackages should return blocked packages by default
2022-01-07 12:37:08 +01:00
Ken Dreyer
241840bbda hub: default with_blocked=True in listPackages
Commit 355c713044 introduced a regression
in the listPackages RPC, where it no longer returns blocked packages by
default.

To restore backwards compatibility, set the with_blocked argument to
True by default.
2022-01-07 12:37:02 +01:00
Tomas Kopecek
5db5fd8b03 fix bandit env 2022-01-03 10:31:54 +01:00
Tomas Kopecek
4d9f9f2482 PR#3195: Link to overview video
Merges #3195
https://pagure.io/koji/pull-request/3195
2022-01-03 09:03:23 +01:00
Tomas Kopecek
1fbc08988d Link to overview video 2021-12-23 11:32:52 +01:00
Tomas Kopecek
a131f83891 PR#3123: Centralize name/id lookup clauses
Merges #3123
https://pagure.io/koji/pull-request/3123

Fixes: #3122
https://pagure.io/koji/issue/3122
hub: the tagInfo option of get_tag should be tolerant with a sensible dict
2021-12-21 14:46:22 +01:00
Mike McLean
7615b8aa85 actually execute the insert 2021-12-21 14:46:15 +01:00
Mike McLean
dee3405eb7 add explicit error case 2021-12-21 14:46:15 +01:00
Mike McLean
2bc2cce3c8 fix table name 2021-12-21 14:46:15 +01:00
Mike McLean
529eada38d require table arg in name_or_id_clause() to simplify code 2021-12-21 14:46:15 +01:00
Mike McLean
784a561505 another unit test 2021-12-21 14:46:15 +01:00
Mike McLean
8299bc78b5 unit tests for lookup_name 2021-12-21 14:46:15 +01:00
Mike McLean
5770b7e360 expand get_channel unit tests 2021-12-21 14:46:15 +01:00