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

Aaron Griffin aaronmgriffin at gmail.com
Tue Mar 11 12:36:50 EDT 2008


On Tue, Mar 11, 2008 at 11:24 AM, eliott <eliott at cactuswax.net> wrote:
>
> 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.

That's not really my point. I was just trying to say that this does
actually work right now.




More information about the pacman-dev mailing list