[FFmpeg-devel] Hacking FATE for fun and coverage

Nicolas George nicolas.george at normalesup.org
Sat Feb 25 15:44:50 CET 2012


Le septidi 7 ventôse, an CCXX, Clément Bœsch a écrit :
> Indeed, at the moment the whole directory is rsync'ed at each run. I could
> take snapshots instead, but given the current directory size (more than
> 80MB), I'd better add a history limit, like say 50 or 100 runs.
> 
> I'll see what I can do about this.

You should look at rsnapshot, it looks perfect for that: it can make
daily/weekly/monthly snapshots and uses hardlinks when files have not
changed.

Also, I believe most of the space is taken by the annotated source code for
each file, while the per-directory summaries are much more interesting for
archiving.

> This would get rid of the size issue indeed, but it would require a bit
> more complex scripting.

Only if you have time and you find it fun, of course.

>			  Also, I think being able to browse an old revision
> snapshot is more friendly than HTML diffs.

If there is a gitweb, it can display any revision of any file directly in
the browser, just ask for the "raw" blob. Links between files would not
work, but that is something easily fixed with a bit of javascript (just make
sure each file have
<script type="text/javascript src="/some/script.js"> </script>
in their header before you start archiving, even if the script itself does
nothing).

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120225/6ed103ed/attachment.asc>


More information about the ffmpeg-devel mailing list