1
0
Fork
You've already forked koschei-filter
0
  • Go 100%
2025年09月16日 19:51:26 -05:00
.builds ci: configure 2025年09月16日 19:50:01 -05:00
koschei Move koschei code to a separate module 2025年09月16日 19:39:16 -05:00
.gitignore init 2025年09月16日 19:33:08 -05:00
go.mod init 2025年09月16日 19:33:08 -05:00
go.sum init 2025年09月16日 19:33:08 -05:00
LICENSE init 2025年09月16日 19:33:08 -05:00
main.go Move koschei code to a separate module 2025年09月16日 19:39:16 -05:00
main_test.go Move koschei code to a separate module 2025年09月16日 19:39:16 -05:00
README.md doc: add CI status badge 2025年09月16日 19:51:26 -05:00

koschei-filter

builds.sr.ht status

This is a helper for https://koschei.fedoraproject.org. When performing test rebuilds as a package maintainer, it is useful to have a list of existing failures. This uses the "experimental" API defined in https://github.com/fedora-infra/koschei/blob/master/koschei/frontend/api.py.

Installation

Install golang and then you can install this using go install.

go install go.gtmx.me/koschei-filter

Example Usage

$ copr monitor $COPR --output-format text-row --fields name,state | grep 'failed$' | cut -f1 > failures.txt
$ koschei-filter -i failures.txt

Help

(Please run koschei-filter --help for up-to-date results.)

$ koschei-filter --help
Given a newline separated list of source package names (INPUT),
write only those that built successfully in Koji for the given
COLLECTION to OUTPUT.
Usage:
 koschei-filter COLLECTION [flags]
Flags:
 -h, --help help for koschei-filter
 -i, --input string Input file; defaults to stdin (default "-")
 -I, --invert Invert and only show failed
 -o, --output string Output file; defaults to stdout (default "-")
 --url string URL to Koschei instance (default "https://koschei.fedoraproject.org")