right_publish 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +3 -0
- data/Gemfile +0 -1
- data/Gemfile.lock +0 -1
- data/VERSION +1 -1
- data/lib/right_publish/repos/apt.rb +21 -6
- data/right_publish.gemspec +2 -5
- metadata +3 -19
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.1
|
@@ -150,13 +150,28 @@ module RightPublish
|
|
150
150
|
end
|
151
151
|
|
152
152
|
def write_conf_file(repo_path)
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
153
|
+
conf_dir = File.expand_path(File.join(repo_path, 'conf'))
|
154
|
+
FileUtils.mkdir_p(conf_dir)
|
155
|
+
distributions_file = File.join(conf_dir, 'distributions')
|
156
|
+
File.open(distributions_file , 'wb' ) do |f|
|
157
|
+
repo_config[:dists].each { |dist| f.puts(dist_conf(dist)) }
|
158
|
+
end
|
157
159
|
|
158
|
-
|
159
|
-
|
160
|
+
# We preseed this file with values that would be generated if this were
|
161
|
+
# a precise distro. If we start this repo on trusty then it'll write 5.3.x
|
162
|
+
# for the bdb version which is not backwards compatible. The precise versions
|
163
|
+
# are forward compatible to trusty at least though.
|
164
|
+
db_dir = File.expand_path(File.join(repo_path, 'db'))
|
165
|
+
FileUtils.mkdir_p(db_dir)
|
166
|
+
version_file = File.join(db_dir, 'version')
|
167
|
+
unless File.exists?(version_file)
|
168
|
+
File.open(version_file, 'wb') do |f|
|
169
|
+
f.puts("4.8.2")
|
170
|
+
f.puts("3.3.0")
|
171
|
+
f.puts("bdb5.1.25")
|
172
|
+
f.puts("bdb5.1.0")
|
173
|
+
end
|
174
|
+
end
|
160
175
|
end
|
161
176
|
|
162
177
|
def dist_conf(dist)
|
data/right_publish.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "right_publish"
|
8
|
-
s.version = "0.5.
|
8
|
+
s.version = "0.5.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Brian Szmyd", "Tony Spataro"]
|
12
|
-
s.date = "2014-
|
12
|
+
s.date = "2014-06-11"
|
13
13
|
s.description = "A tool for maintaining S3-based DEB, GEM and RPM packages."
|
14
14
|
s.email = "support@rightscale.com"
|
15
15
|
s.executables = ["autosign.expect", "right_publish"]
|
@@ -65,7 +65,6 @@ Gem::Specification.new do |s|
|
|
65
65
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
66
66
|
s.add_runtime_dependency(%q<builder>, [">= 0"])
|
67
67
|
s.add_runtime_dependency(%q<fog>, ["~> 1.9"])
|
68
|
-
s.add_runtime_dependency(%q<excon>, ["<= 0.25.3"])
|
69
68
|
s.add_runtime_dependency(%q<mime-types>, ["~> 1.0"])
|
70
69
|
s.add_runtime_dependency(%q<trollop>, ["~> 2.0"])
|
71
70
|
s.add_development_dependency(%q<rake>, ["~> 0.9"])
|
@@ -80,7 +79,6 @@ Gem::Specification.new do |s|
|
|
80
79
|
else
|
81
80
|
s.add_dependency(%q<builder>, [">= 0"])
|
82
81
|
s.add_dependency(%q<fog>, ["~> 1.9"])
|
83
|
-
s.add_dependency(%q<excon>, ["<= 0.25.3"])
|
84
82
|
s.add_dependency(%q<mime-types>, ["~> 1.0"])
|
85
83
|
s.add_dependency(%q<trollop>, ["~> 2.0"])
|
86
84
|
s.add_dependency(%q<rake>, ["~> 0.9"])
|
@@ -96,7 +94,6 @@ Gem::Specification.new do |s|
|
|
96
94
|
else
|
97
95
|
s.add_dependency(%q<builder>, [">= 0"])
|
98
96
|
s.add_dependency(%q<fog>, ["~> 1.9"])
|
99
|
-
s.add_dependency(%q<excon>, ["<= 0.25.3"])
|
100
97
|
s.add_dependency(%q<mime-types>, ["~> 1.0"])
|
101
98
|
s.add_dependency(%q<trollop>, ["~> 2.0"])
|
102
99
|
s.add_dependency(%q<rake>, ["~> 0.9"])
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: right_publish
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-
|
13
|
+
date: 2014-06-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: builder
|
@@ -44,22 +44,6 @@ dependencies:
|
|
44
44
|
- - ~>
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '1.9'
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: excon
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
|
-
requirements:
|
52
|
-
- - <=
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 0.25.3
|
55
|
-
type: :runtime
|
56
|
-
prerelease: false
|
57
|
-
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
|
-
requirements:
|
60
|
-
- - <=
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: 0.25.3
|
63
47
|
- !ruby/object:Gem::Dependency
|
64
48
|
name: mime-types
|
65
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -295,7 +279,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
295
279
|
version: '0'
|
296
280
|
segments:
|
297
281
|
- 0
|
298
|
-
hash:
|
282
|
+
hash: -3081440697787763880
|
299
283
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
300
284
|
none: false
|
301
285
|
requirements:
|