#1312 frontend: provide status information for build chroots in APIv3
Merged 4 years ago by praiskup. Opened 4 years ago by frostyx.
copr/ frostyx/copr build-chroot-status  into  master

@@ -13,6 +13,7 @@ 

          "started_on": build_chroot.started_on,

          "ended_on": build_chroot.ended_on,

          "result_url": build_chroot.result_dir_url,

+         "state": build_chroot.state,

      }

  

  

RHBZ 1813227

I am naming the field state instead of status because

  1. We already return state (not status) for builds
  2. In our codebase status is a numeric value, state is its text
    representation

Pull-Request has been merged by praiskup

4 years ago