> I'm not sure if this is considered to be a bug, but if I run
> the following two commands, the final html files contain links
> to "/FIRST":
>
>        lazygal -o /tmp/out --check-all-dirs --clean-destination \
>                -O --orig-dir=/FIRST /tmp/in
>        lazygal -o /tmp/out --check-all-dirs --clean-destination \
>                -O --orig-dir=/SECOND /tmp/in
>
> I guess it is hard to know whether to update a file or not.
> Perhaps storing a file in the output directory that indicates
> how the hierarchy was built would allow to rebuild files that
> need to be amended.

Exactly. Workaround is :
$ find /tmp/out -name '*html' -exec rm {} \;
(this is what I use when I change command line options which affect
the XHTML output)

I could put a state file that would hold the command line and the
program's version. But then, a dependency link would have to exist
between the command line options and the output targets affected by
such option, in order to invalidate the right targets. I think it is
too much work and too much code complexity for not much gain. Maybe
later.

> Now that I think about it, there is in fact a third case
> which I can think of being useful. Something like:
>
>        --orig-base=http://another.server/path/to/orig/
>        --orig-base=ftp://another.server/path/to/orig/

I would use different output directories for this use case, at least
for the moment.

> By the way, in the snapshot I downloaded
> ( lazygal-darcs20081105061812.tar.gz ), you seem to have created
> "parent_index_link" in generators.py and so the parent links are
> no longer created in */index.html since the other code is still
> looking for "index_link".

Well spotted, this is now fixed.

Thanks,

Alex



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to