[pacman-dev] PATHNAME in sync/*/desc

Roman Kyrylych roman.kyrylych at gmail.com
Tue Mar 11 17:24:06 EDT 2008


2008/3/11, eliott <eliott at cactuswax.net>:
> On 3/11/08, Aaron Griffin <aaronmgriffin at gmail.com> wrote:
>  > On Tue, Mar 11, 2008 at 1:52 AM, Mark Constable <markc at renta.net> wrote:
>  >  > I'm just checking if this could be a reasonable idea and if so I'd look into
>  >  >  providing a patch. Would it be feasible to add a %PATHNAME% variable
>  >  >  to the sync desc file ?
>  >  >
>  >  >  For instance in this case, fetching "any" arch packages would not need to
>  >  >  symlinked into the same directory to be found...
>  >  >
>  >  >   %FILENAME%
>  >  >   hotstuff-0.9.2-1-any.pkg.tar.bz2
>  >  >
>  >  >   %PATHNAME%
>  >  >   ../any/
>  >  >
>  >  >  It may provide repo maintainers with some flexibility (hard to test without
>  >  >  it being possible) and perhaps %PATHNAME% could also be a URL and that
>  >  >  might also be interesting, but the simple relative path prefix would be useful.
>  >
>  >
>  > What's wrong with:
>  >
>  >  %FILENAME%
>  >  ../any/hotstuff-0.9.2-1-any.pkg.tar.bz2
>  >
>  >  As far as I know, that'd work just fine (assuming the http server
>  >  respects '..', at least)
>
>
> Relative pathnames in the repodb... for some reason this seems pretty
>  horrible to me.

Wow! I didn't know that works. Thanks, Aaron! :-)

-- 
Roman Kyrylych (Роман Кирилич)


More information about the pacman-dev mailing list