[mirror-admin] ideas for recognizing bitflips / dir changess
Jack Neely
jjneely at ncsu.edu
Fri May 8 12:55:25 EDT 2009
On Mon, May 04, 2009 at 03:59:33PM +0000, ftp at secsup.org wrote:
>
>
> On Mon, 4 May 2009, Jan Kasprzak wrote:
>
>> ftp at secsup.org wrote:
>> : 6) publish in a machine parsable format the date/time (timestamp) that the
>> : next release bit flip is going to happen. have some simple script on the
>> : mirror site side that turns the simple-file into a cronjob which does the
>> : requisite chmod 755 commands.
>> :
>> : I'm not sure much more machinery is really required, is it?
>>
>> I think the RSS as the transport channel for this info would be nice
>> to have (and a sample script for downloading and parsing this, of course).
>
> rss is pretty heavy weight if all you want is: "flip at HH:MM DD/MM/YYYY"
> isn't it?? It's a fine method for somethings, I just question the
> complexity for something that really doesn't require it.
>
> something like: wget -O - fedora-release-url | grep "RELEASE" | at
How about just include a file in the tree that has the bit flip date and
a script that parses that.
RSS is way too complicated for this.
Jack
>
> seems like it'd be just dandy... (add some checking on the client side of
> course, but...)
>
>>
>> What I usually do, is to read the release date from the
>> mirror-list message, and then set up an at(1) job (usually 3 minutes
>> before the bit flip time) to do
>>
>> chmod -R a+rX $FEDORA_ROOT/linux/releases/$RELEASE
>>
>> (note the a+rX, 0755 is probably not always what you want).
>>
>> Of course should the release be cancelled for some reason,
>> I may miss the information and publish it anyway. But then, releases
>> are usually in a quite sane time in my time zone (4 pm CET).
>
> yup, 10am EST is a little tough to remember sometimes :)
>
> --
--
Jack Neely <jjneely at ncsu.edu>
Linux Czar, OIT Campus Linux Services
Office of Information Technology, NC State University
GPG Fingerprint: 1917 5AC1 E828 9337 7AA4 EA6B 213B 765F 3B6A 5B89
--
More information about the Mirror-admin
mailing list