mass_git_clone 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mass_git_clone.rb +2 -0
- data/mass_git_clone.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b969ea7231a35d1bbc9c4187a44b7e055d65c0262e6c020487b9bf13fe07ed3
|
4
|
+
data.tar.gz: 4de02c059fe9468eb88f2fb137ada652845c488291e32cd867d52abe0e6bb7e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 907e419f6787819d380ea3ea400e05b94e8bb8c5f6f2588ebea3461e7f004c5f90962c23405991a7ee4f17e0224737e13e86e7a83f5a112444d0aac77cb12fc5
|
7
|
+
data.tar.gz: 5c3ccf37dd923e7578aa3516552fc89f7ce60a0b074293878e5949b34ee058fb64ad2c784185e2e6700f57ba17092474161a89b83973ed08c9b22722a93c87b1
|
data/lib/mass_git_clone.rb
CHANGED
@@ -35,6 +35,8 @@ def update_repo(repo_url)
|
|
35
35
|
if Dir.exist?(dir_name)
|
36
36
|
prefixed_puts "Updating #{dir_name}..."
|
37
37
|
|
38
|
+
run "git", "-C", dir_name, "stash", "-u", "--quiet", "-m", "autostashed by mass_git_clone"
|
39
|
+
|
38
40
|
run "git", "-C", dir_name, "remote", "set-url", "origin", repo_url
|
39
41
|
run "git", "-C", dir_name, "remote", "set-head", "origin", "-a"
|
40
42
|
|
data/mass_git_clone.gemspec
CHANGED
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "mass_git_clone"
|
8
|
-
spec.version = "0.
|
8
|
+
spec.version = "0.2.0"
|
9
9
|
spec.authors = ["Discourse Team"]
|
10
10
|
|
11
11
|
spec.summary = %q{Tool for maintaining clones of a large number of git repositories}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mass_git_clone
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Discourse Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parallel
|