metomi/rose — pull request #603 by matthewrmshin (2013-04-30 09:40:54+00:00)
Title: rose suite-log-view: housekeep job logs

This is an implementation of #560.

(Logic applies to `rose suite-hook` as well.)

I have renamed `JOB.json` to `rose-suite-log-view.json`, which will contain mainly cycle independent data about the suite.

For each cycle, it will generate a `rose-suite-log-view-${CYCLE}.json`.

By default, the HTML view will load only the `rose-suite-log-view-${CYCLE}.json` of the latest cycle, but it can be modified via a multiple selection box and/or via URL query.

If the job log files in a cycle are ALL older than a certain threshold (3.0 days by default, can be modified by `--log-archive-threshold=DAYS` option), they will get archived into `job-${CYCLE}.tar.gz`. (Links in the HTML view are updated accordingly.)