Alexander Leidinger

Just another weblog

Feb
02

rsync and CVS exclude

The CVS exclude option of rsync can be harm­ful in some cases.

For exam­ple I use rsync to keep my/this web­site updated. At some point I noticed some strange behav­ior after the update of sev­eral of the Word­Press plu­g­ins I use. After a bit of inves­ti­ga­tion I noticed that one plu­gin (Bro­ken Link Checker) has a direc­tory which is named “core”. This is one of the file­names which are in the exclude list of the CVS exclude fea­ture of rsync. Nor­mally it should only pre­vent the trans­fer of core-files, but as rsync does not have a look if this is a file or a direc­tory (it is not sup­posed to do this), it also pre­vents the trans­mis­sion of the directory.

After mod­i­fy­ing the rsync options to man­u­ally exclude the CVS pat­terns except for “core”, the site worked cor­rectly again.

It seems this is one of those cases where dif­fer­ent development/management cul­tures show some lit­tle incom­pat­i­bil­i­ties.

GD Star Rat­ing
load­ing…
GD Star Rat­ing
load­ing…
Share

Tags: , , , , , , , , ,

No Responses to “rsync and CVS exclude”

Leave a Reply