Greetings.
In recent fedpkg/rpkg versions (at least the ones in rawhide now) it's
incorrectly looking for a namespaced (rpms vs anything else) lookaside
instead of the non namespaced one we have.
So, this gives:
% fedpkg -v srpm
Creating repo object from /home/kevin/git/pkgs/midori/master
Downloading midori_0.5.11_all_.tar.bz2
Full url:
http://pkgs.fedoraproject.org/repo/pkgs/rpms/midori/midori_0.5.11_all_.ta...
######################################################################## 100.0%
Could not execute srpm: Server returned status code 404
Traceback (most recent call last):
File "/usr/bin/fedpkg", line 16, in <module>
main()
File "/usr/lib/python2.7/site-packages/fedpkg/__main__.py", line 69, in main
sys.exit(client.args.command())
File "/usr/lib/python2.7/site-packages/pyrpkg/cli.py", line 1234, in srpm
self.cmd.sources()
File "/usr/lib/python2.7/site-packages/pyrpkg/__init__.py", line 1696, in
sources
hashtype=entry.hashtype, branch=self.branch_merge)
File "/usr/lib/python2.7/site-packages/pyrpkg/lookaside.py", line 174, in
download
raise DownloadError('Server returned status code %d' % status)
pyrpkg.errors.DownloadError: Server returned status code 404
And on upload it puts it in a rpms dir thats not correct.
We can see 3 packages already have this:
-bash-4.2$ pwd
/srv/cache/lookaside/pkgs/rpms
-bash-4.2$ ls -l
total 12
drwxr-sr-x. 3 apache apache 4096 Mar 15 12:21 compose-utils
drwxr-sr-x. 3 apache apache 4096 Mar 16 11:06 dbus
drwxr-sr-x. 3 apache apache 4096 Mar 16 11:00 xdg-app
So, I would like to do the following:
* Move all the /srv/cache/lookaside/pkgs/rpms/ to
their /src/cache/lookaside/pkgs/ versions.
* create a link from /srv/cache/lookaside/pkgs/rpms
to /srv/cache/lookaside/pkgs
This should fix this issue until we push out a fedpkg/rpkg fix or want
to namespace lookaside.
+1s?
kevin