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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ffa7ae037ecb9bae8e7986f81af4be91ef2d2970
4
- data.tar.gz: d2c113a6a98a0c93852280080f6caafc7c84b11a
3
+ metadata.gz: e2057da6c8c347d2d31e9b8c13284b8085150131
4
+ data.tar.gz: 2f2d7074bf47a87130b12c7f369ed924c4e99791
5
5
  SHA512:
6
- metadata.gz: 922acbd61bea388fc2e7550ce1c3e48f6705ac033dcae05a92d7f849eb6f2ae2501a71d9ec8f573457533fd0d5e1157766830bfbc123c92e8a87d1a0adb3dcbb
7
- data.tar.gz: 6309445d752802fea1f881accb54082490fe552f48c2b68b07e70bac1245b7a0fc83486c93225ce9c7e3125b3f2c642c5402bb383ca95a13b0c91488f0ff5cc7
6
+ metadata.gz: 0b2af938953de41a904e97d84d14c4d89f342717ab458114a4716e5522ed3e5b56793cfbcc11a9562934fb8c02e53c26eac792615c875cf721c5b534875817c7
7
+ data.tar.gz: 9e4eb63714c22288f47f1b49e3b87d2fb707aaeaebbdede942aa7aaf116b0ebf56da55d4dd112aedfd8bf7d4c5c6ff27ac3fb7c433c0b7eb61c6d9461c8f433e
data/.gitignore CHANGED
@@ -3,3 +3,4 @@ pkg/
3
3
  doc/
4
4
  vendor/
5
5
  .bundle
6
+ coverage/
@@ -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
- run_git_bare(package, 'fetch', repository, *refspec, retry: true)
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
@@ -1,5 +1,5 @@
1
1
  module Autobuild
2
- VERSION = "1.10.0.rc16" unless defined? Autobuild::VERSION
2
+ VERSION = "1.10.0.rc17" unless defined? Autobuild::VERSION
3
3
  end
4
4
 
5
5
 
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.rc16
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-13 00:00:00.000000000 Z
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: