autoproj-git 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0d14c99cfb139fc6c403abf35ed3e8e77113a531
4
- data.tar.gz: f2597732673b782d791c84e87ff5794f98d7e66e
3
+ metadata.gz: f9cec07fc946ab617b95eea4a8c3c2e9c3b442f3
4
+ data.tar.gz: 1b7ad372875f4e809226825aacb845cff52569ad
5
5
  SHA512:
6
- metadata.gz: 0bbd6ceb553472908518e99b6bfc48739766d93e5d7096e29164d63aec9b277ba7cbc2e54c08677a79011ac3cd9d920da19d61e84d4a2ee5c6ede9bfc0e8f265
7
- data.tar.gz: 060e474094d5d677b4cc572faafefd04d36c1c13e0e417f642c6239fe292ae8a34e52c6595b1e4f1b98d66713443c579a93c5f5200f68c8378ea2fa7d826157e
6
+ metadata.gz: c528a3217bb46ec88a8b7c0f6e8fad7e5fe91d5a2b1b305ee8148761287966e1cbf659c09774dadafc8ae284270c25f94a9744dd91dd94706ee51bb3b1a71e4a
7
+ data.tar.gz: c0f886eb6e8e2eca116b91b01e4d68a23eb9e1b0b6f6180a4e7a54ac8e2b1ed9bab52a227068263444b12e8cdd189de9a83c393e9202f022408ec2b76bea8dda
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.add_dependency "autoproj", "~> 2.0"
22
+ spec.add_dependency "autoproj", ">= 2.0.0.a"
23
23
 
24
24
  spec.add_development_dependency "bundler", "~> 1.10"
25
25
  spec.add_development_dependency "rake", "~> 10.0"
@@ -28,6 +28,12 @@ module Autoproj
28
28
  end
29
29
  end
30
30
 
31
+ def git_repack(pkg, progress)
32
+ pkg.progress_start "#{progress}%s: repack", done_message: "#{progress}%s: gc" do
33
+ pkg.importer.run_git_bare(pkg, 'repack', '-adl')
34
+ end
35
+ end
36
+
31
37
  def git_all_remotes(pkg)
32
38
  pkg.importer.run_git(pkg, 'config', '--list').
33
39
  map do |line|
@@ -61,6 +67,7 @@ module Autoproj
61
67
 
62
68
  def cleanup_package(pkg, progress, options = Hash.new)
63
69
  git_gc(pkg, progress)
70
+ git_repack(pkg, progress)
64
71
 
65
72
  if options[:remove_obsolete_remotes]
66
73
  git_remove_obsolete_remotes(pkg, progress)
@@ -1,5 +1,5 @@
1
1
  module Autoproj
2
2
  module Git
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autoproj-git
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvain Joyeux
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-09-03 00:00:00.000000000 Z
11
+ date: 2016-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: autoproj
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '2.0'
19
+ version: 2.0.0.a
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '2.0'
26
+ version: 2.0.0.a
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement