Re: Freeze break: link on pkgs lookaside for fedpkg namespace changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 16, 2016 at 3:33 PM, Kevin Fenzi <kevin@xxxxxxxxx> 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.
>
> 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_.tar.bz2/md5/fcc03ef759fce4fe9f2446d9da4a065e/midori_0.5.11_all_.tar.bz2
> ######################################################################## 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?


+1 from me
_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux