[mirror-admin] ideas for recognizing bitflips / dir changess

Ján ONDREJ (SAL) ondrejj at salstar.sk
Sun May 3 06:26:30 EDT 2009


On Sun, May 03, 2009 at 12:34:41AM -0500, Matt Domsch wrote:
> 5) Give mirrors a way to know when a directory has changed.
> 5a) the rsyncFilter method exposed by MirrorManager.
> 5b) possible new MirrorManager method (not presently exposed, but could be fairly quickly):
>   an RSS feed that lists the times the directories in a given Category have changed.  Something like:
> 
> $ wget -O - 'https://admin.fedoraproject.org/mirrormanager/directorychanges/rss2_0?since=1239015514?categories=Fedora%20Linux'

Can you provide an URL, which can send crontab entry for bitflip?
For example:

  wget -O - http://.../directorychanges/cron?tz=`date +%Z`

to return:

  00 16 25 * * /bin/chmod a+rX $FEDORA_HOME/releases/11

This can be helpful for me to set proper date/time for bitflip and also may
help automatize these steps. Each user can set "FEDORA_HOME=..." in their
crontab entry.

Another solution can be using "at" command:

  echo /bin/chmod a+rX $FEDORA_HOME/releases/11 | at 1600 2009-05-26

		SAL

--


More information about the Mirror-admin mailing list