six-rsync 0.3.8 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -2
- data/bin/six-rsync +25 -0
- data/bin/six-rsync-mirror +25 -0
- data/lib/six/rsync/base.rb +1 -1
- data/lib/six/rsync/lib.rb +803 -863
- data/lib/six/rsync/options.rb +4 -0
- data/lib/six/rsync-app.rb +6 -0
- data/lib/six/rsync-mirror.rb +12 -0
- data/lib/six/rsync.rb +1 -1
- metadata +10 -6
data/lib/six/rsync/options.rb
CHANGED
data/lib/six/rsync-app.rb
CHANGED
@@ -0,0 +1,12 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# six-rsync-mirror /var/rsync hosts
|
3
|
+
# hosts format: user@host_or_ip:/path/to/rsync/store
|
4
|
+
# Use with public/private key combo
|
5
|
+
PATH = ARGV[0]
|
6
|
+
ARGV -= [PATH]
|
7
|
+
ARGV.each do |repo|
|
8
|
+
puts
|
9
|
+
puts "Processing: #{repo}"
|
10
|
+
system "rsync -e ssh --exclude bis --include .repository.yml --times -O --no-whole-file -r --delete --stats --progress #{PATH}. #{repo}"
|
11
|
+
puts
|
12
|
+
end
|
data/lib/six/rsync.rb
CHANGED
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
-
-
|
8
|
-
-
|
9
|
-
version: 0.
|
7
|
+
- 4
|
8
|
+
- 1
|
9
|
+
version: 0.4.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Sickboy
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-04-
|
17
|
+
date: 2010-04-20 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -33,8 +33,9 @@ dependencies:
|
|
33
33
|
version_requirements: *id001
|
34
34
|
description: Your summary here
|
35
35
|
email: sb@dev-heaven.net
|
36
|
-
executables:
|
37
|
-
|
36
|
+
executables:
|
37
|
+
- six-rsync
|
38
|
+
- six-rsync-mirror
|
38
39
|
extensions: []
|
39
40
|
|
40
41
|
extra_rdoc_files:
|
@@ -44,6 +45,8 @@ files:
|
|
44
45
|
- LICENSE
|
45
46
|
- README
|
46
47
|
- Rakefile
|
48
|
+
- bin/six-rsync
|
49
|
+
- bin/six-rsync-mirror
|
47
50
|
- lib/six/rsync/base.rb
|
48
51
|
- lib/six/rsync/lib.rb
|
49
52
|
- lib/six/rsync/options.rb
|
@@ -51,6 +54,7 @@ files:
|
|
51
54
|
- lib/six/rsync/repository.rb
|
52
55
|
- lib/six/rsync/working_directory.rb
|
53
56
|
- lib/six/rsync-app.rb
|
57
|
+
- lib/six/rsync-mirror.rb
|
54
58
|
- lib/six/rsync.rb
|
55
59
|
has_rdoc: true
|
56
60
|
homepage:
|