Commit graph

6430 commits

Author SHA1 Message Date
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
Mike McLean
920f9b01be use name_or_id_clause in get_channel 2021-12-21 14:46:15 +01:00
Mike McLean
bcf423362b use name_or_id_clause in get_external_repos 2021-12-21 14:46:15 +01:00
Mike McLean
c87eba6bcd use name_or_id_clause in get_build_targets 2021-12-21 14:46:15 +01:00
Mike McLean
f87d1c3479 use name_or_id_clause in get_host 2021-12-21 14:46:15 +01:00
Mike McLean
5ee9c7396a use name_or_id_clause in get_tag 2021-12-21 14:46:15 +01:00
Mike McLean
e5fff34d0f fix unit tests 2021-12-21 14:46:15 +01:00
Mike McLean
98d3abd01a add name_or_id_clause function 2021-12-21 14:46:15 +01:00
Tomas Kopecek
b69f4b36e0 PR#3186: Don't fail on missing buildroot tag
Merges #3186
https://pagure.io/koji/pull-request/3186

Fixes: #3185
https://pagure.io/koji/issue/3185
buildtag policy test fails for some CGs
2021-12-21 12:32:04 +01:00
Tomas Kopecek
dd1843207b Don't fail on missing buildroot tag
Fixes: https://pagure.io/koji/issue/3185
2021-12-21 12:32:01 +01:00
Tomas Kopecek
55a6e06d79 PR#3189: buildtag_inherits_from docs
Merges #3189
https://pagure.io/koji/pull-request/3189

Fixes: #3187
https://pagure.io/koji/issue/3187
document buildtag_inherits_from policy test
2021-12-21 12:31:11 +01:00
Tomas Kopecek
b1791e1166 buildtag_inherits_from docs 2021-12-21 12:29:56 +01:00
Tomas Kopecek
f85f8951e0 PR#3104: Make setup.py executable
Merges #3104
https://pagure.io/koji/pull-request/3104
2021-12-20 09:10:46 +01:00