autoproj 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/autoproj/cli/build.rb +1 -1
- data/lib/autoproj/cli/update.rb +1 -1
- data/lib/autoproj/manifest.rb +13 -7
- data/lib/autoproj/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1cf7f7d0c8d98b09aff6103fed65c4c4c5b9f20b
|
4
|
+
data.tar.gz: 5175feae1b29209f1cd5d3706737e2561d3f982c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cab8e9584a00aebb183cacdafc88487830a73d94ea3228d62cb8f3e8524b10a5980526d62f2bf52f696c60dd8a0615d765736c178db9f1ec085da7d56b97e829
|
7
|
+
data.tar.gz: da39b66b640c0e62143e520d9e6adebc16a02c2b333728133f685ae263f4057893d1e1c8f9086cc8033bf8a788b89d8fc753d1294372a38e1b5cdb5b43b5e69a
|
data/lib/autoproj/cli/build.rb
CHANGED
@@ -21,7 +21,7 @@ def run(selected_packages, options)
|
|
21
21
|
rebuild: false,
|
22
22
|
parallel: nil
|
23
23
|
|
24
|
-
command_line_selection, source_packages,
|
24
|
+
command_line_selection, source_packages, _osdep_packages =
|
25
25
|
super(selected_packages, options.merge(checkout_only: true))
|
26
26
|
|
27
27
|
parallel = build_options[:parallel] || ws.config.parallel_build_level
|
data/lib/autoproj/cli/update.rb
CHANGED
@@ -9,7 +9,7 @@ def validate_options(selection, options)
|
|
9
9
|
selection, options = super
|
10
10
|
|
11
11
|
if from = options[:from]
|
12
|
-
options[:from] = Autoproj::InstallationManifest.from_workspace_root(
|
12
|
+
options[:from] = Autoproj::InstallationManifest.from_workspace_root(from)
|
13
13
|
end
|
14
14
|
|
15
15
|
if options[:aup] && !options[:all] && selection.empty?
|
data/lib/autoproj/manifest.rb
CHANGED
@@ -310,7 +310,7 @@ def clear_ignored
|
|
310
310
|
def excluded?(package_name)
|
311
311
|
package_name = validate_package_name_argument(package_name)
|
312
312
|
|
313
|
-
if excluded_in_manifest?(package_name)
|
313
|
+
if !explicitely_selected_in_layout?(package_name) && excluded_in_manifest?(package_name)
|
314
314
|
true
|
315
315
|
elsif automatic_exclusions.any? { |pkg_name, | pkg_name == package_name }
|
316
316
|
true
|
@@ -380,14 +380,20 @@ def excluded_in_manifest?(package_name)
|
|
380
380
|
# disabled on this particular operating system.
|
381
381
|
def exclusion_reason(package_name)
|
382
382
|
package_name = validate_package_name_argument(package_name)
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
383
|
+
if message = automatic_exclusions[package_name]
|
384
|
+
return message
|
385
|
+
end
|
386
|
+
|
387
|
+
if !explicitely_selected_in_layout?(package_name)
|
388
|
+
manifest_exclusions.each do |matcher|
|
389
|
+
if (pkg_set = metapackages[matcher]) && pkg_set.include?(package_name)
|
390
|
+
return "#{pkg_set.name} is a metapackage listed in the exclude_packages section of the manifest, and it includes #{package_name}"
|
391
|
+
elsif Regexp.new(matcher) === package_name
|
392
|
+
return "#{package_name} is listed in the exclude_packages section of the manifest"
|
393
|
+
end
|
388
394
|
end
|
389
395
|
end
|
390
|
-
|
396
|
+
nil
|
391
397
|
end
|
392
398
|
|
393
399
|
# Returns true if the given package name has been explicitely added to
|
data/lib/autoproj/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autoproj
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sylvain Joyeux
|
@@ -337,3 +337,4 @@ signing_key:
|
|
337
337
|
specification_version: 4
|
338
338
|
summary: Easy installation and management of sets of software packages
|
339
339
|
test_files: []
|
340
|
+
has_rdoc:
|