Tomas Kopecek
bd1b996e69
PR#3237: Remove taskReport API call
...
Merges #3237
https://pagure.io/koji/pull-request/3237
Fixes : #3032
https://pagure.io/koji/issue/3032
Remove deprecated taskReport
2022-03-21 14:28:35 +01:00
Jana Cupova
dc58186d1f
Remove taskReport API call
...
Fixes: https://pagure.io/koji/issue/3032
2022-03-21 14:28:29 +01:00
Alex Iribarren
68040263d3
Fix syntax error
...
Fixes: https://pagure.io/koji/issue/3264
2022-02-25 08:47:38 +01:00
Tomas Kopecek
77aec93b98
Revert "refactor exceptions to koji.exceptions"
...
This reverts commit 1e00081991 .
2022-02-21 12:33:25 +01:00
Tomas Kopecek
fd84571f82
Revert "add "NoSuch" custom exceptions"
...
This reverts commit 3ff8eef322 .
2022-02-21 12:33:18 +01:00
Tomas Kopecek
a99c695728
PR#3240: [WIP] Koji 1.28.0 release notes
...
Merges #3240
https://pagure.io/koji/pull-request/3240
Fixes : #3224
https://pagure.io/koji/issue/3224
1.28 release notes
2022-02-21 12:27:47 +01:00
Tomas Kopecek
a9e440e725
fix typo
2022-02-10 15:45:01 +01:00
Tomas Kopecek
7081ce90db
Koji 1.28.0 release notes
...
Fixes: https://pagure.io/koji/issue/3224
2022-02-10 15:45:01 +01:00
Ken Dreyer
3ff8eef322
add "NoSuch" custom exceptions
...
Add more custom exception classes. This will allow to programmatically
determine the error causes from complex RPCs.
This commit simply defines the new classes and fault codes. Nothing in
Koji's codebase uses these exceptions yet. We'll begin to raise these
exceptions after this is widely deployed for clients in the field.
2022-02-10 15:44:04 +01:00
Ken Dreyer
1e00081991
refactor exceptions to koji.exceptions
...
Move Koji's custom exceptions classes to a dedicated koji.exceptions
library. This organizes the code so it's easier to maintain, and matches
patterns in other well-known projects, like requests.exceptions or
cryptography.exceptions.
2022-02-10 15:44:04 +01:00
Tomas Kopecek
e73b0680ae
PR#3247: Fix makedirs for existing dirs
...
Merges #3247
https://pagure.io/koji/pull-request/3247
Fixes : #3097
https://pagure.io/koji/issue/3097
Write signed copies atomically
2022-02-07 15:09:37 +01:00
Jana Cupova
968eb61055
Fix makedirs for existing dirs
...
Fixes: https://pagure.io/koji/issue/3097
2022-02-07 15:04:34 +01:00
Tomas Kopecek
25d4f48697
PR#3203: Hide sensitive values in urrlib3 exceptions
...
Merges #3203
https://pagure.io/koji/pull-request/3203
Fixes : #2801
https://pagure.io/koji/issue/2801
some failures can reveal session-id and session-key on output
2022-02-07 11:11:26 +01:00
Tomas Kopecek
06b5f7c188
Hide sensitive values in urrlib3 exceptions
...
Fixes: https://pagure.io/koji/issue/2801
2022-02-07 11:10:19 +01:00
Tomas Kopecek
f2d35fe0a7
PR#3245: Escape builds, tasks and tags name
...
Merges #3245
https://pagure.io/koji/pull-request/3245
Fixes : #3155
https://pagure.io/koji/issue/3155
Remove regexp validation from webui
2022-02-07 10:47:53 +01:00
Jana Cupova
ca7e67d808
Escape builds, tasks and tags name
...
Fixes: https://pagure.io/koji/issue/3155
2022-02-07 10:45:27 +01:00
Tomas Kopecek
3faca02c28
PR#3239: Write signed copies atomically
...
Merges #3239
https://pagure.io/koji/pull-request/3239
Fixes : #3097
https://pagure.io/koji/issue/3097
Write signed copies atomically
2022-02-07 10:13:05 +01:00
Jana Cupova
c1920b330a
Write signed copies atomically
...
Fixes: https://pagure.io/koji/issue/3097
2022-02-07 10:12:57 +01:00
Tomas Kopecek
db6931b735
PR#3228: api: checksum_type filter for listArchives
...
Merges #3228
https://pagure.io/koji/pull-request/3228
Fixes : #3227
https://pagure.io/koji/issue/3227
listArchives should allow also checksum_type specification.
2022-02-07 10:10:31 +01:00
Tomas Kopecek
01c0f91d62
update docstring
2022-02-07 10:10:23 +01:00
Tomas Kopecek
66a94f045e
api: checksum_type filter for listArchives
...
Related: https://pagure.io/koji/issue/3227
2022-02-07 10:10:23 +01:00
Tomas Kopecek
7fe0d10d60
PR#3173: db: logging option for cursor
...
Merges #3173
https://pagure.io/koji/pull-request/3173
Fixes : #2837
https://pagure.io/koji/issue/2837
failed queries are always logged as errors, even when expected
2022-02-07 10:07:59 +01:00
Tomas Kopecek
6aaa6b3248
rename option
2022-02-07 10:07:26 +01:00
Tomas Kopecek
0449aa4829
fix tests
2022-02-07 10:01:21 +01:00
Tomas Kopecek
e7db7d8b53
db: logging option for cursor
...
In some cases we expect query to fail (LOCK NOWAIT) but it still
clutters the logs. Option for not logging cursor-level errors.
Fixes: https://pagure.io/koji/issue/2837
2022-02-07 10:01:21 +01:00
Tomas Kopecek
bc04708990
PR#3230: hub: whitelist arch-agnostic logs for image tasks
...
Merges #3230
https://pagure.io/koji/pull-request/3230
Fixes : #3229
https://pagure.io/koji/issue/3229
Store image logs per arch
2022-02-07 09:59:11 +01:00
Tomas Kopecek
fb50dcc2ad
fix tests
2022-02-07 09:58:01 +01:00
Tomas Kopecek
a02550c248
hub: whitelist arch-agnostic logs for image tasks
...
Related: https://pagure.io/koji/issue/3229
2022-02-07 09:45:01 +01:00
Tomas Kopecek
084a19da8b
PR#3175: Escape html values
...
Merges #3175
https://pagure.io/koji/pull-request/3175
Fixes : #3155
https://pagure.io/koji/issue/3155
Remove regexp validation from webui
2022-02-07 09:37:11 +01:00
Jana Cupova
c83d4598de
Escape html values
...
Fixes: https://pagure.io/koji/issue/3155
2022-02-07 09:36:59 +01:00
Tomas Kopecek
987946478e
PR#3225: createrepo_c should fail on all errors
...
Merges #3225
https://pagure.io/koji/pull-request/3225
Fixes : #3190
https://pagure.io/koji/issue/3190
createrepo doesn't return error code when some files don't exist
2022-02-07 09:34:39 +01:00
Tomas Kopecek
c061f56ab4
update Require to createrepo_c 0.11.0
2022-02-07 09:34:31 +01:00
Tomas Kopecek
664043d0c5
createrepo_c should fail on all errors
...
Related: https://pagure.io/koji/issue/3190
2022-02-07 09:34:31 +01:00
Tomas Kopecek
d5a8f5cca0
PR#3039: mock.module_setup_commands tag extra option
...
Merges #3039
https://pagure.io/koji/pull-request/3039
Fixes : #2483
https://pagure.io/koji/issue/2483
Add support for configuring modules for build tags sourced by external repos
2022-02-07 09:33:35 +01:00
Tomas Kopecek
3ee95baa5f
mock.module_setup_commands tag extra option
...
Fixes: https://pagure.io/koji/issue/2483
2022-02-07 09:33:14 +01:00
Tomas Kopecek
0ea9b1f056
PR#3243: Increase CLI unit tests
...
Merges #3243
https://pagure.io/koji/pull-request/3243
2022-02-07 09:21:05 +01:00
Jana Cupova
4c50c5fe92
Increase CLI unit tests
2022-02-07 09:20:58 +01:00
Tomas Kopecek
e3aeb0c1f1
PR#3244: doc: clarify hub configuration permissions
...
Merges #3244
https://pagure.io/koji/pull-request/3244
2022-02-07 08:46:03 +01:00
Ken Dreyer
4320316326
doc: clarify hub configuration permissions
...
Name the exact configuration file we want users to restrict with
filesystem permissions.
2022-02-04 14:38:54 -05:00
Tomas Kopecek
c2b238c603
PR#3242: Remove json check from import-cg CLI
...
Merges #3242
https://pagure.io/koji/pull-request/3242
Fixes : #3241
https://pagure.io/koji/issue/3241
Remove json check in import-cg CLI
2022-02-03 10:19:15 +01:00
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