Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hroncok/mini-mass-rebuild
How I do bulk Koji operations in Fedora
https://github.com/hroncok/mini-mass-rebuild
Last synced: 20 days ago
JSON representation
How I do bulk Koji operations in Fedora
- Host: GitHub
- URL: https://github.com/hroncok/mini-mass-rebuild
- Owner: hroncok
- Created: 2018-02-23T14:26:24.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-01-31T11:19:03.000Z (almost 3 years ago)
- Last Synced: 2024-12-01T18:51:05.257Z (about 1 month ago)
- Language: Python
- Homepage:
- Size: 137 KB
- Stars: 7
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Mini mass rebuild
-----------------This explains how I do bulk Koji operations in Fedora.
Note that this is not ready to use tool with nice command line API, this is
merely an example.**Note:** Make sure your `/usr/bin/parallel` comes from `moreutils-parallel`
package (not just `parallel`), or the following example won't work.Take the `fedpkg-build.sh` script and edit it to suite your needs. And then
invoke it in parallel:```console
$ cd empty_directory
$ parallel -j 12 bash ../fedpkg-build.sh -- $(cat ../packages.txt)
```It takes packages as positional arguments, here provided via `cat`. You can
also boost the parallelism by increasing the number `12` given to `-j` :)The script logs, so you can later analyze the logs with grep.
Note that `fedpkg clone` fails now and then, so you can grep the logs for
`Could not execute clone` and rerun those packages once again.
If it would bother you too much, you can add retrying to the script.(Consider this repo [CC0](https://creativecommons.org/publicdomain/zero/1.0/deed.en).)