#241 [frontend] enable chroot for every project that follows branching
Merged 6 years ago by frostyx. Opened 6 years ago by frostyx.
copr/ frostyx/copr r2r-turn-on-the-chroot  into  master

@@ -165,6 +165,8 @@ 

              if not self.has_rawhide(copr) or not copr.follow_fedora_branching:

                  continue

  

+             self.turn_on_the_chroot_for_copr(copr, rawhide_chroot, mock_chroot)

+ 

              data = {"copr": copr.name,

                      "user": copr.user.name,

                      "rawhide_chroot": rawhide_chroot,
@@ -189,7 +191,6 @@ 

  

              if len(data["builds"]):

                  actions_logic.ActionsLogic.send_rawhide_to_release(data)

-                 self.turn_on_the_chroot_for_copr(copr, rawhide_chroot, mock_chroot)

  

          db.session.commit()

  

We want to enable chroot for every project that follows branching. Doesn't matter whether it has any builds, that should be forked on backend, or not.

Pull-Request has been merged by frostyx

6 years ago
Metadata