Skip to content

arif-desu/koji-build-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Koji Build Automation

A program to interact with Koji server(s) to build RPM packages.

The aim of this project is to fetch package and tag info from upstream Koji instances such as from Fedora's instance and build those packages in a downstream koji instance, while keeping your patched compilers and/or custom RPM packages.


Setup Koji infrastructure

You can deploy your own Koji infrastructure following this guide.

Alternatively you may use the shell scripts here.

Requirements

  • python3.11+
  • poetry

Installation

Clone the repository

git clone https://github.com/arif-desu/koji-build-automation

Install

It is recommended that this package is used in a virtual environment.

poetry shell
poetry install

Usage

koji-rebuild CONFIGFILE

The CONFIGFILE is a YAML formatted file. See config.yaml for reference.


Methodology

This is a simplified flowchart:


Approach

Building and waiting on packages is heavily IO-bounded operation. Thus we employ asynchronous programming patterns to a big extent, utilizing generator objects and Python's asyncio library.


Reference

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages