|
Boost Testing : |
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2008-08-05 15:27:59
Eric Niebler wrote:
> Beman Dawes wrote:
>> Eric Niebler wrote:
>>> How did this happen? Here are some hard questions.
>>
>> No clue. I have no idea how the results on the www.boost.org web site
>> get updated from the beta.boost.org web site.
>
> IMO, the test results should live in *one* place, and all the links
> should point to it.
Both web sites use the same files. I.e. there are only one set of result
files which both read from. They look like so:
===
/home/grafik/www.boost.org/testing/incoming/:
total 425624
drwxr-xr-x 2 grafik guests 4096 Aug 5 14:14 ./
drwxr-xr-x 8 grafik guests 4096 Dec 2 2007 ../
-rw-r--r-- 1 grafik guests 38752455 Jun 28 16:15
release-1_35_0.zip.uploading
-rw------- 1 grafik guests 62385392 Aug 5 14:14 release.zip.uploading
-rw-r--r-- 1 grafik guests 334244125 Aug 4 07:58 trunk.zip.uploading
/home/grafik/www.boost.org/testing/live/:
total 425624
drwxr-xr-x 2 grafik guests 4096 Jul 15 03:42 ./
drwxr-xr-x 8 grafik guests 4096 Dec 2 2007 ../
-rw-r--r-- 1 grafik guests 38752455 Jun 28 16:15 release-1_35_0.zip
-rw-r--r-- 1 grafik guests 62385392 Aug 5 14:14 release.zip
-rw-r--r-- 1 grafik guests 334244125 Aug 4 07:58 trunk.zip
===
The result generation script does an rsync into the "incoming"
directory. And when that file is stable (timestamp doesn't change) it is
copied by a cron job to the "live" location (in a safe file swap manner
to not confuse the web server). And yes, I have to deal with uploading
300Meg every 5 hours for the trunk results :-( But rsync helps
tremendously in this case.
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org (msn) - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail