autoproj 2.0.0.rc21 → 2.0.0.rc22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/autoproj/ops/configuration.rb +1 -1
- data/lib/autoproj/ops/import.rb +10 -4
- data/lib/autoproj/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96eeb69d5f337a90861b5c2ea4124d724964de01
|
4
|
+
data.tar.gz: a43d11ef0c140d1a371d415ff44396376a85a893
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6af141de1e18c6d5c0ffc376fc039f9a573a49d786ecea86d0252284efc9634a65fa010786bb720c7c2c8148f3ef951e1d60714d409fd3018fb59f67960ecf4
|
7
|
+
data.tar.gz: a0fe4e53b40af639124cbce3f3987c17d69dbac1c2967034806367fef9a16c6b116556b19397d33ad38075d74afef49cd72b7a03dbcaba5d77f3a467b50648ea
|
@@ -226,7 +226,6 @@ def load_and_update_package_sets(root_pkg_set, options = Hash.new)
|
|
226
226
|
by_name = Hash.new
|
227
227
|
|
228
228
|
required_remotes_dirs = Array.new
|
229
|
-
required_user_dirs = Array.new
|
230
229
|
|
231
230
|
queue = queue_auto_imports_if_needed(Array.new, root_pkg_set, root_pkg_set)
|
232
231
|
while !queue.empty?
|
@@ -294,6 +293,7 @@ def load_and_update_package_sets(root_pkg_set, options = Hash.new)
|
|
294
293
|
queue_auto_imports_if_needed(queue, pkg_set, root_pkg_set)
|
295
294
|
end
|
296
295
|
|
296
|
+
required_user_dirs = by_name.collect { |k,v| k }
|
297
297
|
cleanup_remotes_dir(package_sets, required_remotes_dirs)
|
298
298
|
cleanup_remotes_user_dir(package_sets, required_user_dirs)
|
299
299
|
package_sets
|
data/lib/autoproj/ops/import.rb
CHANGED
@@ -181,7 +181,7 @@ def import_selected_packages(selection, updated_packages, options = Hash.new)
|
|
181
181
|
# interactive imports if there are some. Otherwise,
|
182
182
|
# we're done
|
183
183
|
if interactive_imports.empty?
|
184
|
-
|
184
|
+
break
|
185
185
|
else
|
186
186
|
interactive_imports.each do |pkg|
|
187
187
|
begin
|
@@ -226,6 +226,9 @@ def import_selected_packages(selection, updated_packages, options = Hash.new)
|
|
226
226
|
raise ImportFailed, "import of #{failures.size} packages failed: #{failures.keys.map(&:name).sort.join(", ")}"
|
227
227
|
end
|
228
228
|
|
229
|
+
all_processed_packages.delete_if do |pkg|
|
230
|
+
ws.manifest.excluded?(pkg.name) || ws.manifest.ignored?(pkg.name)
|
231
|
+
end
|
229
232
|
all_processed_packages
|
230
233
|
|
231
234
|
ensure
|
@@ -271,9 +274,12 @@ def finalize_package_load(processed_packages)
|
|
271
274
|
pkg.os_packages << pkg_name
|
272
275
|
end
|
273
276
|
end
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
+
|
278
|
+
if File.directory?(pkg.srcdir)
|
279
|
+
pkg.prepare
|
280
|
+
Rake::Task["#{pkg.name}-prepare"].instance_variable_set(:@already_invoked, true)
|
281
|
+
pkg.update_environment
|
282
|
+
end
|
277
283
|
package_queue.concat(pkg.dependencies)
|
278
284
|
end
|
279
285
|
all
|
data/lib/autoproj/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autoproj
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.rc22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sylvain Joyeux
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: autobuild
|