update_repo 0.8.4 → 0.8.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/update_repo.rb +0 -2
- data/lib/update_repo/cmd_config.rb +2 -2
- data/lib/update_repo/console_output.rb +2 -2
- data/lib/update_repo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22c342d439828f97ca35d86db73325aba6325ed8
|
4
|
+
data.tar.gz: dc5ad7f3f90e2c1ed9c728b9c501d5a6844ebccf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1227f4e77b7d56fca74893d40aec6f508f776a3746d3061efc8512f7ef58f59b833d2262046ad2e2ba7648f0ace1154eceb5d68a56038eb3462a145b92b88d08
|
7
|
+
data.tar.gz: 779fc26555c0f95bb66fe78d875925438aae970c4c61db0fabb65320a7c33b3293f56a9a17e85195d86b8552f7b74c4932e9f0c9546a367fad1a01aea6ecbdf6
|
data/lib/update_repo.rb
CHANGED
@@ -141,7 +141,6 @@ module UpdateRepo
|
|
141
141
|
# writing to console and log if specified.
|
142
142
|
# @param stdout [stream] STDOUT Stream from the popen3 call
|
143
143
|
# @param stderr [stream] STDERR Stream from the popen3 call
|
144
|
-
# @param repo_url [string] URL of the associated repository
|
145
144
|
# @return [void]
|
146
145
|
def do_threads(stdout, stderr)
|
147
146
|
{ out: stdout, err: stderr }.each do |key, stream|
|
@@ -160,7 +159,6 @@ module UpdateRepo
|
|
160
159
|
# @return [void]
|
161
160
|
def dump_repo(dir)
|
162
161
|
Dir.chdir(dir.chomp!('/')) do
|
163
|
-
# repo_url = `git config remote.origin.url`.chomp
|
164
162
|
print_log "#{trunc_dir(dir, config['cmd'][:prune])}," if cmd(:dump)
|
165
163
|
print_log "#{get_repo_url}\n"
|
166
164
|
end
|
@@ -105,8 +105,8 @@ EOS
|
|
105
105
|
# opt :import, "Import a previous dump of directories and Git repository URL's,\n(created using --dump) then proceed to clone them locally.", default: false
|
106
106
|
opt :log, "Create a logfile of all program output to './update_repo.log'. Any older logs will be overwritten.", default: false
|
107
107
|
opt :timestamp, 'Timestamp the logfile instead of overwriting. Does nothing unless the --log option is also specified.', default: false
|
108
|
-
opt :dump_remote, 'Create a dump to screen or log listing all the git remote URLS found in the specified directories.', default: false, short: 'r'
|
109
|
-
opt :dump_tree, 'Create a dump to screen or log listing all subdirectories found below the specified locations in tree format.', default: false, short: 'u'
|
108
|
+
opt :dump_remote, 'Create a dump to screen or log, listing all the git remote URLS found in the specified directories.', default: false, short: 'r'
|
109
|
+
opt :dump_tree, 'Create a dump to screen or log, listing all subdirectories found below the specified locations in tree format.', default: false, short: 'u'
|
110
110
|
# opt :quiet, 'Only minimal output to the terminal', default: false
|
111
111
|
# opt :silent, 'Completely silent, no output to terminal at all.', default: false
|
112
112
|
end
|
@@ -70,8 +70,8 @@ module UpdateRepo
|
|
70
70
|
# @param [none]
|
71
71
|
# @return [void]
|
72
72
|
def list_failures
|
73
|
-
print_log "\n\n!! Note : The following
|
74
|
-
'FAILED'.red.underline, ' during this run :'
|
73
|
+
print_log "\n\n!! Note : The following #{@metrics[:failed_list].count}",
|
74
|
+
' repositories ', 'FAILED'.red.underline, ' during this run :'
|
75
75
|
@metrics[:failed_list].each do |failed|
|
76
76
|
print_log "\n [", 'x'.red, "] #{failed[:loc]}"
|
77
77
|
print_log "\n -> ", "\"#{failed[:line].chomp}\"".red
|
data/lib/update_repo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: update_repo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Grant Ramsay
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|