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 +4 -4
- data/autoproj-git.gemspec +1 -1
- data/lib/autoproj/cli/git.rb +7 -0
- data/lib/autoproj/git/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9cec07fc946ab617b95eea4a8c3c2e9c3b442f3
|
4
|
+
data.tar.gz: 1b7ad372875f4e809226825aacb845cff52569ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c528a3217bb46ec88a8b7c0f6e8fad7e5fe91d5a2b1b305ee8148761287966e1cbf659c09774dadafc8ae284270c25f94a9744dd91dd94706ee51bb3b1a71e4a
|
7
|
+
data.tar.gz: c0f886eb6e8e2eca116b91b01e4d68a23eb9e1b0b6f6180a4e7a54ac8e2b1ed9bab52a227068263444b12e8cdd189de9a83c393e9202f022408ec2b76bea8dda
|
data/autoproj-git.gemspec
CHANGED
@@ -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", "
|
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"
|
data/lib/autoproj/cli/git.rb
CHANGED
@@ -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)
|
data/lib/autoproj/git/version.rb
CHANGED
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.
|
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:
|
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:
|
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:
|
26
|
+
version: 2.0.0.a
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|