octoclone 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +19 -18
- data/lib/octoclone.rb +1 -1
- data/octoclone.gemspec +1 -1
- metadata +11 -11
data/README.md
CHANGED
@@ -1,24 +1,25 @@
|
|
1
1
|
Octoclone
|
2
2
|
=========
|
3
3
|
|
4
|
-
|
5
|
-
_ | |
|
6
|
-
___ ____| |_ ___ ____| | ___ ____ ____
|
7
|
-
/ _ \ / ___) _)/ _ \ / ___) |/ _ \| _ \ / _ )
|
8
|
-
| |_| ( (___| |_| |_| ( (___| | |_| | | | ( (/ /
|
9
|
-
\___/ \____)\___)___/ \____)_|\___/|_| |_|\____)
|
10
|
-
|
11
|
-
|
12
|
-
A GitHub backup solution that just works!
|
4
|
+
|
5
|
+
_ | |
|
6
|
+
___ ____| |_ ___ ____| | ___ ____ ____
|
7
|
+
/ _ \ / ___) _)/ _ \ / ___) |/ _ \| _ \ / _ )
|
8
|
+
| |_| ( (___| |_| |_| ( (___| | |_| | | | ( (/ /
|
9
|
+
\___/ \____)\___)___/ \____)_|\___/|_| |_|\____)
|
10
|
+
|
11
|
+
|
12
|
+
A GitHub backup solution that just works!
|
13
13
|
(based on GitHub API v3)
|
14
14
|
|
15
15
|
Installation
|
16
16
|
------------
|
17
17
|
|
18
|
-
|
19
|
-
|
18
|
+
octoclone is available through rubygems and known to work with ruby 1.9.
|
19
|
+
to install, just type
|
20
|
+
|
21
|
+
$ gem install octoclone
|
20
22
|
|
21
|
-
$ bundle install
|
22
23
|
|
23
24
|
Usage
|
24
25
|
-----
|
@@ -26,19 +27,19 @@ Make sure that the key file of the entered username is added to GitHub (entering
|
|
26
27
|
|
27
28
|
You may add `~/.ssh/id_rsa.pub` to your GitHub account by running
|
28
29
|
|
29
|
-
$
|
30
|
+
$ octoclone -k
|
30
31
|
|
31
32
|
Or if you want to add a custom key, run
|
32
33
|
|
33
|
-
$
|
34
|
+
$ octoclone -ki "~/.ssh/id_dsa.pub"
|
34
35
|
|
35
36
|
You may remove keys interactively with
|
36
37
|
|
37
|
-
$
|
38
|
+
$ octoclone -x
|
38
39
|
|
39
40
|
Now you may run
|
40
41
|
|
41
|
-
$
|
42
|
+
$ octoclone -cd "/path/to/backup/dir"
|
42
43
|
|
43
44
|
Tarballs
|
44
45
|
--------
|
@@ -56,11 +57,11 @@ needs the `-c` option to clone files. The uploaded tarball will be named like `2
|
|
56
57
|
|
57
58
|
So to backup all your repos, tarball them and upload them to S3, simply run:
|
58
59
|
|
59
|
-
$
|
60
|
+
$ octoclone -ca --s3
|
60
61
|
|
61
62
|
by default, tarball and cloned files are stored in `/tmp`.
|
62
63
|
|
63
64
|
Further help
|
64
65
|
------------
|
65
66
|
|
66
|
-
$
|
67
|
+
$ octoclone --help
|
data/lib/octoclone.rb
CHANGED
data/octoclone.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
## If your rubyforge_project name is different, then edit it and comment out
|
14
14
|
## the sub! line in the Rakefile
|
15
15
|
s.name = 'octoclone'
|
16
|
-
s.version = '0.1.
|
16
|
+
s.version = '0.1.1'
|
17
17
|
s.date = '2012-11-15'
|
18
18
|
# s.rubyforge_project = 'octoclone'
|
19
19
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octoclone
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-11-15 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: highline
|
16
|
-
requirement: &
|
16
|
+
requirement: &79845780 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - =
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 1.6.13
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *79845780
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: json
|
27
|
-
requirement: &
|
27
|
+
requirement: &79886250 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - =
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 1.7.3
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *79886250
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: docopt
|
38
|
-
requirement: &
|
38
|
+
requirement: &79886020 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - =
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 0.0.4
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *79886020
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: terminal-table
|
49
|
-
requirement: &
|
49
|
+
requirement: &79885790 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - =
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: 1.4.5
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *79885790
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: aws-s3
|
60
|
-
requirement: &
|
60
|
+
requirement: &79885560 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - =
|
@@ -65,7 +65,7 @@ dependencies:
|
|
65
65
|
version: 0.6.3
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *79885560
|
69
69
|
description:
|
70
70
|
email: info@aylien.com
|
71
71
|
executables:
|