Problem with file: URLs

Jesse Keating jkeating at redhat.com
Thu Nov 16 21:38:22 UTC 2006


On Thursday 16 November 2006 13:47, Orion Poplawski wrote:
> Looks like repo.getPackage(pkg) doesn't actually do anything if it is a
> file: url:
>
>              repo.getPackage(pkg)
>              os.link(local, os.path.join(pkgdir, os.path.basename(remote)))
>
> so there is nothing to link when we get to os.link.  Looks like for
> file: urls we'll need to find the path to the package in the repo and
> link (or copy, if needed) that

Yeah, I found this bug the other day, whoops :/  I'll be adding a work around.  
For now, you could turn your file:/// repo into a http://localhost repo with 
little effort, if it will keep you going.

-- 
Jesse Keating
Release Engineer: Fedora
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/buildsys/attachments/20061116/f63a31fd/attachment.bin 


More information about the buildsys mailing list