[darcs-devel] [issue1416] put log files in tempdir instead of in working dir

Ganesh Sittampalam ganesh at earth.li
Thu Mar 27 06:10:02 UTC 2014


On 27/03/2014 04:08, Ale Gadea wrote:
> A final question... (really?) 
> 
>     One crude strategy may be to bucket them by date. Although end users
>     should not be poking around in _darcs, it also gives a natural sense
>     of what you can delete, and can serve for future forensics.
> 
> Oh right, so the format for a temp file could be
> _darcs/temp/DDMMYY/cmdName-N,
> may be the DD it's to much?

I think if you're using the date you might as well include the day.

A minor tweak would be to put it in an order that sorts nicely, e.g.
YYMMDD or perhaps go down the ISO format route (YYYY-MM-DD).

Ganesh



More information about the darcs-devel mailing list