toddlers/docs/scm_request_processor.md
Michal Konečný 4cad77ca4c Add documentation for scm_request_processor
Add simple markdown file and flowchart diagram in SVG format.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-03-25 16:23:44 +01:00

876 B

SCM Request Processor

SCM Request processor is toddler created from https://pagure.io/fedscm-admin/ script. It process tickets on https://pagure.io/releng/fedora-scm-requests/ , validates them and creates the branch or repository if everything is OK.

Accepted topics

The SCM Request processor accepts few topics emitted by pagure. These topics allows it to process any newly created ticket or react to any ticket that is updated or commented on.

  • org.fedoraproject.*.pagure.issue.new - New issue on pagure created
  • org.fedoraproject.*.pagure.issue.edit - Issue on pagure is edited
  • org.fedoraporject.*.pagure.issue.comment.added - New comment is added to issue

Flowchart diagram

Flowchart diagram illustrates the code flow of the SCM Request Processor, what is being validated and what reaction is done if the validation fails.