| |
@@ -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.