autoproj 1.7.14.rc5 → 1.7.14.rc6
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +10 -0
- data/Rakefile +6 -22
- data/bin/autoproj_bootstrap +2 -1
- data/lib/autoproj/cmdline.rb +9 -0
- data/lib/autoproj/version.rb +1 -1
- metadata +6 -6
data/History.txt
CHANGED
@@ -17,6 +17,16 @@
|
|
17
17
|
must match the package name, as e.g.
|
18
18
|
rock.git/external/yaml-cpp.xml
|
19
19
|
The package set's manifest takes precedence over the package one.
|
20
|
+
* added the --exit-code option to autoproj status. It is meant to be used
|
21
|
+
in scripts to check whether autoproj update will modify the source code
|
22
|
+
(for instance, in build servers)
|
23
|
+
* removed explicit installation of rdoc to fix issues with RubyGems 1.7.x.
|
24
|
+
Additionally, the Gems documentation is not generated by default anymore as
|
25
|
+
most people don't need it. It can be reenabled with
|
26
|
+
Autoproj::OSDependencies.gem_doc = true
|
27
|
+
* be compatible with (soon-to-be-removed) deprecations in RubyGems 1.8.x
|
28
|
+
* allow usage of metapackages in the dependency tracking (i.e. one can use a
|
29
|
+
metapackage as a dependency of another package now)
|
20
30
|
|
21
31
|
= Version 1.7.13
|
22
32
|
* bugfix release: fix HTTP fallback mechanism for gitorious servers
|
data/Rakefile
CHANGED
@@ -1,16 +1,16 @@
|
|
1
|
+
require 'utilrb/rake_common'
|
1
2
|
$LOAD_PATH.unshift File.join(Dir.pwd, 'lib')
|
2
3
|
|
3
4
|
task 'default'
|
4
|
-
|
5
|
-
require 'hoe'
|
5
|
+
Utilrb::Rake.hoe do
|
6
6
|
namespace 'dist' do
|
7
|
-
|
7
|
+
Hoe.spec 'autoproj' do
|
8
8
|
self.developer "Sylvain Joyeux", "sylvain.joyeux@dfki.de"
|
9
9
|
|
10
|
-
self.url = ["http://
|
10
|
+
self.url = ["http://rock-robotics.org/autoproj",
|
11
11
|
"git://github.com/doudou/autoproj.git"]
|
12
12
|
self.rubyforge_name = 'autobuild'
|
13
|
-
self.summary = 'Easy installation and management of
|
13
|
+
self.summary = 'Easy installation and management of software packages'
|
14
14
|
self.description = paragraphs_of('README.txt', 0..1).join("\n\n")
|
15
15
|
self.changes = paragraphs_of('History.txt', 0..1).join("\n\n")
|
16
16
|
|
@@ -26,13 +26,6 @@ begin
|
|
26
26
|
['rdoc', '>= 2.4.0']
|
27
27
|
end
|
28
28
|
end
|
29
|
-
|
30
|
-
rescue LoadError => e
|
31
|
-
STDERR.puts "cannot load the Hoe gem. Distribution is disabled"
|
32
|
-
STDERR.puts "error message is: #{e.message}"
|
33
|
-
rescue Exception => e
|
34
|
-
STDERR.puts "cannot load the Hoe gem, or Hoe fails. Distribution is disabled"
|
35
|
-
STDERR.puts "error message is: #{e.message}"
|
36
29
|
end
|
37
30
|
|
38
31
|
namespace 'dist' do
|
@@ -68,15 +61,7 @@ namespace 'dist' do
|
|
68
61
|
end
|
69
62
|
file 'bin/autoproj_bootstrap' => 'dist:bootstrap'
|
70
63
|
|
71
|
-
|
72
|
-
require 'rdoc/task'
|
73
|
-
true
|
74
|
-
rescue LoadError => e
|
75
|
-
STDERR.puts "WARN: cannot load RDoc, documentation generation disabled"
|
76
|
-
STDERR.puts "WARN: #{e.message}"
|
77
|
-
end
|
78
|
-
|
79
|
-
if do_doc
|
64
|
+
Utilrb::Rake.rdoc do
|
80
65
|
task 'doc' => 'doc:all'
|
81
66
|
task 'clobber_docs' => 'doc:clobber'
|
82
67
|
task 'redocs' do
|
@@ -96,4 +81,3 @@ if do_doc
|
|
96
81
|
end
|
97
82
|
end
|
98
83
|
|
99
|
-
|
data/bin/autoproj_bootstrap
CHANGED
@@ -1588,7 +1588,7 @@ rescue Autoproj::ConfigError => e
|
|
1588
1588
|
end
|
1589
1589
|
|
1590
1590
|
# Now try to find out the name of the gem binary
|
1591
|
-
PACKAGES = %w{
|
1591
|
+
PACKAGES = %w{libxml2 libxslt zlib build-essential lsb_release}
|
1592
1592
|
|
1593
1593
|
ENV['RUBYOPT'] = "-rubygems"
|
1594
1594
|
require 'rubygems'
|
@@ -1620,6 +1620,7 @@ if ARGV.first != "localdev"
|
|
1620
1620
|
ARGV.shift
|
1621
1621
|
end
|
1622
1622
|
begin
|
1623
|
+
osdeps_management.install(['autobuild'])
|
1623
1624
|
osdeps_management.install(['autoproj'])
|
1624
1625
|
rescue Autoproj::ConfigError => e
|
1625
1626
|
STDERR.puts "failed: #{e.message}"
|
data/lib/autoproj/cmdline.rb
CHANGED
@@ -47,6 +47,15 @@ module Autoproj
|
|
47
47
|
Autoproj.loaded_autobuild_files.clear
|
48
48
|
Autoproj.load_config
|
49
49
|
|
50
|
+
if Autoproj.has_config_key?('autobuild')
|
51
|
+
params = Autoproj.user_config('autobuild')
|
52
|
+
if params.kind_of?(Hash)
|
53
|
+
params.each do |k, v|
|
54
|
+
Autobuild.send("#{k}=", v)
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
50
59
|
if Autoproj.has_config_key?('prefix')
|
51
60
|
Autoproj.prefix = Autoproj.user_config('prefix')
|
52
61
|
end
|
data/lib/autoproj/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autoproj
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15424057
|
5
5
|
prerelease: 7
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 7
|
9
9
|
- 14
|
10
10
|
- rc
|
11
|
-
-
|
12
|
-
version: 1.7.14.
|
11
|
+
- 6
|
12
|
+
version: 1.7.14.rc6
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Sylvain Joyeux
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2011-
|
20
|
+
date: 2011-11-03 00:00:00 Z
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
23
|
name: autobuild
|
@@ -228,7 +228,7 @@ files:
|
|
228
228
|
- test/test_debian.rb
|
229
229
|
- test/test_manifest.rb
|
230
230
|
- .gemtest
|
231
|
-
homepage: http://
|
231
|
+
homepage: http://rock-robotics.org/autoproj
|
232
232
|
licenses: []
|
233
233
|
|
234
234
|
post_install_message:
|
@@ -263,7 +263,7 @@ rubyforge_project: autobuild
|
|
263
263
|
rubygems_version: 1.8.10
|
264
264
|
signing_key:
|
265
265
|
specification_version: 3
|
266
|
-
summary: Easy installation and management of
|
266
|
+
summary: Easy installation and management of software packages
|
267
267
|
test_files:
|
268
268
|
- test/test_manifest.rb
|
269
269
|
- test/test_debian.rb
|