autobuild 1.6.2.b3 → 1.6.2.b4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/autobuild/importer.rb +6 -4
- data/lib/autobuild/version.rb +1 -1
- metadata +11 -11
data/lib/autobuild/importer.rb
CHANGED
@@ -105,10 +105,9 @@ class Importer
|
|
105
105
|
end
|
106
106
|
|
107
107
|
retry_count = 0
|
108
|
+
package.progress_start "updating %s"
|
108
109
|
begin
|
109
|
-
package
|
110
|
-
update(package)
|
111
|
-
end
|
110
|
+
update(package)
|
112
111
|
rescue Interrupt
|
113
112
|
raise
|
114
113
|
rescue ::Exception => original_error
|
@@ -121,6 +120,7 @@ class Importer
|
|
121
120
|
# will have to unpatch by themselves.
|
122
121
|
cur_patches = currently_applied_patches(package)
|
123
122
|
if !cur_patches.empty?
|
123
|
+
package.progress_done
|
124
124
|
package.message "update failed and some patches are applied, retrying after removing all patches first"
|
125
125
|
begin
|
126
126
|
patch(package, [])
|
@@ -138,6 +138,8 @@ class Importer
|
|
138
138
|
end
|
139
139
|
package.message "update failed in #{package.srcdir}, retrying (#{retry_count}/#{self.retry_count})"
|
140
140
|
retry
|
141
|
+
ensure
|
142
|
+
package.progress_done
|
141
143
|
end
|
142
144
|
|
143
145
|
patch(package)
|
@@ -261,7 +263,7 @@ class Importer
|
|
261
263
|
package.message "patching %s: applying #{apply_count} and unapplying #{unapply_count} patch(es)"
|
262
264
|
elsif apply_count > 0
|
263
265
|
package.message "patching %s: applying #{apply_count} patch(es)"
|
264
|
-
|
266
|
+
elsif unapply_count > 0
|
265
267
|
package.message "patching %s: unapplying #{unapply_count} patch(es)"
|
266
268
|
end
|
267
269
|
|
data/lib/autobuild/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autobuild
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.2.
|
4
|
+
version: 1.6.2.b4
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-09-
|
12
|
+
date: 2012-09-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
16
|
-
requirement: &
|
16
|
+
requirement: &12343900 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.7.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *12343900
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: utilrb
|
27
|
-
requirement: &
|
27
|
+
requirement: &12341940 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 1.3.3
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *12341940
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rdoc
|
38
|
-
requirement: &
|
38
|
+
requirement: &12336000 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,18 +43,18 @@ dependencies:
|
|
43
43
|
version: '3.10'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *12336000
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: hoe
|
49
|
-
requirement: &
|
49
|
+
requirement: &12334480 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '3.
|
54
|
+
version: '3.0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *12334480
|
58
58
|
description: Collection of classes to handle build systems (CMake, autotools, ...)
|
59
59
|
and import mechanisms (tarballs, CVS, SVN, git, ...). It also offers a Rake integration
|
60
60
|
to import and build such software packages. It is the backbone of the autoproj (http://rock-robotics.org/autoproj)
|