No description
Find a file
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
builder kojid: extend SCM.assert_allowed with hub policy 2021-08-16 17:55:26 +00:00
cli fix flake8 2021-08-16 13:52:20 +02:00
devtools dev: use CentOS/Fedora registries for containers 2021-06-09 11:23:57 +02:00
docs doc: add signing documentation 2021-08-16 13:39:01 +02:00
hub kojid: extend SCM.assert_allowed with hub policy 2021-08-16 17:55:26 +00:00
koji kojid: extend SCM.assert_allowed with hub policy 2021-08-16 17:55:26 +00:00
plugins protonmsg: cast body to text 2021-08-06 09:48:47 +02:00
tests kojid: extend SCM.assert_allowed with hub policy 2021-08-16 17:55:26 +00:00
util PR#2958: DBConnectionString/dsn option for db connection 2021-08-06 09:57:05 +02:00
vm kojid: extend SCM.assert_allowed with hub policy 2021-08-16 17:55:26 +00:00
www Enable/disable channel 2021-07-20 10:33:50 +02:00
.coveragerc update .coveragerc to ignore p3 code 2021-05-25 11:44:54 +02:00
.coveragerc3 tests: fix coveragerc 2020-09-08 16:21:40 +02:00
.flake8 flake8: Ignore .tox 2020-09-08 16:20:19 +02:00
.gitignore Add koji.egg-info/ to .gitignore 2021-08-10 07:12:23 +03:00
Authors one last email test typo 2007-02-20 23:26:53 -05:00
COPYING update copyright 2014-10-28 23:54:21 -04:00
koji.next.md koji.next.md: drop RHEL 5 requirements 2018-11-14 12:16:13 -05:00
koji.spec setuptools BuildRequire for py3 2021-08-10 13:29:56 +02:00
LGPL Initial code drop 2007-02-14 11:25:01 -05:00
Makefile Run tests in virtualenvs using tox 2020-09-08 16:20:19 +02:00
README.md update irc info 2021-05-26 15:36:29 +02:00
requirements.txt Run tests in virtualenvs using tox 2020-09-08 16:20:19 +02:00
runtests sort imports for other scripts 2019-12-12 11:00:58 +00:00
setup.py attempting to bridge the gap with pip 2021-05-03 11:13:22 +02:00
test-requirements.txt drop py26 test requirements 2020-10-06 15:00:23 +02:00
tox.ini tests - Add support for running tox with specific test(s) 2021-06-01 22:59:06 -04:00

koji - RPM building and tracking system

Koji is an RPM-based build system. The Fedora Project uses Koji for their build system, as do several other projects.

Koji's goal is to provide a flexible, secure, and reproducible way to build software.

Key features:

  • New buildroot for each build
  • Robust XML-RPC APIs for easy integration with other tools
  • Web interface with SSL and Kerberos authentication
  • Thin, portable command line client
  • Users can create local buildroots
  • Buildroot contents are tracked in the database
  • Versioned data

Communicate

Bugs/RFEs

If you have found a bug or would like to request a new feature, please report an issue in Pagure.

Download

The koji source code can be downloaded with git via:

git clone https://pagure.io/koji.git

You may browse code at https://pagure.io/koji

Archived releases can be found at https://pagure.io/koji/releases

Documentation

See: https://docs.pagure.org/koji/

  • Mock: The tool Koji uses to generate buildroots
  • Yum
  • Pungi: Use Pungi to "compose" Koji builds into highly customizable Yum repositories.
  • Koji Tools: Various utilities for Koji
  • Kojiji: Koji Java Interface
  • txkoji: Async interface to Koji, using Twisted