[mirror-admin] syntax of filenames in the repository?

Carlos Carvalho carlos at fisica.ufpr.br
Fri Jul 24 17:15:18 EDT 2009


Ricky Zhou (ricky at fedoraproject.org) wrote on 24 July 2009 15:37:
 >On 2009-07-24 04:18:28 PM, Carlos Carvalho wrote:
 >> Jesse Keating (jkeating at redhat.com) wrote on 24 July 2009 11:55:
 >>  >On Fri, 2009-07-24 at 15:23 -0300, Carlos Carvalho wrote:
 >>  >> 
 >>  >> Are there rules for names of files and directories in the fedora
 >>  >> repository? If so, where can I find them?
 >>  >
 >>  >There aren't any rules written down that I'm aware of, just lots of
 >>  >built up history, which we tend to change from time to time to attempt
 >>  >to streamline things and lower confusion on our users' behalf.
 >>  >
 >>  >What in particular were you interested in and I can try to supply some
 >>  >info.
 >> 
 >> Case in point is the exclusion of .~tmp~ I did because of the ibiblio
 >> bug. However, if there are legitimate files/dirs in the repo with
 >> .~tmp~ in the path our mirror will be incomplete, which a tier 1 is
 >> not allowed to be. OTOH, if .~tmp~ cannot be part of any names I can
 >> exclude it without risk, and for all sites we ever update from.
 >> 
 >> General rules are necessary because different mirrors may use
 >> different names for the partial dir.
 >.~tmp~/ is currently excluded from our rsync configs (and we'll look at
 >getting ibiblio to do this as well), so your excludes are safe.  
 >
 >The full list of rsync-level exclude we will be implementing on our
 >rsync servers are:
 >
 >exclude = .snapshot/ .~tmp~/ /.private/ /.private/** **/.nfs*
 >
 >so we'll be sure to make sure there are no files matching any of these.

Why not .~tmp~/** as well? Only .~tmp~/ will exclude the directory but
not files inside it. With the new rsync you could use .~tmp~/***.

--


More information about the Mirror-admin mailing list