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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d5ebd976ff9f8069409ddad62b9031dcfade571f
4
- data.tar.gz: fd963a41fcdadfdf6221d1cd3467da52369103eb
3
+ metadata.gz: 96eeb69d5f337a90861b5c2ea4124d724964de01
4
+ data.tar.gz: a43d11ef0c140d1a371d415ff44396376a85a893
5
5
  SHA512:
6
- metadata.gz: 339c79e8059fd15a5945dd32014fcfca57a935da395adddaed9badbe307fc85d38f49d424b14360a89b4da6d0486a6a9378969a64f0881dace31ce19572bf677
7
- data.tar.gz: 3bef43394b2f4402d4d0f7d2abd7d8cde7801da7024d20e8591461abdbd7cab8e613114158432efc630d14ba58da1255af8fbaf1ff187f9d4ce927aefac76ad6
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
@@ -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
- return all_processed_packages
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
- pkg.prepare
275
- Rake::Task["#{pkg.name}-prepare"].instance_variable_set(:@already_invoked, true)
276
- pkg.update_environment
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
@@ -1,3 +1,3 @@
1
1
  module Autoproj
2
- VERSION = "2.0.0.rc21"
2
+ VERSION = "2.0.0.rc22"
3
3
  end
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.rc21
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-03 00:00:00.000000000 Z
11
+ date: 2016-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: autobuild