autoproj 1.11.0.rc2 → 1.11.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/autoproj/cmdline.rb +2 -18
- data/lib/autoproj/manifest.rb +7 -0
- data/lib/autoproj/ops/tools.rb +9 -0
- 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: 290f269b03438a5b9da138447f49165e1f1996d2
|
4
|
+
data.tar.gz: 4d5d6a2bfb7c90f635a491a8077343a9aa2e57a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ff90cec493c12af1ee241113329936ce6e3cecf32c1487ea33b6fb4532d99ade0154c94b8594d2cb23a643773d1458573bff62f28e8c3b4b51c0f6c493d0aca
|
7
|
+
data.tar.gz: 1b4fba604eba47c7cae69d8a18384e148a1eb7bba742d1d6f6615f9762388f3ca98e2d6511b4a0c9ba9acbb434c73563ce76527a81fa34b52f48d93697f8c127
|
data/lib/autoproj/cmdline.rb
CHANGED
@@ -813,6 +813,7 @@ module Autoproj
|
|
813
813
|
def self.ignore_dependencies?; @ignore_dependencies end
|
814
814
|
|
815
815
|
def self.color?; @color end
|
816
|
+
def self.color=(flag); @color = flag end
|
816
817
|
|
817
818
|
class << self
|
818
819
|
attr_accessor :update_from
|
@@ -924,13 +925,6 @@ where 'mode' is one of:
|
|
924
925
|
opts.on('--from PATH', 'in update mode, use this existing autoproj installation to check out the packages (for importers that support this)') do |path|
|
925
926
|
self.update_from = Autoproj::InstallationManifest.from_root(File.expand_path(path))
|
926
927
|
end
|
927
|
-
opts.on("--[no-]color", "enable or disable color in status messages (enabled by default)") do |flag|
|
928
|
-
@color = flag
|
929
|
-
Autobuild.color = flag
|
930
|
-
end
|
931
|
-
opts.on("--[no-]progress", "enable or disable progress display (enabled by default)") do |flag|
|
932
|
-
Autobuild.progress_display_enabled = flag
|
933
|
-
end
|
934
928
|
opts.on("--version", "displays the version and then exits") do
|
935
929
|
puts "autoproj v#{Autoproj::VERSION}"
|
936
930
|
exit(0)
|
@@ -1015,17 +1009,6 @@ where 'mode' is one of:
|
|
1015
1009
|
config.randomize_layout = true
|
1016
1010
|
end
|
1017
1011
|
|
1018
|
-
opts.on("--verbose", "verbose output") do
|
1019
|
-
Autoproj.verbose = true
|
1020
|
-
Autobuild.verbose = true
|
1021
|
-
Rake.application.options.trace = false
|
1022
|
-
end
|
1023
|
-
opts.on("--debug", "debugging output") do
|
1024
|
-
Autoproj.verbose = true
|
1025
|
-
Autobuild.verbose = true
|
1026
|
-
Rake.application.options.trace = true
|
1027
|
-
Autobuild.debug = true
|
1028
|
-
end
|
1029
1012
|
opts.on('--nice NICE', Integer, 'nice the subprocesses to the given value') do |value|
|
1030
1013
|
Autobuild.nice = value
|
1031
1014
|
end
|
@@ -1051,6 +1034,7 @@ where 'mode' is one of:
|
|
1051
1034
|
opts.on("--mail-only-errors", "send mail only on errors") do
|
1052
1035
|
mail_config[:only_errors] = true
|
1053
1036
|
end
|
1037
|
+
Ops::Tools.common_options(opts)
|
1054
1038
|
opts.instance_eval(&additional_options) if block_given?
|
1055
1039
|
end
|
1056
1040
|
|
data/lib/autoproj/manifest.rb
CHANGED
@@ -375,6 +375,13 @@ module Autoproj
|
|
375
375
|
packages[name]
|
376
376
|
end
|
377
377
|
|
378
|
+
# @deprecated use {each_autobuild_package} instead
|
379
|
+
def each_package(&block)
|
380
|
+
Autoproj.warn "Manifest#each_package is deprecated, use each_autobuild_package instead"
|
381
|
+
Autoproj.warn " " + caller(5).join("\n ")
|
382
|
+
each_autobuild_package(&block)
|
383
|
+
end
|
384
|
+
|
378
385
|
# Lists all defined packages
|
379
386
|
#
|
380
387
|
# @yieldparam [PackageDefinition] pkg
|
data/lib/autoproj/ops/tools.rb
CHANGED
@@ -76,6 +76,15 @@ module Autoproj
|
|
76
76
|
Rake.application.options.trace = true
|
77
77
|
Autobuild.debug = true
|
78
78
|
end
|
79
|
+
|
80
|
+
parser.on("--[no-]color", "enable or disable color in status messages (enabled by default)") do |flag|
|
81
|
+
Autoproj::CmdLine.color = flag
|
82
|
+
Autobuild.color = flag
|
83
|
+
end
|
84
|
+
|
85
|
+
parser.on("--[no-]progress", "enable or disable progress display (enabled by default)") do |flag|
|
86
|
+
Autobuild.progress_display_enabled = flag
|
87
|
+
end
|
79
88
|
end
|
80
89
|
|
81
90
|
extend Tools
|
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: 1.11.0.
|
4
|
+
version: 1.11.0.rc3
|
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: 2014-10-
|
11
|
+
date: 2014-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: autobuild
|