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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41218ffbf93b188fad40acce7a6916da34d299f831ce964f341053174c13048f
4
- data.tar.gz: da292b0875d3ba36998c7d4e578f48adb927c97d20075017a208e70b118e5e0e
3
+ metadata.gz: 6b969ea7231a35d1bbc9c4187a44b7e055d65c0262e6c020487b9bf13fe07ed3
4
+ data.tar.gz: 4de02c059fe9468eb88f2fb137ada652845c488291e32cd867d52abe0e6bb7e2
5
5
  SHA512:
6
- metadata.gz: 0e5dc0d167ff609cb2e86db46ace0c064273238863ac555903f5eb400606b31e8fe1424d3d2b9ee5741aa297e2d37f20df1814117163abe3a95bf481ab07a33d
7
- data.tar.gz: c85e4402435b2c2d0c35cce951c84be433d5f1285c43d4d9f8ebfac785d6680aeb66971403ffc2e3ebf3f190b8a60ad60a07daab2cf2b1adcd33cfc504ebc2fa
6
+ metadata.gz: 907e419f6787819d380ea3ea400e05b94e8bb8c5f6f2588ebea3461e7f004c5f90962c23405991a7ee4f17e0224737e13e86e7a83f5a112444d0aac77cb12fc5
7
+ data.tar.gz: 5c3ccf37dd923e7578aa3516552fc89f7ce60a0b074293878e5949b34ee058fb64ad2c784185e2e6700f57ba17092474161a89b83973ed08c9b22722a93c87b1
@@ -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
 
@@ -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.1.1"
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.1.1
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-01-26 00:00:00.000000000 Z
11
+ date: 2023-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel