#6472 Support namespaced module name in lookaside upload script
Closed: Fixed 6 years ago Opened 6 years ago by cqi.

This is relative to https://pagure.io/fedpkg/issue/130

New version of fedpkg is able to send namespace along with module name to lookaside when executing new-sources command. But currently this is not supported by lookaside upload.cgi script. Error is

[root@0bb9928d9a6e rpkg]# fedpkg-stage -d -v new-sources rpkg-1.46.tar.gz 
Creating repo object from /root/rpkg
Status: 404 Not Found
Content-type: text/plain

Module "rpms/rpkg" does not exist!
Could not execute new_sources: Error checking for rpkg-1.46.tar.gz at https://src.stg.fedoraproject.org/repo/pkgs/upload.cgi
Traceback (most recent call last):
  File "/usr/bin/fedpkg-stage", line 11, in <module>
    load_entry_point('fedpkg==1.30', 'console_scripts', 'fedpkg-stage')()
  File "/usr/lib/python2.7/site-packages/fedpkg/__main__.py", line 77, in main
    sys.exit(client.args.command())
  File "/usr/lib/python2.7/site-packages/pyrpkg/cli.py", line 1585, in new_sources
    self.cmd.upload(self.args.files, replace=self.args.replace)
  File "/usr/lib/python2.7/site-packages/pyrpkg/__init__.py", line 2429, in upload
    f, file_hash)
  File "/usr/lib/python2.7/site-packages/pyrpkg/lookaside.py", line 296, in upload
    if self.remote_file_exists(name, filename, hash):
  File "/usr/lib/python2.7/site-packages/pyrpkg/lookaside.py", line 275, in remote_file_exists
    % (filename, self.upload_url))
pyrpkg.errors.UploadError: Error checking for rpkg-1.46.tar.gz at https://src.stg.fedoraproject.org/repo/pkgs/upload.cgi

Note that I haven't got permissions to deploy the new package as far as I know so someone else will need to do that part.

The new version of dist-git and config update have been pushed out, so this issue is fixed.

Metadata Update from @puiterwijk:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

6 years ago

Login to comment on this ticket.

Metadata