Commit graph

9 commits

Author SHA1 Message Date
Ken Dreyer
e0682ac810 kojivmd: update example topurl
The usual name for this location is "kojifiles", not "kojiroot". Update
the example configuration to match what users will normally expect.
2022-11-08 17:23:02 -05: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
f8419e3626 remove deprecated krbV support
Fixes: https://pagure.io/koji/issue/1991
2020-07-24 15:08:47 -04:00
Yu Ming Zhu
2034695e88 add an option to set server realm for all clients 2019-10-10 16:37:56 +02:00
Till Maas
ffcf1a30eb Remove dead client CA code
The client CA is only needed to for authentication on the server side,
not for authentication on the client side. Therefore remove it from all
client login code.
2015-12-10 18:51:10 -05:00
Mike Bonnet
eea730300a - enable use of a Kerberos service name other than host/ on the hub
- get the Kerberos realm from the client principal, rather than assuming the last two components of the domain name
2011-01-06 15:54:53 -05:00
Mike Bonnet
fa5c7722cd support for retrieving buildrequires 2010-07-26 11:58:51 -04:00
Mike Bonnet
38f74ed5a0 - update the interface between the kojivmd and kojikamid
- allow --specfile and --patches to be passed to the VM
 - handle validation of urls in kojivmd
2010-07-19 16:23:31 -04:00
Mike Bonnet
64cc01be89 initial import of Koji VM code 2010-07-12 11:06:31 -04:00