#832 dist-git: add offline argument to my_upload
Merged 4 years ago by praiskup. Opened 4 years ago by praiskup.
Unknown source fix-dist-git  into  master

@@ -31,7 +31,7 @@

  import_lock = multiprocessing.Lock()

  

  def my_upload_fabric(opts):

-     def my_upload(repo_dir, reponame, abs_filename, filehash):

+     def my_upload(repo_dir, reponame, abs_filename, filehash, offline=False):

          """

          This is a replacement function for uploading sources.

          Rpkg uses upload.cgi for uploading which doesn't make sense

Reported by @msuchy, transitively by koschei:
https://apps.fedoraproject.org/koschei/package/copr-dist-git?collection=f30

rpkg project added --offline argument in
810b2f7efda65ba369f1bb865f25d351915db1ab commit, which triggered
FTBFS. We don't have to take care of --offline mode now, so
simply add the argument, and keep it unused.

we are loosing messages from copr, for some reason [copr-build]

ok, broken repos again [copr-build]

Pull-Request has been merged by praiskup

4 years ago