#571 [backend] use the correct data for rawhide_to_release createrepo
Merged 5 years ago by msuchy. Opened 5 years ago by frostyx.
copr/ frostyx/copr fix-r2r-createrepo  into  master

file modified
+1 -1
@@ -347,7 +347,7 @@ 

                          f.write("\nfrom_chroot={}".format(data["rawhide_chroot"]))

  

              createrepo(path=chrootdir, front_url=self.front_url,

-                        username=data["user"], projectname=data["copr"],

+                        username=data["ownername"], projectname=data["projectname"],

                         override_acr_flag=True)

          except:

              result.result = ActionResult.FAILURE

The data parameters got renamed in 9e5deb5 as well as the
handle_rawhide_to_release method, to reflect that change.
However, the parameters for createrepo was forgotten and now
it fails with KeyError.

rebased onto 714fd9f

5 years ago

Pull-Request has been merged by msuchy

5 years ago
Metadata