On Wed, Mar 16, 2016 at 09:33:20AM -0600, Kevin Fenzi wrote:
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.
AFAIK we haven't pushed changes to fedpkg/rpkg related to the namespacing, so it
might be something that changed in the repo making the old code behaving
inconsistently.
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.
What is the git remote URL for this repo?
I suspect that's what fedpkg/rpkg are using and therefore the source of the
problem.
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?
+1 for me, we should get the situation fixed anyway (+ if my intuition is
correct we'll have a chicken-egg problem between this and the package with ++ in
their names).
Pierre