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

Roman Kyrylych roman.kyrylych at gmail.com
Tue Mar 11 09:25:36 EDT 2008


2008/3/11, Mark Constable <markc at renta.net>:
> 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.
>
>  Any thoughts?

Hm, so basically, this adds a possibility to have packages in
different directory than .db.tar.gz, or even multiple directories.
Seems useful for me, and as you've said - repo layout for 'any' arch
will become cleaner.

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


More information about the pacman-dev mailing list