[Piuparts-devel] Bug#652934: status
Andreas Beckmann
debian at abeckmann.de
Thu May 31 23:26:31 UTC 2012
On 2012-05-31 21:02, Holger Levsen wrote:
>> 'ht_root' addresses the ambiguity between URI space and the
>> filesystem, and is in common use, but I'm willing to change it.
>
> I still have no idea what "ht" should mean...?!
I know what Dave wants, but ht_root does not seen to be my preferred
name either ...
>>> 2. [please] set $self._doc_root and use it everywhere instead
doc_root reminds me very much of the Apache directive DocumentRoot ...
which is something different than Dave wants to achieve,
We need to find some names (without too many conflicts to common
practice) that maps an URL like
http://some.host/sub/dir/sid/foo.html
and the corresponding file system path
/srv/piuparts/blah/htdocs/sid/foo.html
to some common variable names like:
$SERVER_PART$DIR_PART$FILE_PART
$OUTPUT_DIR/$FILE_PART
with
SERVER_PART=http://some.host http://piuparts.debian.org
DIR_PART=/sub/dir/ /
FILE_PART=sid/foo.html
OUTPUT_DIR=/srv/piuparts/blah/htdocs /org/piuparts.debian.org/htdocs
What's the common meaning of URLBASE? SERVER+DIR? Only DIR? Something else?
Andreas
More information about the Piuparts-devel
mailing list