rescuecd.spec - problems with sending build request

Elan Ruusamäe glen at pld-linux.org
Wed Mar 19 11:34:25 CET 2008


On Tuesday 18 March 2008 22:58:53 Kamil Dziedzic wrote:
> Dnia wtorek 18 marzec 2008, Elan Ruusamäe napisał:
> > this could be either by the fact that it is not fetched, or something
> > doesn't like filename in form 'rcdmod?x86_64' (containing question mark)
>
> Ok I know what is the problem. Builder should encode urls when fetching
> from distfiles.
>
> Now it try to get:
> ftp://distfiles.pld-linux.org/distfiles/by-md5/d/7/d712792e3216e49aec85bf50
>46d1e212/rcdmod?x86 This doesn't work.
>
> But it should try to get:
> ftp://distfiles.pld-linux.org/distfiles/by-md5/d/7/d712792e3216e49aec85bf50
>46d1e212/rcdmod%3fx86 This works.
>
> Any reasons to not do that?
>
> Do we have any simple script for url encoding?

this all depends how you fetch the file, via squid proxy both urls work, and 
the file is saved as 'rcdmod?x86' on distfiles. and all the other things 
apply that patrys said.

sometimes you can workaround and append /filename in url:

/rcdmod?x86/x86
or even:
/rcdmod?x86&foo=/x86
depending on web application giving you that url

and always possible to upload file with custom name to distfiles and use nourl 
sources in such cases.

-- 
glen


More information about the pld-devel-en mailing list