git-multi 3.0.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.pryrc +10 -4
- data/.rubocop.yml +5 -9
- data/.ruby-version +1 -1
- data/Gemfile.lock +28 -23
- data/Rakefile +7 -1
- data/exe/git-multi +48 -41
- data/git-multi.gemspec +1 -1
- data/lib/ext/dir.rb +3 -3
- data/lib/ext/string.rb +4 -6
- data/lib/git/hub.rb +6 -6
- data/lib/git/multi.rb +7 -9
- data/lib/git/multi/commands.rb +1 -3
- data/lib/git/multi/config.rb +0 -2
- data/lib/git/multi/report.rb +2 -4
- data/lib/git/multi/version.rb +1 -1
- data/man/git-multi.1 +8 -8
- data/man/git-multi.erb +3 -3
- data/man/git-multi.html +7 -7
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz: '
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 5005557fa2d73eb4101db22dd204c876c6188f39a91325fca56610fe0174d399
|
4
|
+
data.tar.gz: '08c86b9b8f3db86b7f9a1e13f9a7a649af8b586933a746f619c8e9d0fb3329ea'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 864abb46e6adc5a22072b831631dcb1b5daedc45fcccbc8a0207ed47fb28896b183cca26efdb191771b5df7bc4c44265bb14af9c3cf6456bab6d05c4a708401c
|
7
|
+
data.tar.gz: 4aba904daae482a352e7aef74ad47bcaa5ee56085ea59f092a52c0d0bf92294e0db7e901f1e0d9f10c4c201943afea151bfecf099475cb32e08d9979b1d29a97
|
data/.pryrc
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
require 'git/multi'
|
5
5
|
|
6
6
|
# this loads all 'git multi' contribs
|
7
|
-
Dir.glob File.join(__dir__, 'contrib', '
|
7
|
+
Dir.glob File.join(__dir__, 'contrib', '**', '*.rb'), &method(:require)
|
8
8
|
|
9
9
|
# configure a logger
|
10
10
|
require 'logger'
|
@@ -28,15 +28,21 @@ end
|
|
28
28
|
|
29
29
|
# utility function to set pry context
|
30
30
|
# to an instance of <Octokit::Client>
|
31
|
-
def client
|
31
|
+
def client
|
32
|
+
pry(Git::Hub.send(:client))
|
33
|
+
end
|
32
34
|
|
33
35
|
# utility function to set pry context
|
34
36
|
# to the Array of github repositories
|
35
|
-
def repos
|
37
|
+
def repos
|
38
|
+
pry(Git::Multi.repositories)
|
39
|
+
end
|
36
40
|
|
37
41
|
# utility function to set pry context
|
38
42
|
# to the various 'git multi' commands:
|
39
|
-
def cmds
|
43
|
+
def cmds
|
44
|
+
pry(Git::Multi::Commands)
|
45
|
+
end
|
40
46
|
|
41
47
|
# utility function to set context
|
42
48
|
# to the named github repository:
|
data/.rubocop.yml
CHANGED
@@ -1,22 +1,19 @@
|
|
1
1
|
AllCops:
|
2
|
-
TargetRubyVersion: 2.
|
2
|
+
TargetRubyVersion: 2.6
|
3
|
+
NewCops: enable
|
3
4
|
Exclude:
|
4
5
|
- 'doc/*'
|
5
6
|
- 'tmp/*'
|
6
7
|
- 'pkg/*'
|
7
8
|
|
8
|
-
Layout/
|
9
|
-
Enabled: false
|
10
|
-
Layout/EmptyLinesAroundModuleBody:
|
9
|
+
Layout/LineLength:
|
11
10
|
Enabled: false
|
12
11
|
|
13
|
-
Lint/
|
12
|
+
Lint/SuppressedException:
|
14
13
|
Enabled: false
|
15
14
|
|
16
15
|
Metrics/AbcSize:
|
17
16
|
Enabled: false
|
18
|
-
Metrics/LineLength:
|
19
|
-
Enabled: false
|
20
17
|
Metrics/MethodLength:
|
21
18
|
Enabled: false
|
22
19
|
Metrics/ModuleLength:
|
@@ -34,8 +31,7 @@ Style/NestedTernaryOperator:
|
|
34
31
|
Enabled: false
|
35
32
|
Style/RedundantBegin:
|
36
33
|
Enabled: false
|
37
|
-
|
38
|
-
Enabled: false
|
34
|
+
|
39
35
|
Style/TrailingCommaInArguments:
|
40
36
|
Enabled: false
|
41
37
|
Style/TrailingCommaInArrayLiteral:
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.6.6
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
git-multi (
|
5
|
-
faraday (~>
|
4
|
+
git-multi (5.0.0)
|
5
|
+
faraday (~> 1)
|
6
6
|
octokit (~> 4)
|
7
7
|
|
8
8
|
GEM
|
@@ -10,42 +10,47 @@ GEM
|
|
10
10
|
specs:
|
11
11
|
addressable (2.7.0)
|
12
12
|
public_suffix (>= 2.0.2, < 5.0)
|
13
|
-
ast (2.4.
|
14
|
-
coderay (1.1.
|
15
|
-
faraday (0.
|
13
|
+
ast (2.4.1)
|
14
|
+
coderay (1.1.3)
|
15
|
+
faraday (1.0.1)
|
16
16
|
multipart-post (>= 1.2, < 3)
|
17
17
|
interception (0.5)
|
18
|
-
|
19
|
-
|
20
|
-
minitest (5.12.2)
|
18
|
+
method_source (1.0.0)
|
19
|
+
minitest (5.14.1)
|
21
20
|
multipart-post (2.1.1)
|
22
|
-
octokit (4.
|
21
|
+
octokit (4.18.0)
|
23
22
|
faraday (>= 0.9)
|
24
23
|
sawyer (~> 0.8.0, >= 0.5.3)
|
25
|
-
parallel (1.
|
26
|
-
parser (2.
|
27
|
-
ast (~> 2.4.
|
28
|
-
pry (0.
|
29
|
-
coderay (~> 1.1
|
30
|
-
method_source (~>
|
31
|
-
pry-rescue (1.5.
|
24
|
+
parallel (1.19.2)
|
25
|
+
parser (2.7.1.4)
|
26
|
+
ast (~> 2.4.1)
|
27
|
+
pry (0.13.1)
|
28
|
+
coderay (~> 1.1)
|
29
|
+
method_source (~> 1.0)
|
30
|
+
pry-rescue (1.5.1)
|
32
31
|
interception (>= 0.5)
|
33
32
|
pry (>= 0.12.0)
|
34
|
-
public_suffix (4.0.
|
33
|
+
public_suffix (4.0.5)
|
35
34
|
rainbow (3.0.0)
|
36
|
-
rake (13.0.
|
37
|
-
|
38
|
-
|
35
|
+
rake (13.0.1)
|
36
|
+
regexp_parser (1.7.1)
|
37
|
+
rexml (3.2.4)
|
38
|
+
rubocop (0.85.1)
|
39
39
|
parallel (~> 1.10)
|
40
|
-
parser (>= 2.
|
40
|
+
parser (>= 2.7.0.1)
|
41
41
|
rainbow (>= 2.2.2, < 4.0)
|
42
|
+
regexp_parser (>= 1.7)
|
43
|
+
rexml
|
44
|
+
rubocop-ast (>= 0.0.3)
|
42
45
|
ruby-progressbar (~> 1.7)
|
43
|
-
unicode-display_width (>= 1.4.0, <
|
46
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
47
|
+
rubocop-ast (0.0.3)
|
48
|
+
parser (>= 2.7.0.1)
|
44
49
|
ruby-progressbar (1.10.1)
|
45
50
|
sawyer (0.8.2)
|
46
51
|
addressable (>= 2.3.5)
|
47
52
|
faraday (> 0.8, < 2.0)
|
48
|
-
unicode-display_width (1.
|
53
|
+
unicode-display_width (1.7.0)
|
49
54
|
|
50
55
|
PLATFORMS
|
51
56
|
ruby
|
data/Rakefile
CHANGED
@@ -55,7 +55,13 @@ task :documentation => git_asciidoc do
|
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
|
-
|
58
|
+
task :ready => :documentation do
|
59
|
+
sh('bundle --quiet') # regenerate Gemfile.lock e.g. if version has changed
|
60
|
+
sh('git update-index --really-refresh') # refresh touched but unchanged docs
|
61
|
+
sh('git diff-index --quiet HEAD --') # https://stackoverflow.com/a/2659808
|
62
|
+
end
|
63
|
+
|
64
|
+
Rake::Task['build'].enhance([:default, :ready])
|
59
65
|
|
60
66
|
# rubocop:enable Style/HashSyntax
|
61
67
|
# rubocop:enable Style/SymbolArray
|
data/exe/git-multi
CHANGED
@@ -4,51 +4,58 @@ lib = File.expand_path('../lib', __dir__)
|
|
4
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
5
|
require 'git/multi'
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
7
|
+
multi_repo = command = nil
|
8
|
+
|
9
|
+
if !STDIN.tty?
|
10
|
+
# read list of repo full names from STDIN (~pseudo multi-repo)
|
11
|
+
multi_repo = STDIN.readlines.map(&:strip).map(&:freeze).freeze
|
12
|
+
# reopen STDIN (to ensure all `Kernel.system` based cmds work)
|
13
|
+
STDIN.reopen('/dev/tty')
|
14
|
+
elsif (command = ARGV.shift)&.start_with?('++')
|
15
|
+
multi_repo = command.delete('++')
|
16
|
+
command = nil
|
16
17
|
end
|
17
18
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
19
|
+
begin
|
20
|
+
case (command ||= ARGV.shift)
|
21
|
+
when /\A--/
|
22
|
+
case command
|
23
|
+
when '--version' then Git::Multi::Commands.version
|
24
|
+
when '--help' then Git::Multi::Commands.help
|
25
|
+
when '--html' then Git::Multi::Commands.html
|
26
|
+
when '--report' then Git::Multi::Commands.report(multi_repo)
|
27
|
+
when '--count' then Git::Multi::Commands.count
|
28
|
+
when '--refresh' then Git::Multi::Commands.refresh
|
29
|
+
when '--json' then Git::Multi::Commands.json(multi_repo)
|
30
|
+
when '--list' then Git::Multi::Commands.list(multi_repo)
|
31
|
+
when '--archived'then Git::Multi::Commands.archived(multi_repo)
|
32
|
+
when '--forked' then Git::Multi::Commands.forked(multi_repo)
|
33
|
+
when '--private' then Git::Multi::Commands.private(multi_repo)
|
34
|
+
when '--paths' then Git::Multi::Commands.paths(multi_repo)
|
35
|
+
when '--missing' then Git::Multi::Commands.missing(multi_repo)
|
36
|
+
when '--clone' then Git::Multi::Commands.clone(multi_repo)
|
37
|
+
when '--stale' then Git::Multi::Commands.stale(multi_repo)
|
38
|
+
when '--excess' then Git::Multi::Commands.excess(multi_repo)
|
39
|
+
when '--spurious'then Git::Multi::Commands.spurious(multi_repo)
|
40
|
+
when '--query' then Git::Multi::Commands.query(ARGV, multi_repo)
|
41
|
+
when '--find' then Git::Multi::Commands.find(ARGV, multi_repo)
|
42
|
+
when '--eval' then Git::Multi::Commands.eval(ARGV, multi_repo)
|
43
|
+
when '--raw' then Git::Multi::Commands.raw(ARGV, multi_repo)
|
44
|
+
when '--shell' then Git::Multi::Commands.shell(ARGV, multi_repo)
|
45
|
+
else
|
46
|
+
abort \
|
47
|
+
"Unknown 'git multi' command: #{command}\n\n" \
|
48
|
+
'(use --help/-h to list all available commands)'
|
49
|
+
end
|
50
|
+
when nil, '', '-h'
|
51
|
+
Git::Multi::Commands.help
|
43
52
|
else
|
44
|
-
|
45
|
-
"Unknown 'git multi' command: #{command}\n\n" \
|
46
|
-
'(use --help/-h to list all available commands)'
|
53
|
+
Git::Multi::Commands.exec(command, ARGV, multi_repo)
|
47
54
|
end
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
55
|
+
rescue ArgumentError
|
56
|
+
abort \
|
57
|
+
"Unknown multi-repo: #{$ERROR_INFO.message}\n\n" \
|
58
|
+
'(use `git multi --report` to list all known multi-repos)'
|
52
59
|
end
|
53
60
|
|
54
61
|
# That's all Folks!
|
data/git-multi.gemspec
CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
|
26
26
|
spec.post_install_message = Git::Multi::PIM
|
27
27
|
|
28
|
-
spec.add_dependency 'faraday', '~>
|
28
|
+
spec.add_dependency 'faraday', '~> 1'
|
29
29
|
spec.add_dependency 'octokit', '~> 4'
|
30
30
|
|
31
31
|
spec.add_development_dependency 'bundler'
|
data/lib/ext/dir.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
class Dir
|
2
2
|
def git_repos(subdir = '*')
|
3
3
|
Dir.glob(File.join(path, subdir, '*', '.git')).map { |path_to_git_dir|
|
4
|
-
path_to_git_repo = File.dirname(path_to_git_dir)
|
5
|
-
repo_name = path_to_git_repo[%r{[
|
6
|
-
def repo_name.full_name() self; end
|
4
|
+
path_to_git_repo = File.dirname(path_to_git_dir) # without "/.git"
|
5
|
+
repo_name = path_to_git_repo[%r{[^/]+/[^/]+\z}] # e.g. "pvdb/git-multi"
|
6
|
+
def repo_name.full_name() self; end # rubocop:disable Style/SingleLineMethods
|
7
7
|
repo_name
|
8
8
|
}
|
9
9
|
end
|
data/lib/ext/string.rb
CHANGED
@@ -1,7 +1,6 @@
|
|
1
|
-
# rubocop:disable Layout/EmptyLineBetweenDefs
|
2
|
-
|
3
1
|
class String
|
4
|
-
|
2
|
+
# rubocop:disable Layout/EmptyLineBetweenDefs
|
3
|
+
# rubocop:disable Style/SingleLineMethods
|
5
4
|
def colorize(color_code) "\e[#{color_code}m#{self}\e[0m"; end
|
6
5
|
|
7
6
|
def bold() colorize('1'); end
|
@@ -12,7 +11,6 @@ class String
|
|
12
11
|
def green() colorize('32'); end
|
13
12
|
|
14
13
|
def undent() gsub(/^.{#{slice(/^ +/).length}}/, ''); end
|
15
|
-
|
14
|
+
# rubocop:enable Style/SingleLineMethods
|
15
|
+
# rubocop:enable Layout/EmptyLineBetweenDefs
|
16
16
|
end
|
17
|
-
|
18
|
-
# rubocop:enable Layout/EmptyLineBetweenDefs
|
data/lib/git/hub.rb
CHANGED
@@ -2,10 +2,10 @@ require 'octokit'
|
|
2
2
|
|
3
3
|
begin
|
4
4
|
require 'net/http/persistent'
|
5
|
-
Octokit.middleware.
|
6
|
-
Faraday::Adapter::
|
7
|
-
|
8
|
-
|
5
|
+
if Octokit.middleware.adapter == Faraday::Adapter::NetHttp
|
6
|
+
adapter = Faraday::RackBuilder::Handler.new(Faraday::Adapter::NetHttpPersistent)
|
7
|
+
Octokit.middleware.instance_variable_set(:'@adapter', adapter)
|
8
|
+
end
|
9
9
|
rescue LoadError
|
10
10
|
# NOOP - `Net::HTTP::Persistent` is optional, so
|
11
11
|
# if the gem isn't installed, then we run with the
|
@@ -16,7 +16,6 @@ end
|
|
16
16
|
|
17
17
|
module Git
|
18
18
|
module Hub
|
19
|
-
|
20
19
|
module_function
|
21
20
|
|
22
21
|
def client
|
@@ -64,9 +63,11 @@ module Git
|
|
64
63
|
end
|
65
64
|
|
66
65
|
def query_args
|
66
|
+
# rubocop:disable Style/FormatStringToken
|
67
67
|
repository_fields.sort.each_slice(3).map { |foo, bar, qux|
|
68
68
|
format('%-20s %-20s %-20s', foo, bar, qux).rstrip
|
69
69
|
}.join("\n ")
|
70
|
+
# rubocop:enable Style/FormatStringToken
|
70
71
|
end
|
71
72
|
|
72
73
|
#
|
@@ -102,6 +103,5 @@ module Git
|
|
102
103
|
# type can be one of: all, public, private, forks, sources, member
|
103
104
|
@org_repositories[[org, type]]
|
104
105
|
end
|
105
|
-
|
106
106
|
end
|
107
107
|
end
|
data/lib/git/multi.rb
CHANGED
@@ -139,7 +139,6 @@ module Git
|
|
139
139
|
#
|
140
140
|
|
141
141
|
module Nike
|
142
|
-
|
143
142
|
# rubocop:disable Metrics/PerceivedComplexity
|
144
143
|
# rubocop:disable Metrics/CyclomaticComplexity
|
145
144
|
def just_do_it(interactive, pipelined, captured = nil, options = {})
|
@@ -182,7 +181,6 @@ module Git
|
|
182
181
|
end
|
183
182
|
end
|
184
183
|
end
|
185
|
-
|
186
184
|
end
|
187
185
|
|
188
186
|
def repositories
|
@@ -216,20 +214,21 @@ module Git
|
|
216
214
|
#
|
217
215
|
|
218
216
|
def repositories_for(multi_repo = nil)
|
219
|
-
case (owner = superproject = multi_repo)
|
217
|
+
case (owner = superproject = full_names = multi_repo)
|
220
218
|
when nil
|
221
219
|
repositories # all of them
|
220
|
+
when Array
|
221
|
+
repositories.find_all { |repository|
|
222
|
+
full_names.include?(repository.full_name)
|
223
|
+
}
|
222
224
|
when *USERS, *ORGANIZATIONS
|
223
225
|
repositories.find_all { |repository|
|
224
226
|
repository.owner.login == owner
|
225
227
|
}
|
226
228
|
when *SUPERPROJECTS
|
227
|
-
|
228
|
-
repositories.find_all { |repository|
|
229
|
-
full_names.include?(repository.full_name)
|
230
|
-
}
|
229
|
+
repositories_for(full_names_for(superproject))
|
231
230
|
else
|
232
|
-
raise
|
231
|
+
raise ArgumentError, multi_repo
|
233
232
|
end
|
234
233
|
end
|
235
234
|
|
@@ -292,6 +291,5 @@ module Git
|
|
292
291
|
File.directory? repo.local_path
|
293
292
|
}
|
294
293
|
end
|
295
|
-
|
296
294
|
end
|
297
295
|
end
|
data/lib/git/multi/commands.rb
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
module Git
|
2
2
|
module Multi
|
3
3
|
module Commands
|
4
|
-
|
5
4
|
module_function
|
6
5
|
|
7
6
|
def version
|
@@ -33,7 +32,7 @@ module Git
|
|
33
32
|
when *MULTI_REPOS
|
34
33
|
Report.for(multi_repo)
|
35
34
|
else
|
36
|
-
raise
|
35
|
+
raise ArgumentError, multi_repo
|
37
36
|
end
|
38
37
|
end
|
39
38
|
|
@@ -203,7 +202,6 @@ module Git
|
|
203
202
|
end
|
204
203
|
|
205
204
|
private_class_method :system
|
206
|
-
|
207
205
|
end
|
208
206
|
end
|
209
207
|
end
|
data/lib/git/multi/config.rb
CHANGED
data/lib/git/multi/report.rb
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
module Git
|
2
2
|
module Multi
|
3
3
|
module Report
|
4
|
-
|
5
4
|
TICK = ['2714'.hex].pack('U*').green.freeze
|
6
5
|
CROSS = ['2718'.hex].pack('U*').red.freeze
|
7
6
|
ARROW = ['2794'.hex].pack('U*').blue.freeze
|
@@ -66,7 +65,7 @@ module Git
|
|
66
65
|
when *SUPERPROJECTS
|
67
66
|
project_status("superproject \"#{project}\"", project)
|
68
67
|
else
|
69
|
-
raise
|
68
|
+
raise ArgumentError, multi_repo
|
70
69
|
end
|
71
70
|
end
|
72
71
|
end
|
@@ -77,7 +76,7 @@ module Git
|
|
77
76
|
elsif token.empty?
|
78
77
|
'(empty)'
|
79
78
|
else
|
80
|
-
"#{'*' * 36}#{token[36
|
79
|
+
"#{'*' * 36}#{token[36..]}"
|
81
80
|
end
|
82
81
|
end
|
83
82
|
|
@@ -128,7 +127,6 @@ module Git
|
|
128
127
|
false
|
129
128
|
)
|
130
129
|
end
|
131
|
-
|
132
130
|
end
|
133
131
|
end
|
134
132
|
end
|
data/lib/git/multi/version.rb
CHANGED
data/man/git-multi.1
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
'\" t
|
2
2
|
.\" Title: git-multi
|
3
|
-
.\" Author: [FIXME: author] [see http://docbook.
|
4
|
-
.\" Generator: DocBook XSL Stylesheets
|
5
|
-
.\" Date:
|
3
|
+
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
4
|
+
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
5
|
+
.\" Date: 06/20/2020
|
6
6
|
.\" Manual: Git Manual
|
7
|
-
.\" Source: Git 2.
|
7
|
+
.\" Source: Git 2.27.0.112.g101b3204f3.dirty
|
8
8
|
.\" Language: English
|
9
9
|
.\"
|
10
|
-
.TH "GIT\-MULTI" "1" "
|
10
|
+
.TH "GIT\-MULTI" "1" "06/20/2020" "Git 2\&.27\&.0\&.112\&.g101b32" "Git Manual"
|
11
11
|
.\" -----------------------------------------------------------------
|
12
12
|
.\" * Define some portability stuff
|
13
13
|
.\" -----------------------------------------------------------------
|
@@ -31,7 +31,7 @@
|
|
31
31
|
git-multi \- execute the same git command in multiple repositories
|
32
32
|
.SH "VERSION"
|
33
33
|
.sp
|
34
|
-
This is \
|
34
|
+
This is \fBv5\&.0\&.0\fR of \fIgit multi\fR \&... hooray!
|
35
35
|
.SH "SYNOPSIS"
|
36
36
|
.sp
|
37
37
|
There are some options for \fBgit multi\fR itself, in which case it is invoked as follows:
|
@@ -48,7 +48,7 @@ To execute the same git command in multiple repositories, the invocation is as f
|
|
48
48
|
.fi
|
49
49
|
.sp
|
50
50
|
.sp
|
51
|
-
Both ways of running \fBgit multi\fR take an optional, so\-called "multi
|
51
|
+
Both ways of running \fBgit multi\fR take an optional, so\-called "multi\-repo" argument to limit the operation to the list of repositories in the referenced "multi\-repo", ie\&. a single GitHub user or a single GitHub organization:
|
52
52
|
.sp
|
53
53
|
.nf
|
54
54
|
\fIgit multi\fR ++<multi_repo> \-\-<option> [<option_arguments>]
|
@@ -559,7 +559,7 @@ local, binary cache of GitHub repository metadata
|
|
559
559
|
.PP
|
560
560
|
\fB${HOME}/\&.git/multi/superprojects\&.config\fR
|
561
561
|
.RS 4
|
562
|
-
definitions for so\-called "superproject" multi
|
562
|
+
definitions for so\-called "superproject" multi\-repos
|
563
563
|
.RE
|
564
564
|
.SH "REFERENCES"
|
565
565
|
.sp
|
data/man/git-multi.erb
CHANGED
@@ -26,9 +26,9 @@ invocation is as follows:
|
|
26
26
|
[verse]
|
27
27
|
'git multi' <git_command> [<git_command_arguments>]
|
28
28
|
|
29
|
-
Both ways of running `git multi` take an optional, so-called "multi
|
29
|
+
Both ways of running `git multi` take an optional, so-called "multi-repo"
|
30
30
|
argument to limit the operation to the list of repositories in the referenced
|
31
|
-
"multi
|
31
|
+
"multi-repo", ie. a single GitHub user or a single GitHub organization:
|
32
32
|
|
33
33
|
[verse]
|
34
34
|
'git multi' ++<multi_repo> --<option> [<option_arguments>]
|
@@ -256,7 +256,7 @@ FILES
|
|
256
256
|
local, binary cache of GitHub repository metadata
|
257
257
|
|
258
258
|
`${HOME}/.git/multi/superprojects.config`::
|
259
|
-
definitions for so-called "superproject" multi
|
259
|
+
definitions for so-called "superproject" multi-repos
|
260
260
|
|
261
261
|
REFERENCES
|
262
262
|
----------
|
data/man/git-multi.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
5
5
|
<head>
|
6
6
|
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
|
7
|
-
<meta name="generator" content="AsciiDoc
|
7
|
+
<meta name="generator" content="AsciiDoc 9.0.0" />
|
8
8
|
<title>git-multi(1)</title>
|
9
9
|
<style type="text/css">
|
10
10
|
/* Shared CSS for AsciiDoc xhtml11 and html5 backends */
|
@@ -436,7 +436,7 @@ thead, p.table.header {
|
|
436
436
|
p.table {
|
437
437
|
margin-top: 0;
|
438
438
|
}
|
439
|
-
/* Because the table frame attribute is
|
439
|
+
/* Because the table frame attribute is overridden by CSS in most browsers. */
|
440
440
|
div.tableblock > table[frame="void"] {
|
441
441
|
border-style: none;
|
442
442
|
}
|
@@ -748,7 +748,7 @@ git-multi(1) Manual Page
|
|
748
748
|
<div class="sect1">
|
749
749
|
<h2 id="_version">VERSION</h2>
|
750
750
|
<div class="sectionbody">
|
751
|
-
<div class="paragraph"><p>This is <code>
|
751
|
+
<div class="paragraph"><p>This is <code>v5.0.0</code> of <em>git multi</em> … hooray!</p></div>
|
752
752
|
</div>
|
753
753
|
</div>
|
754
754
|
<div class="sect1">
|
@@ -766,9 +766,9 @@ invocation is as follows:
|
|
766
766
|
<pre class="content"><em>git multi</em> <git_command> [<git_command_arguments>]</pre>
|
767
767
|
<div class="attribution">
|
768
768
|
</div></div>
|
769
|
-
<div class="paragraph"><p>Both ways of running <code>git multi</code> take an optional, so-called "multi
|
769
|
+
<div class="paragraph"><p>Both ways of running <code>git multi</code> take an optional, so-called "multi-repo"
|
770
770
|
argument to limit the operation to the list of repositories in the referenced
|
771
|
-
"multi
|
771
|
+
"multi-repo", ie. a single GitHub user or a single GitHub organization:</p></div>
|
772
772
|
<div class="verseblock">
|
773
773
|
<pre class="content"><em>git multi</em> ++<multi_repo> --<option> [<option_arguments>]</pre>
|
774
774
|
<div class="attribution">
|
@@ -1186,7 +1186,7 @@ git multi --json | jq -r '.[] | select(.fork == true) | .full_name'
|
|
1186
1186
|
</dt>
|
1187
1187
|
<dd>
|
1188
1188
|
<p>
|
1189
|
-
definitions for so-called "superproject" multi
|
1189
|
+
definitions for so-called "superproject" multi-repos
|
1190
1190
|
</p>
|
1191
1191
|
</dd>
|
1192
1192
|
</dl></div>
|
@@ -1222,7 +1222,7 @@ the
jq command-line utility: |
|
1222
1222
|
<div id="footer">
|
1223
1223
|
<div id="footer-text">
|
1224
1224
|
Last updated
|
1225
|
-
2020-
|
1225
|
+
2020-06-20 07:51:21 BST
|
1226
1226
|
</div>
|
1227
1227
|
</div>
|
1228
1228
|
</body>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git-multi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 5.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Vandenberk
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '1'
|
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: '1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: octokit
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -188,9 +188,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
188
|
- !ruby/object:Gem::Version
|
189
189
|
version: '0'
|
190
190
|
requirements: []
|
191
|
-
|
192
|
-
|
193
|
-
signing_key:
|
191
|
+
rubygems_version: 3.0.3
|
192
|
+
signing_key:
|
194
193
|
specification_version: 4
|
195
194
|
summary: The ultimate multi-repo utility for git!
|
196
195
|
test_files: []
|