On 3/11/08, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
On Tue, Mar 11, 2008 at 1:52 AM, Mark Constable <markc@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.