gritano 0.10.0 → 0.10.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.rdoc +4 -0
- data/TODO +3 -0
- data/VERSION +1 -1
- data/features/data/remote_commands/help_igorbonadio.txt +2 -0
- data/features/data/remote_commands/help_jessicaeto.txt +2 -0
- data/features/data/remote_commands/invalid_command_igorbonadio.txt +2 -0
- data/features/data/remote_commands/invalid_command_jessicaeto.txt +2 -0
- data/features/data/remote_help.txt +2 -0
- data/gritano.gemspec +2 -2
- data/lib/gritano/console/remote.rb +10 -0
- metadata +3 -3
data/README.rdoc
CHANGED
|
@@ -57,6 +57,8 @@ For more information, execute
|
|
|
57
57
|
|
|
58
58
|
Gritano 0.2.0 introduced a new feature that enables users to execute some simple commands via ssh:
|
|
59
59
|
|
|
60
|
+
$ ssh git@host.com username
|
|
61
|
+
|
|
60
62
|
$ ssh git@host.com repo:list
|
|
61
63
|
|
|
62
64
|
$ ssh git@host.com key:list
|
|
@@ -64,6 +66,8 @@ Gritano 0.2.0 introduced a new feature that enables users to execute some simple
|
|
|
64
66
|
$ ssh git@host.com key:add mykey < id_rsa.pub
|
|
65
67
|
|
|
66
68
|
$ ssh git@host.com key:add mykey
|
|
69
|
+
|
|
70
|
+
$ ssh git@host.com password:set # this password is used for http access
|
|
67
71
|
|
|
68
72
|
For more information, execute
|
|
69
73
|
|
data/TODO
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.10.
|
|
1
|
+
0.10.1
|
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
Examples:
|
|
4
4
|
ssh git@host.com version
|
|
5
5
|
ssh git@host.com help
|
|
6
|
+
ssh git@host.com username
|
|
6
7
|
ssh git@host.com repo:list
|
|
7
8
|
ssh git@host.com key:list
|
|
8
9
|
ssh git@host.com key:add keyname < key.pub
|
|
9
10
|
ssh git@host.com key:rm keyname
|
|
10
11
|
ssh git@host.com email:get
|
|
11
12
|
ssh git@host.com email:update email@server.com
|
|
13
|
+
ssh git@host.com password:set
|
|
12
14
|
ssh git@host.com admin:help
|
|
13
15
|
|
|
14
16
|
--
|
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
Examples:
|
|
4
4
|
ssh git@host.com version
|
|
5
5
|
ssh git@host.com help
|
|
6
|
+
ssh git@host.com username
|
|
6
7
|
ssh git@host.com repo:list
|
|
7
8
|
ssh git@host.com key:list
|
|
8
9
|
ssh git@host.com key:add keyname < key.pub
|
|
9
10
|
ssh git@host.com key:rm keyname
|
|
10
11
|
ssh git@host.com email:get
|
|
11
12
|
ssh git@host.com email:update email@server.com
|
|
13
|
+
ssh git@host.com password:set
|
|
12
14
|
ssh git@host.com admin:help
|
|
13
15
|
|
|
14
16
|
--
|
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
Examples:
|
|
4
4
|
ssh git@host.com version
|
|
5
5
|
ssh git@host.com help
|
|
6
|
+
ssh git@host.com username
|
|
6
7
|
ssh git@host.com repo:list
|
|
7
8
|
ssh git@host.com key:list
|
|
8
9
|
ssh git@host.com key:add keyname < key.pub
|
|
9
10
|
ssh git@host.com key:rm keyname
|
|
10
11
|
ssh git@host.com email:get
|
|
11
12
|
ssh git@host.com email:update email@server.com
|
|
13
|
+
ssh git@host.com password:set
|
|
12
14
|
ssh git@host.com admin:help
|
|
13
15
|
|
|
14
16
|
--
|
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
Examples:
|
|
4
4
|
ssh git@host.com version
|
|
5
5
|
ssh git@host.com help
|
|
6
|
+
ssh git@host.com username
|
|
6
7
|
ssh git@host.com repo:list
|
|
7
8
|
ssh git@host.com key:list
|
|
8
9
|
ssh git@host.com key:add keyname < key.pub
|
|
9
10
|
ssh git@host.com key:rm keyname
|
|
10
11
|
ssh git@host.com email:get
|
|
11
12
|
ssh git@host.com email:update email@server.com
|
|
13
|
+
ssh git@host.com password:set
|
|
12
14
|
ssh git@host.com admin:help
|
|
13
15
|
|
|
14
16
|
--
|
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
Examples:
|
|
4
4
|
gritano version
|
|
5
5
|
gritano help
|
|
6
|
+
gritano username
|
|
6
7
|
gritano repo:list
|
|
7
8
|
gritano key:list
|
|
8
9
|
gritano key:add keyname < key.pub
|
|
9
10
|
gritano key:rm keyname
|
|
10
11
|
gritano email:get
|
|
11
12
|
gritano email:update email@server.com
|
|
13
|
+
gritano password:set
|
|
12
14
|
gritano admin:help
|
|
13
15
|
|
|
14
16
|
--
|
data/gritano.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "gritano"
|
|
8
|
-
s.version = "0.10.
|
|
8
|
+
s.version = "0.10.1"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Igor Bonadio"]
|
|
12
|
-
s.date = "2013-05-
|
|
12
|
+
s.date = "2013-05-03"
|
|
13
13
|
s.description = "Gritano is the simplest way to configure your git server over ssh. You can create repositories and manage user access."
|
|
14
14
|
s.email = "igorbonadio@gmail.com"
|
|
15
15
|
s.executables = ["gritano", "gritano-pub-key", "gritano-remote"]
|
|
@@ -26,6 +26,11 @@ module Gritano
|
|
|
26
26
|
add_command "help" do |args|
|
|
27
27
|
[true, Remote.help]
|
|
28
28
|
end
|
|
29
|
+
|
|
30
|
+
add_command "username" do |args|
|
|
31
|
+
login, = args
|
|
32
|
+
[true, login]
|
|
33
|
+
end
|
|
29
34
|
|
|
30
35
|
add_command "repo:list" do |args|
|
|
31
36
|
login, = args
|
|
@@ -56,6 +61,11 @@ module Gritano
|
|
|
56
61
|
email, login = args
|
|
57
62
|
@executor.execute(["user:email:update"] + [login, email])
|
|
58
63
|
end
|
|
64
|
+
|
|
65
|
+
add_command "password:set" do |args|
|
|
66
|
+
login, = args
|
|
67
|
+
@executor.execute(["user:password:set"] + [login])
|
|
68
|
+
end
|
|
59
69
|
|
|
60
70
|
add_command "admin:help" do |args|
|
|
61
71
|
gritano = Gritano.new(@stdin)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gritano
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.10.
|
|
4
|
+
version: 0.10.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-05-
|
|
12
|
+
date: 2013-05-03 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activerecord
|
|
@@ -496,7 +496,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
496
496
|
version: '0'
|
|
497
497
|
segments:
|
|
498
498
|
- 0
|
|
499
|
-
hash: -
|
|
499
|
+
hash: -3210328951127054192
|
|
500
500
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
501
501
|
none: false
|
|
502
502
|
requirements:
|