Tomas Kopecek
7a4b17005a
expose force_auth in config
2021-09-14 13:26:11 +02:00
Tomas Kopecek
5d86608931
Honour --force-auth for anonymous commands
...
Fixes: https://pagure.io/koji/issue/2657
2021-09-14 13:26:11 +02:00
Tomas Kopecek
1269317618
PR#3022: move btypes from headers to body of proton message
...
Merges #3022
https://pagure.io/koji/pull-request/3022
Fixes : #3017
https://pagure.io/koji/issue/3017
[protonmsg] btypes in msg header should be a string rather than a dict
2021-09-14 09:28:27 +02:00
Tomas Kopecek
c41559f1e9
move btypes from headers to body of proton message
...
Fixes: https://pagure.io/koji/issue/3017
2021-09-14 09:28:21 +02:00
Tomas Kopecek
70817c9cea
PR#3026: add warnings for remove-sig
...
Merges #3026
https://pagure.io/koji/pull-request/3026
2021-09-13 10:08:39 +02:00
Ken Dreyer
f6aeec9265
add warnings for remove-sig
...
Update all references to remove-sig to explain that admins should not
normally run this.
2021-09-10 11:13:39 -04:00
Tomas Kopecek
e81138d51c
PR#3002: Fix scripts for koji pkg and drop utils from py2
...
Merges #3002
https://pagure.io/koji/pull-request/3002
Fixes : #3001
https://pagure.io/koji/issue/3001
Base koji package contains all scripts (py2 version)
2021-09-09 13:37:45 +02:00
Jana Cupova
4804bdb7db
Fix scripts for koji pkg and drop utils from py2
...
Fixes: https://pagure.io/koji/issue/3001
2021-09-09 13:37:38 +02:00
Tomas Kopecek
f9865789db
PR#3023: hub: fix docs for listBuilds "state" parameter name
...
Merges #3023
https://pagure.io/koji/pull-request/3023
2021-09-09 10:38:10 +02:00
Ken Dreyer
fdc3f8561a
hub: fix docs for listBuilds "state" parameter name
...
The listBuilds method takes a parameter named "state", not "stage".
Update the docstring to reflect this.
2021-09-08 15:34:58 -04:00
Tomas Kopecek
d90fb86318
PR#2999: set-task-priority fix permission error
...
Merges #2999
https://pagure.io/koji/pull-request/2999
Fixes : #2969
https://pagure.io/koji/issue/2969
set-task-priority prints confusing error
2021-09-08 17:21:37 +02:00
Jana Cupova
91ff7f95ae
set-task-priority fix permission error
...
Fixes: https://pagure.io/koji/issue/2969
2021-09-08 17:21:30 +02:00
Tomas Kopecek
b41e5473a5
PR#3000: Add all types to docs latest-build and readTaggedBuilds
...
Merges #3000
https://pagure.io/koji/pull-request/3000
Fixes : #2953
https://pagure.io/koji/issue/2953
update cli and API docs for build types
2021-09-08 17:17:36 +02:00
Jana Cupova
e48d813433
Add all types to docs latest-build and readTaggedBuilds
...
Fixes: https://pagure.io/koji/issue/2953
2021-09-08 17:17:23 +02:00
Tomas Kopecek
5fca74c9f1
PR#2993: import guestfs before dnf
...
Merges #2993
https://pagure.io/koji/pull-request/2993
Fixes : #2964
https://pagure.io/koji/issue/2964
Unable to build docker images in CentOS 8.3+
2021-09-08 14:55:25 +02:00
Tomas Kopecek
4b458ac056
import guestfs before dnf
...
Fixes: https://pagure.io/koji/issue/2964
2021-09-08 14:55:18 +02:00
Tomas Kopecek
592f43bb4d
PR#3021: hub: fix getBuild documented parameter name
...
Merges #3021
https://pagure.io/koji/pull-request/3021
2021-09-08 13:08:51 +02:00
Ken Dreyer
b4eeac10ea
hub: fix getBuild documented parameter name
...
The getBuild method takes a parameter named buildInfo, not buildID.
Update the docstring to reflect this.
2021-09-07 17:31:51 -04:00
Tomas Kopecek
98c687f0b3
PR#3016: Fix disabled and enabled option when empty result + fix list-hosts shows * with disabled channels
...
Merges #3016
https://pagure.io/koji/pull-request/3016
Fixes : #3015
https://pagure.io/koji/issue/3015
CLI list-channels with --enabled or --disabled returns IndexError when there isn't any enabled or disabled channel
2021-09-06 11:09:49 +02:00
Jana Cupova
9740c1afd7
Fix list-hosts with show-channels shows * with disabled channels
2021-09-03 14:48:56 +02:00
Jana Cupova
b79f8e0462
Fix disabled and enabled option when empty result
...
Fixes: https://pagure.io/koji/issue/3015
2021-09-03 11:11:32 +02:00
Tomas Kopecek
2116f565a5
PR#3013: hub: document listHosts method
...
Merges #3013
https://pagure.io/koji/pull-request/3013
2021-09-03 10:10:22 +02:00
Ken Dreyer
acf7f7d2eb
hub: document listHosts method
...
Update the listHosts RPC docstring to describe all parameters and
the return value.
2021-09-02 15:56:23 -04:00
Tomas Kopecek
2a74b93d2f
PR#3004: create symlink before import
...
Merges #3004
https://pagure.io/koji/pull-request/3004
Fixes : #3003
https://pagure.io/koji/issue/3003
completeWinBuild doesn't create symlink in the right time
2021-08-31 09:15:38 +02:00
Tomas Kopecek
8003f66957
create symlink before import
...
Fixes: https://pagure.io/koji/issue/3003
2021-08-30 11:09:35 +02:00
Tomas Kopecek
1dd05bea87
PR#2991: CLI channels, hosts methods works with older hub
...
Merges #2991
https://pagure.io/koji/pull-request/2991
Fixes : #2990
https://pagure.io/koji/issue/2990
list-channels is not working when Koji 1.26 CLI and older hub
2021-08-30 09:24:31 +02:00
Jana Cupova
43421a8e76
CLI channels, hosts methods works with older hub
...
Fixes: https://pagure.io/koji/issue/2990
2021-08-30 09:24:22 +02:00
Tomas Kopecek
1c3e73dfd1
PR#2997: README: add koji-hs project
...
Merges #2997
https://pagure.io/koji/pull-request/2997
2021-08-26 10:40:32 +02:00
Ken Dreyer
9bd6bb4447
README: add koji-hs project
...
Add link to Koji Haskell project
2021-08-26 10:40:26 +02:00
Tomas Kopecek
707df7dbe6
PR#2996: doc: add instructions for SSL DB connections
...
Merges #2996
https://pagure.io/koji/pull-request/2996
2021-08-25 11:27:03 +02:00
Ken Dreyer
1434835ef7
doc: add instructions for SSL DB connections
...
Walk through an advanced workflow of enabling SSL connections for
postgresql.
2021-08-24 12:31:43 -04:00
Tomas Kopecek
3aeefaaec8
PR#2994: doc: fix "koji" CLI command name in signing instructions
...
Merges #2994
https://pagure.io/koji/pull-request/2994
2021-08-24 16:59:33 +02:00
Ken Dreyer
7a9479a9cd
doc: fix "koji" CLI command name in signing instructions
...
"kojidev" is a local alias I use for my dev koji instances. Use the
canonical command name instead to match the rest of the instructions.
2021-08-24 16:59:24 +02:00
Tomas Kopecek
c14c62caae
PR#2995: fix "an user" -> "a user" grammar in help text and errors
...
Merges #2995
https://pagure.io/koji/pull-request/2995
2021-08-24 16:57:28 +02:00
Ken Dreyer
0adec2fd38
fix "an user" -> "a user" grammar in help text and errors
2021-08-24 10:54:03 -04:00
Tomas Kopecek
2ca7cceaa2
PR#2988: Release notes 1.26
...
Merges #2988
https://pagure.io/koji/pull-request/2988
Fixes : #2983
https://pagure.io/koji/issue/2983
1.26 Release notes
2021-08-23 11:09:48 +02:00
Tomas Kopecek
1e5f0ef745
Release notes 1.26
...
Fixes: https://pagure.io/koji/issue/2983
2021-08-23 11:09:41 +02:00
Tomas Kopecek
1002a11afa
fix flake8
2021-08-18 13:24:24 +02:00
Tomas Kopecek
6d4abedb86
PR#2951: kojid: extend SCM.assert_allowed with hub policy
...
Merges #2951
https://pagure.io/koji/pull-request/2951
Fixes : #2757
https://pagure.io/koji/issue/2757
RFE: scratch build specific allowed_scms?
2021-08-18 13:23:30 +02:00
Yu Ming Zhu
bc272c0532
[doc][defining_hub_policies] update the doc
2021-08-18 09:47:10 +00:00
Yu Ming Zhu
b35811ed56
fix config typo
2021-08-16 17:55:26 +00:00
Yu Ming Zhu
cdbebd963d
[hub] add non-host evalPolicy API
2021-08-16 17:55:26 +00:00
Yu Ming Zhu
601cd33902
use scm_ as the prefix instead of scm for scminfo
2021-08-16 17:55:26 +00:00
Yu Ming Zhu
f1ba3b0ec0
update doc
2021-08-16 17:55:26 +00:00
Yu Ming Zhu
a3f19e0f12
more reasonable parameter name, and more doc strs
2021-08-16 17:55:26 +00:00
Yu Ming Zhu
47c4b5d70b
kojid: extend SCM.assert_allowed with hub policy
...
This is a simple extention of `SCM.assert_allowed`
- `assert_allowed_by_policy` will set the default "use_common" to False which is different to the old behavior
- `channel`, `user_id`, `scratch` are passed in the `policy_data` with scminfo right now.
This is a prototype for this change, and there are some other solutions could be implemented too
- Use a scmpolicy plugin as `postSCMCheckout` callback, the pro is that we can do more checks after the source is initialized on builder, meanwhile, the con is that the source will be downloaded even it is denied by policy. It might be a potential risk?
- Do the scm check in hub's `make_task`, this looks straightforward, but may lack some builder's information
fixes : #2757
2021-08-16 17:55:26 +00:00
Tomas Kopecek
ec70d21c41
fix flake8
2021-08-16 13:52:20 +02:00
Tomas Kopecek
3d7bea6f68
PR#2952: cli: "download-logs --help" fixes
...
Merges #2952
https://pagure.io/koji/pull-request/2952
2021-08-16 13:51:07 +02:00
Ken Dreyer
241f4874e8
cli: improve help text for download-logs --match
...
Update the --help text to clarify that --match will match log filenames,
not log contents, and the matching algorithm is fnmatch.
2021-08-16 13:51:01 +02:00
Ken Dreyer
0837acdf67
cli: improve help text for download-logs --nvr
...
Explain that the --nvr option is an alternative to simply specifying a
task ID. In particular, this will not download the *build's* logs, just
the task logs for that build.
2021-08-16 13:51:01 +02:00