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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 41de6372aa6ee2fca24f7c8f3b7c4ca3c1ca8d4d
4
- data.tar.gz: 3235881ff0bf56f54243d6869c8b76d5aebc0a6b
3
+ metadata.gz: 290f269b03438a5b9da138447f49165e1f1996d2
4
+ data.tar.gz: 4d5d6a2bfb7c90f635a491a8077343a9aa2e57a0
5
5
  SHA512:
6
- metadata.gz: 63b62854e75a48479009286c796ac2a86566faa7cdc070019e860e7025d04c8b7500f4d288d39be3c412a9a2991bb3aebb98a71e253c531e693397c5b55e6d1d
7
- data.tar.gz: b8b7bce7c13c6c68b4d18a0be3acd760aa49dff4aad0c5b974d6a82d273fa43518f32c4828b50e3836151a62a6e1330387f3381c79cd13e7651f6c13cd2473a0
6
+ metadata.gz: 3ff90cec493c12af1ee241113329936ce6e3cecf32c1487ea33b6fb4532d99ade0154c94b8594d2cb23a643773d1458573bff62f28e8c3b4b51c0f6c493d0aca
7
+ data.tar.gz: 1b4fba604eba47c7cae69d8a18384e148a1eb7bba742d1d6f6615f9762388f3ca98e2d6511b4a0c9ba9acbb434c73563ce76527a81fa34b52f48d93697f8c127
@@ -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
 
@@ -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
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Autoproj
2
- VERSION = "1.11.0.rc2"
2
+ VERSION = "1.11.0.rc3"
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.11.0.rc2
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-09 00:00:00.000000000 Z
11
+ date: 2014-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: autobuild