autobuild 1.5.18 → 1.5.19

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,9 @@
1
+ == Version 1.5.19
2
+ * git: fix cases where the importer was assuming that a branch did not exist
3
+ while it was
4
+ * orogen: import_types_from accepts arguments for loading files. Be compatible
5
+ with that.
6
+
1
7
  == Version 1.5.18
2
8
  * minor addition to the API for autoproj
3
9
 
@@ -28,6 +28,7 @@ lib/autobuild/pkgconfig.rb
28
28
  lib/autobuild/reporting.rb
29
29
  lib/autobuild/subcommand.rb
30
30
  lib/autobuild/timestamps.rb
31
+ lib/autobuild/version.rb
31
32
  samples/openrobots.autobuild
32
33
  test/data/cvsroot.tar
33
34
  test/data/svnroot.tar
data/Rakefile CHANGED
@@ -1,5 +1,4 @@
1
1
  require 'hoe'
2
- require 'lib/autobuild'
3
2
 
4
3
  Hoe.spec 'autobuild' do
5
4
  developer "Sylvain Joyeux", "sylvain.joyeux@m4x.org"
@@ -16,7 +15,9 @@ Hoe.spec 'autobuild' do
16
15
  ['utilrb', '>= 1.3.3']
17
16
  end
18
17
 
19
- Rake.clear_tasks(/publish_docs/)
18
+ Rake.clear_tasks(/publish_docs/, /default/)
19
+ task "default"
20
+
20
21
  task 'publish_docs' => 'docs' do
21
22
  if !system('./update_github')
22
23
  raise "cannot update the gh-pages branch for GitHub"
@@ -1,7 +1,4 @@
1
- module Autobuild
2
- VERSION = "1.5.18" unless defined? Autobuild::VERSION
3
- end
4
-
1
+ require 'autobuild/version'
5
2
  require 'autobuild/config'
6
3
  require 'autobuild/configurable'
7
4
  require 'autobuild/environment'
@@ -225,7 +225,7 @@ module Autobuild
225
225
  if !on_target_branch?
226
226
  # Check if the target branch already exists. If it is the
227
227
  # case, check it out. Otherwise, create it.
228
- if File.file?(File.join(".git", "refs", "heads", branch))
228
+ if system("git", "show-ref", "--verify", "--quiet", "refs/heads/#{branch}")
229
229
  package.progress "switching branch of %s to %s" % [package.name, branch]
230
230
  Subprocess.run(package, :import, Autobuild.tool('git'), 'checkout', branch)
231
231
  else
@@ -94,7 +94,7 @@ module Autobuild
94
94
  @dependencies.concat(names)
95
95
  nil
96
96
  end
97
- def import_types_from(name)
97
+ def import_types_from(name, *args)
98
98
  if !File.file?(File.join(base_dir, name)) && name.downcase !~ /\.(hh|hpp|h)/
99
99
  using_toolkit name
100
100
  end
@@ -0,0 +1,5 @@
1
+ module Autobuild
2
+ VERSION = "1.5.19" unless defined? Autobuild::VERSION
3
+ end
4
+
5
+
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autobuild
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 37
4
5
  prerelease: false
5
6
  segments:
6
7
  - 1
7
8
  - 5
8
- - 18
9
- version: 1.5.18
9
+ - 19
10
+ version: 1.5.19
10
11
  platform: ruby
11
12
  authors:
12
13
  - Sylvain Joyeux
@@ -14,16 +15,18 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-07-15 00:00:00 +02:00
18
+ date: 2010-08-04 00:00:00 +02:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: rake
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
24
26
  requirements:
25
27
  - - ">="
26
28
  - !ruby/object:Gem::Version
29
+ hash: 3
27
30
  segments:
28
31
  - 0
29
32
  - 7
@@ -35,9 +38,11 @@ dependencies:
35
38
  name: rmail
36
39
  prerelease: false
37
40
  requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
38
42
  requirements:
39
43
  - - ">="
40
44
  - !ruby/object:Gem::Version
45
+ hash: 15
41
46
  segments:
42
47
  - 1
43
48
  - 0
@@ -48,9 +53,11 @@ dependencies:
48
53
  name: daemons
49
54
  prerelease: false
50
55
  requirement: &id003 !ruby/object:Gem::Requirement
56
+ none: false
51
57
  requirements:
52
58
  - - ">="
53
59
  - !ruby/object:Gem::Version
60
+ hash: 11
54
61
  segments:
55
62
  - 0
56
63
  - 0
@@ -61,9 +68,11 @@ dependencies:
61
68
  name: utilrb
62
69
  prerelease: false
63
70
  requirement: &id004 !ruby/object:Gem::Requirement
71
+ none: false
64
72
  requirements:
65
73
  - - ">="
66
74
  - !ruby/object:Gem::Version
75
+ hash: 29
67
76
  segments:
68
77
  - 1
69
78
  - 3
@@ -75,9 +84,11 @@ dependencies:
75
84
  name: rubyforge
76
85
  prerelease: false
77
86
  requirement: &id005 !ruby/object:Gem::Requirement
87
+ none: false
78
88
  requirements:
79
89
  - - ">="
80
90
  - !ruby/object:Gem::Version
91
+ hash: 7
81
92
  segments:
82
93
  - 2
83
94
  - 0
@@ -89,9 +100,11 @@ dependencies:
89
100
  name: hoe
90
101
  prerelease: false
91
102
  requirement: &id006 !ruby/object:Gem::Requirement
103
+ none: false
92
104
  requirements:
93
105
  - - ">="
94
106
  - !ruby/object:Gem::Version
107
+ hash: 21
95
108
  segments:
96
109
  - 2
97
110
  - 6
@@ -158,6 +171,7 @@ files:
158
171
  - lib/autobuild/reporting.rb
159
172
  - lib/autobuild/subcommand.rb
160
173
  - lib/autobuild/timestamps.rb
174
+ - lib/autobuild/version.rb
161
175
  - samples/openrobots.autobuild
162
176
  - test/data/cvsroot.tar
163
177
  - test/data/svnroot.tar
@@ -178,23 +192,27 @@ rdoc_options:
178
192
  require_paths:
179
193
  - lib
180
194
  required_ruby_version: !ruby/object:Gem::Requirement
195
+ none: false
181
196
  requirements:
182
197
  - - ">="
183
198
  - !ruby/object:Gem::Version
199
+ hash: 3
184
200
  segments:
185
201
  - 0
186
202
  version: "0"
187
203
  required_rubygems_version: !ruby/object:Gem::Requirement
204
+ none: false
188
205
  requirements:
189
206
  - - ">="
190
207
  - !ruby/object:Gem::Version
208
+ hash: 3
191
209
  segments:
192
210
  - 0
193
211
  version: "0"
194
212
  requirements: []
195
213
 
196
214
  rubyforge_project: autobuild
197
- rubygems_version: 1.3.6
215
+ rubygems_version: 1.3.7
198
216
  signing_key:
199
217
  specification_version: 3
200
218
  summary: Rake-based utility to build and install multiple packages with dependencies