WG: sitecopy-0.16.6
Joe Orton
joe at manyfish.co.uk
Wed Mar 11 08:53:05 EDT 2009
On Tue, Mar 10, 2009 at 03:56:35PM +0100, Sebastian Wangnick wrote:
> Dear Joe,
>
> thanks for providing sitecopy. I did not find any better web site sync
> software.
>
> However, I’ve been lacking the possibility to fine tune some exclude
> rules to rather include certain files nevertheless. For instance, I
> don’t want my python .py source files on the web site, only the
> compiled .pyc files, exceptions being my website processor and my
> email form checker script. My .sitecopyrc thus looks as follows:
Hi Sebastian - thanks for posting this to the list.
This seems reasonable. From reading your patch, though, it's not
obvious to me that it'll work like you describe: in fnlist_match(), any
time it hits a match (be that exclude or include), the for list will
still terminate and prevent subsequent exclude/include processing.
Am I missing something obvious? (I haven't tested it)
Regards, Joe
>
> site test.wangnick.de
> …
> exclude /Anwendungen
> exclude /Kalender-Zeitzonensoftware
> exclude /Bibliothek/astrolabe/*
> include /Bibliothek/astrolabe/lib # includes everything below again
> exclude /Bibliothek/astrolabe/lib/cpp
> exclude *.py
> include /Webauftritt/compframe.py
> include /Webauftritt/mail.py
> exclude .*
> include .htaccess
> exclude *.doc
> exclude *.ppt
> exclude *.cdr
> ignore *.log
> exclude /Webauftritt/temp/*
> exclude CVS
> exclude *.zip
> exclude *.db
>
> Please find in the attached patch, for your consideration, the modifications to sitecopy-0.16.6 to enable the new "include" keyword.
>
> Kind regards,
> Sebastian
> _______________________________________________
> sitecopy mailing list
> sitecopy at lists.manyfish.co.uk
> http://lists.manyfish.co.uk/mailman/listinfo/sitecopy
More information about the sitecopy
mailing list