I uploaded a new package to COPR with source located at GitHub.
Every time I try to build it by either starting it manually or with the webhook, it fails with:
Downloading None
None
Exception raised during package import.
Traceback (most recent call last):
File "/usr/share/copr/dist_git/helpers.py", line 171, in download_file
r = get(url, stream=True, verify=False)
File "/usr/lib/python3.6/site-packages/requests/api.py", line 72, in get
return request('get', url, params=params, **kwargs)
File "/usr/lib/python3.6/site-packages/requests/api.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 494, in request
prep = self.prepare_request(req)
File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 437, in prepare_request
hooks=merge_hooks(request.hooks, self.hooks),
File "/usr/lib/python3.6/site-packages/requests/models.py", line 305, in prepare
self.prepare_url(url, params)
File "/usr/lib/python3.6/site-packages/requests/models.py", line 379, in prepare_url
raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/copr/dist_git/importer.py", line 75, in do_import
workdir
File "/usr/share/copr/dist_git/helpers.py", line 173, in download_file
raise FileDownloadException(str(e))
dist_git.exceptions.FileDownloadException: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?
sending a response for task {'build_id': 765433}
Sending back:
{"build_id": 765433}
Using the same spec as URL (manual build) works perfectly.
This package does not need any external component, as it only bundles a shell script.