Fedora package reviews CI
For years, there has been a queue of hundreds of packages waiting to be reviewed and added to Fedora. Clearly, we don't have enough manpower to process the queue.
This project aims to provide a CI for automatically building and reviewing the packages, and helping contributors with fixing the most obvious issues. Therefore reducing the time that a reviewer needs to spend on each package as much as possible.
fedora-messaging
messages about new RHBZ package review
tickets, and new comments in them containing updated packagesfedora-messaging
messages about finished Copr builds, and
parse the review.json filefedora-review+
approval, create a new
package sponsor request[fedora-review-service-build]
-
it triggers a new Copr build from the latest SRPM URL in the
comment historyfedora-review+
Doesn't matter if you are running this service on your host system, in
a docker-compose
or in OpenShift, a manual step is required. Please
configure your API tokens first
Just for the record, we are using fedora-messaging
configuration files from
here https://github.com/fedora-infra/fedora-messaging/blob/stable/configs/
Run the fedora-review-service consumer
PYTHONPATH=. fedora-messaging --conf conf/fedora.toml consume --callback="fedora_review_service.consumer:consume"
Or process just a single message, e.g.
PYTHONPATH="." run/fedora-review-service-process-message 4bfcdd3c-591e-4287-8966-0c485aa1ccfc
You can also run the service inside a Docker container
docker-compose up -d
See more about OpenShift deployment
You can see the fedora-messaging
feed in your browser
https://apps.fedoraproject.org/datagrepper/v2/search
CONFIG=conf/fedora-review-service-tests.yaml python -m pytest -vv -s
I have also these RHBZ tickets for manual testing