autoproj 1.11.0.rc12 → 1.11.0.rc13

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: 9058233d769c69abb2b7268a778f40c048e40a11
4
- data.tar.gz: 06e3fb0789c5aa42d5db2729659ca03a710ad2db
3
+ metadata.gz: fce0dd6f32d8bda1993c0bb0b99f05dfb794043e
4
+ data.tar.gz: b91bed9c6d505c6ba957b0c566bf55f44ff0c896
5
5
  SHA512:
6
- metadata.gz: ce8b28fa3cf0ac43790c2afbc757053c1765c038bda470f3cb0556f0d88ee7d65f63c96909a854df43870a4603031ca84582bd9c42d04d5369a26575b081a194
7
- data.tar.gz: 7f0a1d542df5a044009ef048914a93ddd1e5814c540feb4a2315562211410216018d7a1acdada80e98ed402920ef65cd5d5d509830125022fbdb39653eb046a7
6
+ metadata.gz: 880d54af1e680e49f80f70a3be4c05aac837c5f810cb0e8aabf5553530ca90b274c81409b853c5abcf8d73f8831804b9f6c0a4ef69589ec4689af2555bc07cc2
7
+ data.tar.gz: 96824090cfc7ce9862992f540763da086fa152a4447c338b1d3351f1f74b8c9ffafcccfc0ddd1e109014e81c79b3abe602853e5df339f0a8f043efdd8899912e
data/Manifest.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  History.txt
2
2
  Manifest.txt
3
- README.txt
3
+ README.md
4
4
  Rakefile
5
5
  bin/alocate
6
6
  bin/amake
@@ -7,13 +7,15 @@ version control repository (think "distributed version control"). It also
7
7
  provides an easy integration of the local operating system (Debian, Ubuntu,
8
8
  Fedora, maybe MacOSX at some point).
9
9
 
10
- This tool has been over the years. It is now maintained in the frame of the Rock
10
+ This tool has been developed over the years. It is now maintained in the frame of the Rock
11
11
  robotics project (http://rock-robotics.org), to install robotics-related
12
- software -- that is often bleeding edge. Unlike [the ROS build
13
- system](http://ros.org), it is not bound to one build system, one VCS and one
14
- integration framework. The philosophy behind autoproj
15
- is:
16
- * supports both CMake and autotools, and can be adapted to other tools
12
+ software -- that is often bleeding edge.
13
+
14
+ One main design direction for autoproj is that packages can be built with
15
+ autoproj without having been designed to be built with autoproj.
16
+
17
+ The philosophy behind autoproj is:
18
+ * supports any type of build system (CMake and autotools are built-in)
17
19
  * supports different VCS: cvs, svn, git, plain tarballs.
18
20
  * software packages are plain packages, meaning that they can be built and
19
21
  installed /outside/ an autoproj tree, and are not tied *at all* to the
@@ -23,11 +25,6 @@ is:
23
25
  access to.
24
26
  * handle code generation properly
25
27
 
26
- It tries as much as possible to follow the lead of Willow Garage on the package
27
- specification. More specifically, the package manifest files are common between
28
- ROS package management and autoproj (more details in the following of this
29
- document).
30
-
31
28
  Overview of an autoproj installation
32
29
  -------------------------------------
33
30
 
@@ -46,7 +43,6 @@ Each package definition includes:
46
43
  See this
47
44
  page[http://www.rock-robotics.org/stable/documentation/autoproj/writing_manifest.html] for more information.
48
45
 
49
-
50
46
  Software packages in Autoproj
51
47
  -----------------------------
52
48
  In the realm of autoproj, a software package should be a self-contained build
data/bin/autoproj-show CHANGED
@@ -160,7 +160,7 @@ packages.each do |name|
160
160
 
161
161
  osdeps.each do |pkg_name|
162
162
  puts Autoproj.color("the osdep '#{pkg_name}'", :bold)
163
- Autoproj.osdeps.resolve_os_dependencies(pkg_name).each do |manager, packages|
163
+ Autoproj.osdeps.resolve_os_dependencies([pkg_name]).each do |manager, packages|
164
164
  puts " #{manager.names.first}: #{packages.map { |*subnames| subnames.join(" ") }.join(", ")}"
165
165
  end
166
166
  end
@@ -83,6 +83,8 @@ module Autoproj
83
83
  end
84
84
 
85
85
  module Autobuild
86
+ class Exception < RuntimeError; end
87
+
86
88
  def self.do_update
87
89
  true
88
90
  end
@@ -1054,7 +1056,7 @@ fi
1054
1056
  end
1055
1057
 
1056
1058
  def reinstall
1057
- Autoproj.message "reinstalling all RubyGems"
1059
+ Autoproj.message " reinstalling all RubyGems"
1058
1060
  base_cmdline = [Autobuild.tool_in_path('ruby'), '-S', Autobuild.tool('gem')]
1059
1061
  Autobuild::Subprocess.run 'osdeps', 'reinstall', *base_cmdline,
1060
1062
  'clean'
@@ -83,6 +83,8 @@ module Autoproj
83
83
  end
84
84
 
85
85
  module Autobuild
86
+ class Exception < RuntimeError; end
87
+
86
88
  def self.do_update
87
89
  true
88
90
  end
@@ -211,13 +211,18 @@ module Autoproj
211
211
  vcs, options, imported_from = queue.shift
212
212
  repository_id = repository_id_of(vcs)
213
213
  if already_processed = by_repository_id[repository_id]
214
- already_processed_vcs, already_processed_from = *already_processed
214
+ already_processed_vcs, already_processed_from, pkg_set = *already_processed
215
215
  if already_processed_from && (already_processed_vcs != vcs)
216
216
  Autoproj.warn "already loaded the package set from #{already_processed_vcs} from #{already_processed_from.name}, this overrides different settings (#{vcs}) found in #{imported_from.name}"
217
217
  end
218
+
219
+ if imported_from
220
+ pkg_set.imported_from << imported_from
221
+ imported_from.imports << pkg_set
222
+ end
218
223
  next
219
224
  end
220
- by_repository_id[repository_id] = vcs
225
+ by_repository_id[repository_id] = [vcs, imported_from]
221
226
 
222
227
  if !vcs.local?
223
228
  update_remote_package_set(vcs, only_local)
@@ -243,6 +248,7 @@ module Autoproj
243
248
  end
244
249
 
245
250
  pkg_set = load_package_set(vcs, options, imported_from)
251
+ by_repository_id[repository_id][2] = pkg_set
246
252
  package_sets << pkg_set
247
253
 
248
254
  by_name[pkg_set.name] = [pkg_set, vcs, options, imported_from]
@@ -593,7 +593,7 @@ fi
593
593
  end
594
594
 
595
595
  def reinstall
596
- Autoproj.message "reinstalling all RubyGems"
596
+ Autoproj.message " reinstalling all RubyGems"
597
597
  base_cmdline = [Autobuild.tool_in_path('ruby'), '-S', Autobuild.tool('gem')]
598
598
  Autobuild::Subprocess.run 'osdeps', 'reinstall', *base_cmdline,
599
599
  'clean'
@@ -1,3 +1,3 @@
1
1
  module Autoproj
2
- VERSION = "1.11.0.rc12"
2
+ VERSION = "1.11.0.rc13"
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.rc12
4
+ version: 1.11.0.rc13
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-31 00:00:00.000000000 Z
11
+ date: 2014-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: autobuild
@@ -110,13 +110,13 @@ extensions: []
110
110
  extra_rdoc_files:
111
111
  - History.txt
112
112
  - Manifest.txt
113
- - README.txt
113
+ - README.md
114
114
  - samples/autoproj/README.txt
115
115
  files:
116
116
  - ".gemtest"
117
117
  - History.txt
118
118
  - Manifest.txt
119
- - README.txt
119
+ - README.md
120
120
  - Rakefile
121
121
  - bin/alocate
122
122
  - bin/amake
@@ -206,7 +206,7 @@ metadata: {}
206
206
  post_install_message:
207
207
  rdoc_options:
208
208
  - "--main"
209
- - README.txt
209
+ - README.md
210
210
  require_paths:
211
211
  - lib
212
212
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -226,9 +226,9 @@ signing_key:
226
226
  specification_version: 4
227
227
  summary: Easy installation and management of sets of software packages
228
228
  test_files:
229
- - test/test_os_dependencies.rb
230
- - test/test_manifest.rb
231
229
  - test/package_managers/test_apt_dpkg_manager.rb
232
230
  - test/package_managers/test_gem.rb
233
231
  - test/package_managers/test_pip.rb
232
+ - test/test_manifest.rb
233
+ - test/test_os_dependencies.rb
234
234
  - test/test_package_manifest.rb