#3406 Add a utility function to watch builds
Merged by tkopecek. Opened by tkopecek.
tkopecek/koji issue2981  into  master

Download 3406.patch

3 new commits added

  • exception-free watch_builds
  • Add utility function to watch builds
  • Add unit test for buildLabel

3 new commits added

  • exception-free watch_builds
  • Add utility function to watch builds
  • Add unit test for buildLabel

Heh. That's very Go, but hey... it works!

rebased onto 2b85a578529311e7c712dff16c8c3a7f959de33e

pretty please pagure-ci rebuild

This is a direct relocation of the logic that was formerly in anon_handle_wait_repo(), the only changes are those necessary for it to work as a standalone function. I don't see any obvious issues with the relocation.

I'm not sure the function name is correct. This is distinctly about watching for builds to appear in a repo. In fact, apart from a bit of argument juggling, this function essentially IS the wait-repo command.

So, I've renamed it to wait_repo, watch_repo looks a bit inconsistent with CLI, but it is also an option.

rebased onto c1e2cb41617f258c28e915435f4deb2ad2075fa5

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

Metadata Update from @jobrauer:
- Pull-request tagged with: testing-done

Commit fad0eed2 fixes this pull-request

Pull-Request has been merged by tkopecek

Metadata