[FFmpeg-devel] incoming clean up and diskspace (was: Re: Roundup being migrated)
Sat Feb 14 18:43:57 CET 2009
On Sat, Feb 14, 2009 at 05:08:04PM +0000, Robert Swain wrote:
> 2009/2/14 Michael Niedermayer <michaelni at gmx.at>:
> > i mean first for example a script going over all files and checking if .txt
> > files exist once a day and what has no .txt and is >24h old is deleted and
> > logged
> What if the file has an issue on roundup and the person who uploaded
> it neglected to upload a text file as well because one would naturally
> consider the bug tracker issue to be sufficient accompanying
> documentation? If we had a roundup watchdog we could get them to move
> files into 'issue*' subdirs of incoming and they could be excluded
> from your check.
the question is how should it detect the relation between roundup
and a upoaded file?
A check filename for 'issue[1-9][0-9]*
B check directory name for 'issue[1-9][0-9]*
C grep txt file for 'issue[1-9][0-9]*
D check roundup for links to incoming
from this C and D can detect incorrect relations.
I do think that solving this involves requireing the user to provide
data in a standard format and have the server reject or delete what
does not conform ..
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
There will always be a question for which you do not know the correct awnser.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel