#257 CI/CD: Marking PR status as Pending when new build starts
Merged by rayson. Opened by rayson.
rayson/waiverdb cicd-enhance-pr-status  into  master

Download 257.patch

Following https://pagure.io/waiverdb/issue/256.

When a new build starts, clear the percent field in the PR flag so
that Pagure UI will show a Pending label.

rebased onto 5b1d11ac2bf5ec4fb41af0c67bfd9a3b9972f648

+1 Nice.

Would it be also possible to use setBuildStatusOnPagurePR(null, 'Running') after the build URL is available?

@lholecek That is a good suggestion.

BTW, it seems the polling job goes larger and larger. I am planning to move most of the logic to a separated job after #256 is done in order to keep the polling job minimal.

rebased onto db6e57138c7b22110c4cb07b541deffec20a6396

+1, nice

rebased onto c9c712e637bc79d87aea605ba31f9fcd0cef114c

Commit 4cbd2a44 fixes this pull-request

Pull-Request has been merged by rayson

Pull-Request has been merged by rayson

Metadata