git_go 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/Gemfile.lock +1 -1
- data/README.md +4 -4
- data/assets/instructions +8 -8
- data/{gitgo.gemspec → git_go.gemspec} +0 -0
- data/lib/git_go/version.rb +1 -1
- metadata +4 -4
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -37,10 +37,10 @@ Tasks:
|
|
|
37
37
|
|
|
38
38
|
I recommend you run `gg instructions` to get up and running. The instructions cover:
|
|
39
39
|
|
|
40
|
-
* Setting up
|
|
41
|
-
* Adding a git user to your remote machine.
|
|
42
|
-
* Setting up SSH
|
|
43
|
-
* Setting up the Backup RubyGem to perform daily backups with:
|
|
40
|
+
* Setting up an environment variable in your `~/.bashrc` or `~/.zshrc`.
|
|
41
|
+
* Adding a `git` user to your remote machine.
|
|
42
|
+
* Setting up your SSH key.
|
|
43
|
+
* Setting up the [Backup](http://github.com/meskyanichi/backup) RubyGem to perform daily backups with:
|
|
44
44
|
* GZip Compression
|
|
45
45
|
* Email Notification on success/warning/error
|
|
46
46
|
* Amazon S3 storage
|
data/assets/instructions
CHANGED
|
@@ -6,22 +6,22 @@ http://github.com/meskyanichi/git_go
|
|
|
6
6
|
|
|
7
7
|
Here are the instructions for getting your environments set up.
|
|
8
8
|
|
|
9
|
+
|
|
9
10
|
Local Environment
|
|
10
11
|
-----------------
|
|
11
12
|
|
|
12
|
-
Add the following to your
|
|
13
|
+
Add the following to your ~/.bashrc or ~/.zshrc file:
|
|
13
14
|
|
|
14
|
-
export
|
|
15
|
-
export GIT_GO_HOST=host
|
|
15
|
+
export GIT_GO_URI=user@example.com
|
|
16
16
|
|
|
17
17
|
For example:
|
|
18
18
|
|
|
19
|
-
export
|
|
20
|
-
|
|
19
|
+
export GIT_GO_URI=git@repositories.example.com
|
|
20
|
+
|
|
21
|
+
You can also use a static IP:
|
|
21
22
|
|
|
22
|
-
|
|
23
|
+
export GIT_GO_URI=git@207.97.227.239
|
|
23
24
|
|
|
24
|
-
export GIT_GO_HOST=207.97.227.239
|
|
25
25
|
|
|
26
26
|
Remote Environment
|
|
27
27
|
------------------
|
|
@@ -47,7 +47,7 @@ Create the .ssh folder and authorized_keys file for the git user.
|
|
|
47
47
|
|
|
48
48
|
mkdir /home/git/.ssh
|
|
49
49
|
|
|
50
|
-
Now add your key (usually located in `~/.ssh/id_rsa.pub` on your local machine) to `/home/git/.ssh/authorized_keys`. Finally, fix the
|
|
50
|
+
Now add your key (usually located in `~/.ssh/id_rsa.pub` on your local machine) to `/home/git/.ssh/authorized_keys`. Finally, fix the ownership and permissions.
|
|
51
51
|
|
|
52
52
|
chmod 700 /home/git/.ssh
|
|
53
53
|
chmod 600 /home/git/.ssh/authorized_keys
|
|
File without changes
|
data/lib/git_go/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: git_go
|
|
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:
|
|
@@ -64,7 +64,7 @@ files:
|
|
|
64
64
|
- Rakefile
|
|
65
65
|
- assets/instructions
|
|
66
66
|
- bin/gg
|
|
67
|
-
-
|
|
67
|
+
- git_go.gemspec
|
|
68
68
|
- lib/git_go.rb
|
|
69
69
|
- lib/git_go/cli.rb
|
|
70
70
|
- lib/git_go/connection.rb
|
|
@@ -95,7 +95,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
95
95
|
version: '0'
|
|
96
96
|
segments:
|
|
97
97
|
- 0
|
|
98
|
-
hash: -
|
|
98
|
+
hash: -3457378250373614310
|
|
99
99
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
100
|
none: false
|
|
101
101
|
requirements:
|
|
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
104
104
|
version: '0'
|
|
105
105
|
segments:
|
|
106
106
|
- 0
|
|
107
|
-
hash: -
|
|
107
|
+
hash: -3457378250373614310
|
|
108
108
|
requirements: []
|
|
109
109
|
rubyforge_project:
|
|
110
110
|
rubygems_version: 1.8.23
|