On Sat, Mar 21, 2009 at 12:58 PM, Markos Chandras <hwoarang@gentoo.org> wrote:
> On Saturday 21 March 2009 21:41:39 Alec Warner wrote:
>> On Sat, Mar 21, 2009 at 7:11 AM, Ciaran McCreesh
>>
>> <ciaran.mccreesh@googlemail.com> wrote:
>> > On Sat, 21 Mar 2009 15:39:43 +0200
>> >
>> > Markos Chandras <hwoarang@gentoo.org> wrote:
>> >> I took a look on EAPI2 specifications but couldn't find how mirrors
>> >> behave with arrows.
>> >
>> > It's supposed to say this:
>> >> In EAPIs supporting arrows, if an arrow is used, the filename used
>> >> when saving to {DISTDIR} shall instead be the name on the right of
>> >> the arrow. When consulting mirrors (except for those explicitly
>> >> listed on the left of the arrow, if {mirror://} is used), the
>> >> filename to the right of the arrow shall be requested instead of the
>> >> filename in the URI.
>> >
>> > But it didn't, thanks to a formatting screwup. I've fixed that now.
>>
>> I think Markos is talking about the actual mirror-fetch script itself.
>> The gentoo mirrors still use a flat namespace so someone will need to
>> update mirror-fetch to rename files based on src_uri arrows. And by
>> 'someone' I mean Zac.
>>
>> -A
>>
>> > --
>> > Ciaran McCreesh
> Actually I didn't understand completely what Ciaran said. I am still not
> quite sure how mirrors treat the SRC_URI with arrows. Will they fetch the file
> from upstream as save it with the filename I specified on arrow or they will
> save it respecting the upstream filename?
I think you will encounter namespace collisions, thats why I CC'd zac
as he maintains mirror-dist ;p
> --
> Markos Chandras (hwoarang)
> Gentoo Linux Developer
> KDE/Qt/Sunrise/Sound
> Web: http://hwoarang.silverarrow.gr
>