autoproj 1.6.2.rc7 → 1.6.2.rc8

Sign up to get free protection for your applications and to get access to all the features.
@@ -421,7 +421,7 @@ module Autoproj
421
421
  Autobuild.do_update = false
422
422
  packages = Autobuild::Package.each.
423
423
  find_all { |pkg_name, pkg| File.directory?(pkg.srcdir) }.
424
- delete_if { |pkg_name, pkg| !all_enabled_packages.include?(pkg_name) || Autoproj.manifest.excluded?(pkg_name) || Autoproj.manifest.ignored?(pkg_name) }
424
+ delete_if { |pkg_name, pkg| all_enabled_packages.include?(pkg_name) || Autoproj.manifest.excluded?(pkg_name) || Autoproj.manifest.ignored?(pkg_name) }
425
425
 
426
426
  packages.each do |_, pkg|
427
427
  pkg.isolate_errors do
@@ -578,15 +578,30 @@ where 'mode' is one of:
578
578
  doc: generate and install documentation for packages that have some
579
579
 
580
580
  -- Status & Update
581
- envsh: update the env.sh script
582
- status: displays the state of the packages w.r.t. their source VCS
583
- list: list all available packages
584
- update: only import/update packages, do not build them
581
+ envsh: update the env.sh script
582
+ osdeps: install the OS-provided packages
583
+ status: displays the state of the packages w.r.t. their source VCS
584
+ list-config: list all available packages
585
+ update: only import/update packages, do not build them
585
586
  update-config: only update the configuration
586
587
 
588
+ -- Experimental Features (USE AT YOUR OWN RISK)
589
+ check: compares dependencies in manifest.xml with autodetected ones
590
+ (valid only for package types that do autodetection, like
591
+ orogen packages)
592
+ manifest-update: like check, but updates the manifest.xml file
593
+ (CAREFUL: optional dependencies will get added as well!!!)
594
+ snapshot: create a standalone autoproj configuration where all packages
595
+ are pinned to their current version. I.e. building a snapshot
596
+ should give you the exact same result.
597
+
587
598
  -- Autoproj Configuration
588
599
  bootstrap: starts a new autoproj installation. Usage:
589
600
  autoproj bootstrap [manifest_url|source_vcs source_url opt1=value1 opt2=value2 ...]
601
+
602
+ For example:
603
+ autoproj bootstrap git git://github.com/doudou/rubim-all.git branch=all
604
+
590
605
  switch-config: change where the configuration should be taken from. Syntax:
591
606
  autoproj switch-config source_vcs source_url opt1=value1 opt2=value2 ...
592
607
 
@@ -1123,6 +1138,11 @@ export PATH=$GEM_HOME/bin:$PATH
1123
1138
  missing.to_set.to_a.sort
1124
1139
  end
1125
1140
 
1141
+ # Verifies that each package's manifest is up-to-date w.r.t. the
1142
+ # automatically-detected dependencies
1143
+ #
1144
+ # Only useful for package types that do some automatic dependency
1145
+ # detection
1126
1146
  def self.check(packages)
1127
1147
  packages.sort.each do |pkg_name|
1128
1148
  result = []
@@ -1284,6 +1284,12 @@ module Autoproj
1284
1284
  all_packages.each do |pkg_name|
1285
1285
  pkg = Autobuild::Package[pkg_name]
1286
1286
  if pkg_name =~ match_pkg_name || pkg.srcdir =~ match_dir
1287
+ # Check-out packages that are not in the manifest only
1288
+ # if they are explicitely selected
1289
+ if !File.directory?(pkg.srcdir) && !all_layout_packages.include?(pkg.name)
1290
+ next
1291
+ end
1292
+
1287
1293
  expanded_packages << pkg_name
1288
1294
  end
1289
1295
  end
@@ -1,3 +1,3 @@
1
1
  module Autoproj
2
- VERSION = "1.6.2.rc7"
2
+ VERSION = "1.6.2.rc8"
3
3
  end
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 1
7
7
  - 6
8
8
  - 2
9
- - rc7
10
- version: 1.6.2.rc7
9
+ - rc8
10
+ version: 1.6.2.rc8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sylvain Joyeux
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-10-29 00:00:00 +02:00
18
+ date: 2010-11-01 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency