autoproj 1.13.3 → 1.13.4

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: fb773b4a9bc2b1de9d98a219109dceb361598a20
4
- data.tar.gz: d1fa8ff80b304bab208efdd8e3f597b8df5b4f76
3
+ metadata.gz: cf8eb8b24aec621159d6e9502228758b76978903
4
+ data.tar.gz: 23b79851f11f3127c416d8af6f1fa30bc30da134
5
5
  SHA512:
6
- metadata.gz: f91eb7f06627509cb5e6198c3f09a8e7b81f64c7c5349de7e12da1d87d125d2c058abac75be62f3c42450d73c3528b48be8354aa630b75912507527c3453ff8e
7
- data.tar.gz: e7b5d426ecf02a4f77f92ce2a651f739fd3252b9bf29a1ffc6a2ec55a713ace4fc60029dc0f70b1953ed6b63990ec0f9739d6b97cbd75cef417f65703bb05a82
6
+ metadata.gz: 5353eb913981abe06b00a035423e80bd44d57193429d264a068fb2c215bcbc4802485e41809c275383af2811a41e4efa86d1c2301b5919892371f36d59be9cd8
7
+ data.tar.gz: 2ace1ed4f065d92d6b5e8acc07c37b9e0b2c20c40a9b879d02dde824e72c2ffa923389985c732733ec8f93633cf1038a2423efefa27a610e55e8da0587c6ad15
data/bin/autoproj CHANGED
@@ -196,7 +196,7 @@ Autoproj::CmdLine.report do
196
196
  # build the list of packages that have actually been selected on the command
197
197
  # line.
198
198
  all_enabled_packages = Autoproj::CmdLine.import_packages(selected_packages)
199
- Autoproj::CmdLine.load_all_available_package_manifests
199
+ Autoproj::CmdLine.load_all_available_package_manifests(false)
200
200
  Autoproj::CmdLine.export_installation_manifest
201
201
 
202
202
  if Autoproj::CmdLine.update_os_dependencies? && !all_enabled_packages.empty?
@@ -355,10 +355,11 @@ module Autoproj
355
355
  # but simply warns in case of errors. The reasons for that is that the
356
356
  # only packages that should really block the current processing are the
357
357
  # ones that are selected on the command line
358
- def self.load_all_available_package_manifests
358
+ def self.load_all_available_package_manifests(overwrite_existing = true)
359
359
  # Load the manifest for packages that are already present on the
360
360
  # file system
361
361
  manifest.packages.each_value do |pkg|
362
+ next if !overwrite_existing && pkg.autobuild.description
362
363
  if File.directory?(pkg.autobuild.srcdir)
363
364
  begin
364
365
  manifest.load_package_manifest(pkg.autobuild.name)
@@ -1542,7 +1543,7 @@ where 'mode' is one of:
1542
1543
  Autoproj::CmdLine.finalize_package_setup
1543
1544
 
1544
1545
 
1545
- load_all_available_package_manifests
1546
+ load_all_available_package_manifests(true)
1546
1547
  update_environment
1547
1548
  remaining_arguments
1548
1549
  end
@@ -210,7 +210,6 @@ module Autoproj
210
210
  by_name = Hash.new
211
211
 
212
212
  required_remotes_dirs = Array.new
213
- required_user_dirs = Array.new
214
213
 
215
214
  queue = queue_auto_imports_if_needed(Array.new, root_pkg_set, root_pkg_set)
216
215
  while !queue.empty?
@@ -276,6 +275,7 @@ module Autoproj
276
275
  queue_auto_imports_if_needed(queue, pkg_set, root_pkg_set)
277
276
  end
278
277
 
278
+ required_user_dirs = by_name.collect { |k,v| k }
279
279
  cleanup_remotes_dir(package_sets, required_remotes_dirs)
280
280
  cleanup_remotes_user_dir(package_sets, required_user_dirs)
281
281
  package_sets
@@ -1,3 +1,3 @@
1
1
  module Autoproj
2
- VERSION = "1.13.3"
2
+ VERSION = "1.13.4"
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: 1.13.3
4
+ version: 1.13.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rock Core Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-11 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