jbe-tuffel 1.0.0 → 1.0.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.textile +47 -0
- data/VERSION +1 -1
- data/bin/tuffel +1 -1
- data/tuffel.gemspec +50 -0
- metadata +6 -4
- data/README.rdoc +0 -7
data/README.textile
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
!http://upload.wikimedia.org/wikipedia/commons/thumb/7/7e/Platypus-sketch.jpg/200px-Platypus-sketch.jpg!
|
|
2
|
+
|
|
3
|
+
h1. Tuffel
|
|
4
|
+
|
|
5
|
+
h2. Git-based deployment
|
|
6
|
+
|
|
7
|
+
I wrote tuffel because other deployment solutions were too bulky.
|
|
8
|
+
|
|
9
|
+
h3. Installation
|
|
10
|
+
|
|
11
|
+
@gem sources -a http://gems.github.com@<br/>
|
|
12
|
+
@sudo gem install jbe-tuffel@
|
|
13
|
+
|
|
14
|
+
h3. Features
|
|
15
|
+
|
|
16
|
+
* Git-based. Deploy or rollback by git reference.
|
|
17
|
+
* Small. < 200 lines.
|
|
18
|
+
* Deploy across multiple servers.
|
|
19
|
+
* Sensible defaults prevent you from fucking up big time.
|
|
20
|
+
* Helps you configure gitosis.
|
|
21
|
+
|
|
22
|
+
h3. Requirements
|
|
23
|
+
|
|
24
|
+
* A server running "gitosis":http://www.google.no/search?q=gitosis, or allowing gitosis-like access.
|
|
25
|
+
* A deployment server
|
|
26
|
+
|
|
27
|
+
h3. Conventions
|
|
28
|
+
|
|
29
|
+
The following is required:
|
|
30
|
+
|
|
31
|
+
* A gitosis-compliant server/user
|
|
32
|
+
* A deployment server/user with password free access to the above
|
|
33
|
+
* Consistency of local folder name, repository name and deployment name
|
|
34
|
+
|
|
35
|
+
Deployments will be arranged like @~/project_name@. Transactions are not very robust yet, and a few seconds of funky downtime are to be expected. But it works.
|
|
36
|
+
|
|
37
|
+
h3. Commands
|
|
38
|
+
|
|
39
|
+
|_tuffel configure_|Configures your server settings. Use @configure global@ for global defaults.|
|
|
40
|
+
|_tuffel gitosis_|Configures Gitosis using your default editor.|
|
|
41
|
+
|_tuffel plug_|Sets the current local repo to push to the corresponding gitosis repo.|
|
|
42
|
+
|_tuffel deploy <revision>_|Deploy a git revision of the current project, or @HEAD@ by default.|
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
h2. Copyright
|
|
46
|
+
|
|
47
|
+
Copyright (c) 2009 Jostein Berre Eliassen. See LICENSE for details.
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.1
|
data/bin/tuffel
CHANGED
data/tuffel.gemspec
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
|
2
|
+
|
|
3
|
+
Gem::Specification.new do |s|
|
|
4
|
+
s.name = %q{tuffel}
|
|
5
|
+
s.version = "1.0.1"
|
|
6
|
+
|
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
8
|
+
s.authors = ["Jostein Berre Eliassen"]
|
|
9
|
+
s.date = %q{2009-05-21}
|
|
10
|
+
s.default_executable = %q{tuffel}
|
|
11
|
+
s.email = %q{post@jostein.be}
|
|
12
|
+
s.executables = ["tuffel"]
|
|
13
|
+
s.extra_rdoc_files = [
|
|
14
|
+
"LICENSE",
|
|
15
|
+
"README.textile"
|
|
16
|
+
]
|
|
17
|
+
s.files = [
|
|
18
|
+
".document",
|
|
19
|
+
".gitignore",
|
|
20
|
+
"LICENSE",
|
|
21
|
+
"README.textile",
|
|
22
|
+
"Rakefile",
|
|
23
|
+
"VERSION",
|
|
24
|
+
"bin/tuffel",
|
|
25
|
+
"lib/tuffel.rb",
|
|
26
|
+
"test/test_helper.rb",
|
|
27
|
+
"test/tuffel_test.rb",
|
|
28
|
+
"tuffel.gemspec"
|
|
29
|
+
]
|
|
30
|
+
s.has_rdoc = true
|
|
31
|
+
s.homepage = %q{http://github.com/jbe/tuffel}
|
|
32
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
|
33
|
+
s.require_paths = ["lib"]
|
|
34
|
+
s.rubygems_version = %q{1.3.1}
|
|
35
|
+
s.summary = %q{Friendly, git-based deployment}
|
|
36
|
+
s.test_files = [
|
|
37
|
+
"test/tuffel_test.rb",
|
|
38
|
+
"test/test_helper.rb"
|
|
39
|
+
]
|
|
40
|
+
|
|
41
|
+
if s.respond_to? :specification_version then
|
|
42
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
43
|
+
s.specification_version = 2
|
|
44
|
+
|
|
45
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
|
46
|
+
else
|
|
47
|
+
end
|
|
48
|
+
else
|
|
49
|
+
end
|
|
50
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jbe-tuffel
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jostein Berre Eliassen
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-05-
|
|
12
|
+
date: 2009-05-21 00:00:00 -07:00
|
|
13
13
|
default_executable: tuffel
|
|
14
14
|
dependencies: []
|
|
15
15
|
|
|
@@ -21,17 +21,19 @@ extensions: []
|
|
|
21
21
|
|
|
22
22
|
extra_rdoc_files:
|
|
23
23
|
- LICENSE
|
|
24
|
-
- README.
|
|
24
|
+
- README.textile
|
|
25
25
|
files:
|
|
26
26
|
- .document
|
|
27
27
|
- .gitignore
|
|
28
28
|
- LICENSE
|
|
29
|
-
- README.
|
|
29
|
+
- README.textile
|
|
30
30
|
- Rakefile
|
|
31
31
|
- VERSION
|
|
32
|
+
- bin/tuffel
|
|
32
33
|
- lib/tuffel.rb
|
|
33
34
|
- test/test_helper.rb
|
|
34
35
|
- test/tuffel_test.rb
|
|
36
|
+
- tuffel.gemspec
|
|
35
37
|
has_rdoc: true
|
|
36
38
|
homepage: http://github.com/jbe/tuffel
|
|
37
39
|
post_install_message:
|