Skip to content

Commit

Permalink
add mirror to exclude
Browse files Browse the repository at this point in the history
  • Loading branch information
apocalypse committed May 11, 2010
1 parent 108adfc commit acc3216
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Changes
@@ -1,5 +1,9 @@
Revision history for Perl extension POE::Component::SmokeBox::Uploads::Rsync

* 0.04

Added /mirror/ to exclude list

* 0.03

Minor POD tweaks
Expand Down
5 changes: 3 additions & 2 deletions lib/POE/Component/SmokeBox/Uploads/Rsync.pm
Expand Up @@ -4,7 +4,7 @@ use strict; use warnings;

# Initialize our version
use vars qw( $VERSION );
$VERSION = '0.03';
$VERSION = '0.04';

# Import what we need from the POE namespace
use POE;
Expand Down Expand Up @@ -97,7 +97,8 @@ sub spawn {
# skip some files that always fails to sync, and is not needed...
# rsync: send_files failed to open "/modules/.FRMRecent-RECENT-1h.yaml-zr8t.yaml" (in cpan): Permission denied (13)
# rsync: send_files failed to open "/authors/.FRMRecent-RECENT.recent-qtlN.recent" (in cpan): Permission denied (13)
'exclude' => [ '/indices/', '/misc/', '/src/', '/scripts/', '/modules/.FRMRecent-*', '/authors/.FRMRecent-*', ],
# TODO wtf, "mirror" was added recently? I really need to get include to work...
'exclude' => [ '/indices/', '/misc/', '/src/', '/scripts/', '/modules/.FRMRecent-*', '/authors/.FRMRecent-*', '/mirror/', ],

# skip the motd, which just consumes bandwidth ;)
'literal' => [ '--no-motd', ],
Expand Down

0 comments on commit acc3216

Please sign in to comment.