autobuild 1.10.0.rc16 → 1.10.0.rc17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/autobuild/import/git.rb +2 -1
- data/lib/autobuild/packages/cmake.rb +5 -0
- data/lib/autobuild/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e2057da6c8c347d2d31e9b8c13284b8085150131
|
|
4
|
+
data.tar.gz: 2f2d7074bf47a87130b12c7f369ed924c4e99791
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0b2af938953de41a904e97d84d14c4d89f342717ab458114a4716e5522ed3e5b56793cfbcc11a9562934fb8c02e53c26eac792615c875cf721c5b534875817c7
|
|
7
|
+
data.tar.gz: 9e4eb63714c22288f47f1b49e3b87d2fb707aaeaebbdede942aa7aaf116b0ebf56da55d4dd112aedfd8bf7d4c5c6ff27ac3fb7c433c0b7eb61c6d9461c8f433e
|
data/.gitignore
CHANGED
data/lib/autobuild/import/git.rb
CHANGED
|
@@ -499,7 +499,8 @@ def fetch_remote(package, options = Hash.new)
|
|
|
499
499
|
# configuration parameters only if the repository and branch are
|
|
500
500
|
# OK (i.e. we keep old working configuration instead)
|
|
501
501
|
refspec = Array(options[:refspec])
|
|
502
|
-
|
|
502
|
+
tag_arg = ['--tags'] if tag
|
|
503
|
+
run_git_bare(package, 'fetch', repository, *tag_arg, *refspec, retry: true)
|
|
503
504
|
|
|
504
505
|
update_remotes_configuration(package)
|
|
505
506
|
|
|
@@ -522,12 +522,17 @@ def delete_obsolete_files
|
|
|
522
522
|
manifest_contents = File.readlines(File.join(builddir, 'install_manifest.txt')).
|
|
523
523
|
map { |p| File.expand_path(p.chomp) }.to_set
|
|
524
524
|
logdir = self.logdir
|
|
525
|
+
counter = 0
|
|
525
526
|
Find.find(prefix) do |path|
|
|
526
527
|
Find.prune if path == logdir
|
|
527
528
|
if !manifest_contents.include?(path) && File.file?(path)
|
|
529
|
+
counter += 1
|
|
528
530
|
FileUtils.rm path
|
|
529
531
|
end
|
|
530
532
|
end
|
|
533
|
+
if counter > 0
|
|
534
|
+
message "%s: removed #{counter} obsolete files from prefix (cmake)"
|
|
535
|
+
end
|
|
531
536
|
end
|
|
532
537
|
end
|
|
533
538
|
end
|
data/lib/autobuild/version.rb
CHANGED
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.10.0.
|
|
4
|
+
version: 1.10.0.rc17
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sylvain Joyeux
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-09-
|
|
11
|
+
date: 2016-09-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -229,4 +229,3 @@ signing_key:
|
|
|
229
229
|
specification_version: 4
|
|
230
230
|
summary: Library to handle build systems and import mechanisms
|
|
231
231
|
test_files: []
|
|
232
|
-
has_rdoc:
|