autobuild 1.21.0 → 1.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/lint.yml +25 -0
- data/.github/workflows/test.yml +30 -0
- data/.rubocop.yml +14 -7
- data/autobuild.gemspec +1 -1
- data/bin/autobuild +1 -1
- data/lib/autobuild/build_logfile.rb +1 -2
- data/lib/autobuild/config.rb +5 -5
- data/lib/autobuild/environment.rb +28 -45
- data/lib/autobuild/exceptions.rb +11 -5
- data/lib/autobuild/import/archive.rb +31 -22
- data/lib/autobuild/import/cvs.rb +6 -6
- data/lib/autobuild/import/darcs.rb +4 -4
- data/lib/autobuild/import/git-lfs.rb +4 -4
- data/lib/autobuild/import/git.rb +139 -66
- data/lib/autobuild/import/hg.rb +7 -7
- data/lib/autobuild/import/svn.rb +15 -9
- data/lib/autobuild/importer.rb +33 -37
- data/lib/autobuild/mail_reporter.rb +5 -2
- data/lib/autobuild/package.rb +14 -12
- data/lib/autobuild/packages/autotools.rb +3 -8
- data/lib/autobuild/packages/cmake.rb +11 -8
- data/lib/autobuild/packages/dummy.rb +0 -4
- data/lib/autobuild/packages/gnumake.rb +1 -1
- data/lib/autobuild/packages/orogen.rb +11 -4
- data/lib/autobuild/packages/pkgconfig.rb +2 -2
- data/lib/autobuild/packages/python.rb +1 -2
- data/lib/autobuild/packages/ruby.rb +5 -5
- data/lib/autobuild/parallel.rb +7 -16
- data/lib/autobuild/pkgconfig.rb +1 -0
- data/lib/autobuild/progress_display.rb +5 -9
- data/lib/autobuild/rake_task_extension.rb +6 -0
- data/lib/autobuild/reporting.rb +7 -7
- data/lib/autobuild/subcommand.rb +24 -23
- data/lib/autobuild/timestamps.rb +3 -3
- data/lib/autobuild/utility.rb +3 -3
- data/lib/autobuild/version.rb +1 -1
- data/lib/autobuild.rb +0 -3
- metadata +5 -4
- data/.travis.yml +0 -21
data/lib/autobuild/utility.rb
CHANGED
@@ -60,7 +60,7 @@ module Autobuild
|
|
60
60
|
attr_writer :target_dir
|
61
61
|
|
62
62
|
# Controls whether this utility generates results or not
|
63
|
-
#
|
63
|
+
#
|
64
64
|
# By default, Autobuild assumes that utilities generate report or
|
65
65
|
# artifact files, that are saved in {#target_dir}. Set this flag to
|
66
66
|
# true to disable this behavior, in which case the only report will
|
@@ -70,7 +70,7 @@ module Autobuild
|
|
70
70
|
attr_writer :no_results
|
71
71
|
|
72
72
|
# Whether this utility generates results or not
|
73
|
-
#
|
73
|
+
#
|
74
74
|
# @see no_results=
|
75
75
|
def no_results?
|
76
76
|
@no_results
|
@@ -84,7 +84,7 @@ module Autobuild
|
|
84
84
|
if @target_dir
|
85
85
|
utility_prefix = Autobuild.send("#{name}_prefix") || name
|
86
86
|
File.expand_path(@target_dir,
|
87
|
-
|
87
|
+
File.expand_path(utility_prefix, package.prefix))
|
88
88
|
else
|
89
89
|
File.join(package.logdir, "#{name}-results", package.name)
|
90
90
|
end
|
data/lib/autobuild/version.rb
CHANGED
data/lib/autobuild.rb
CHANGED
@@ -17,11 +17,9 @@ require 'etc'
|
|
17
17
|
require 'find'
|
18
18
|
require 'pathname'
|
19
19
|
require 'shellwords'
|
20
|
-
require 'find'
|
21
20
|
require 'rake/tasklib'
|
22
21
|
require 'fileutils'
|
23
22
|
require 'optparse'
|
24
|
-
require 'rake'
|
25
23
|
require 'singleton'
|
26
24
|
require 'pastel'
|
27
25
|
require 'tty-prompt'
|
@@ -43,7 +41,6 @@ require 'autobuild/config'
|
|
43
41
|
require 'autobuild/importer'
|
44
42
|
require 'autobuild/import/cvs'
|
45
43
|
require 'autobuild/import/darcs'
|
46
|
-
require 'autobuild/importer'
|
47
44
|
require 'autobuild/import/git'
|
48
45
|
require 'autobuild/import/hg'
|
49
46
|
require 'autobuild/import/svn'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autobuild
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.22.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sylvain Joyeux
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|
@@ -206,9 +206,10 @@ extensions: []
|
|
206
206
|
extra_rdoc_files: []
|
207
207
|
files:
|
208
208
|
- ".gitattributes"
|
209
|
+
- ".github/workflows/lint.yml"
|
210
|
+
- ".github/workflows/test.yml"
|
209
211
|
- ".gitignore"
|
210
212
|
- ".rubocop.yml"
|
211
|
-
- ".travis.yml"
|
212
213
|
- Changes.txt
|
213
214
|
- Gemfile
|
214
215
|
- Manifest.txt
|
@@ -269,7 +270,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
269
270
|
requirements:
|
270
271
|
- - ">="
|
271
272
|
- !ruby/object:Gem::Version
|
272
|
-
version: 2.
|
273
|
+
version: 2.5.0
|
273
274
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
274
275
|
requirements:
|
275
276
|
- - ">="
|
data/.travis.yml
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
sudo: true
|
2
|
-
language: ruby
|
3
|
-
rvm:
|
4
|
-
- '2.3'
|
5
|
-
- '2.4'
|
6
|
-
- '2.5'
|
7
|
-
- '2.6'
|
8
|
-
- '2.7'
|
9
|
-
- 'jruby-9.1.15.0'
|
10
|
-
matrix:
|
11
|
-
allow_failures:
|
12
|
-
- rvm: 'jruby-9.1.15.0'
|
13
|
-
|
14
|
-
install:
|
15
|
-
- sudo apt-get install build-essential
|
16
|
-
- gem install bundler
|
17
|
-
- bundle install --path vendor/bundle
|
18
|
-
|
19
|
-
script:
|
20
|
-
- bundle exec rake
|
21
|
-
- bundle exec rake test
|