autoproj 1.8.2.rc4 → 1.8.2.rc5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/autoproj +14 -1
  2. data/lib/autoproj/version.rb +1 -1
  3. metadata +11 -11
data/bin/autoproj CHANGED
@@ -99,11 +99,24 @@ EOTEXT
99
99
  end
100
100
  end
101
101
 
102
+ needs_update_config = false
103
+ selected_packages.delete_if do |name|
104
+ if name =~ /^#{Regexp.quote(Autoproj.config_dir + File::SEPARATOR)}/ ||
105
+ name =~ /^#{Regexp.quote(Autoproj.remotes_dir + File::SEPARATOR)}/
106
+ needs_update_config = true
107
+ end
108
+ end
109
+
102
110
  Dir.chdir(root_dir)
103
111
 
104
112
  # Basic initialization
105
113
  Autoproj::CmdLine.initialize
106
- if selected_packages.empty?
114
+ if needs_update_config
115
+ Autoproj::CmdLine.update_configuration
116
+ if selected_packages.empty?
117
+ exit 0
118
+ end
119
+ elsif selected_packages.empty?
107
120
  Autoproj::CmdLine.update_myself
108
121
  Autoproj::CmdLine.update_configuration
109
122
  else
@@ -1,3 +1,3 @@
1
1
  module Autoproj
2
- VERSION = "1.8.2.rc4"
2
+ VERSION = "1.8.2.rc5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autoproj
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.2.rc4
4
+ version: 1.8.2.rc5
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-10-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: autobuild
16
- requirement: &11665920 !ruby/object:Gem::Requirement
16
+ requirement: &6585400 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.6.0.rc1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *11665920
24
+ version_requirements: *6585400
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: utilrb
27
- requirement: &11664080 !ruby/object:Gem::Requirement
27
+ requirement: &6584240 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.6.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *11664080
35
+ version_requirements: *6584240
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: highline
38
- requirement: &11662380 !ruby/object:Gem::Requirement
38
+ requirement: &6582160 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.5.0
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *11662380
46
+ version_requirements: *6582160
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rdoc
49
- requirement: &11661100 !ruby/object:Gem::Requirement
49
+ requirement: &6580580 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '3.10'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *11661100
57
+ version_requirements: *6580580
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: hoe
60
- requirement: &11659100 !ruby/object:Gem::Requirement
60
+ requirement: &6578900 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,7 +65,7 @@ dependencies:
65
65
  version: '3.1'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *11659100
68
+ version_requirements: *6578900
69
69
  description: autoproj is a manager for sets of software packages. It allows the user
70
70
  to import and build packages from source, still using the underlying distribution's
71
71
  native package manager for software that is available on it.