Learn more about these different git repos.
Other Git URLs
$ cd cli $ ./copr build ping postgresql-10.5-4.fc30.src.rpm Bad request parameters: {'pkgs': ["A list of http[s] URLs separated by whitespace characters is needed ('postgresql-10.5-4.fc30.src.rpm' doesn't seem to be a valid URL)."]}
Metadata Update from @frostyx: - Issue assigned to frostyx
Metadata Update from @frostyx: - Issue tagged with: API
It seems to work, actually
[jkadlcik@chromie cli]$ PYTHONPATH=/home/jkadlcik/git/copr/python/ ./copr build @copr/foo ~/Downloads/hello-2.8-1.fc23.src.rpm --nowait Uploading package /home/jkadlcik/Downloads/hello-2.8-1.fc23.src.rpm 100% |################################| 720kB 61.8MB/s eta 0:00:00Build was added to foo: http://localhost:5000/coprs/build/2975 Created builds: 2975
The original error is printed when trying to submit a non-existing file.
[jkadlcik@chromie cli]$ PYTHONPATH=/home/jkadlcik/git/copr/python/ ./copr build @copr/foo ~/Downloads/nonexisting-2.8-1.fc23.src.rpm --nowait Bad request parameters: {'pkgs': ["A list of http[s] URLs separated by whitespace characters is needed ('/home/jkadlcik/Downloads/nonexisting-2.8-1.fc23.src.rpm' doesn't seem to be a valid URL)."]}
I wanted to just clarify that. It is not a user-friendly error and it should be fixed.
Right, sorry. I did not double check that.
Metadata Update from @praiskup: - Issue untagged with: release-blocker
The previous behavior was:
Something went wrong: Error: [Errno 2] No such file or directory: 'postgresql-10.5-4.fc30.src.rpm'
Modified in PR#430
Ok, moving to #430
Metadata Update from @praiskup: - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.