Simplify brew man
authors.
This commit is contained in:
parent
598b303e3a
commit
4a9ee8154a
@ -52,17 +52,12 @@ module Homebrew
|
|||||||
variables[:commands] = path_glob_commands("#{HOMEBREW_LIBRARY_PATH}/cmd/*.{rb,sh}")
|
variables[:commands] = path_glob_commands("#{HOMEBREW_LIBRARY_PATH}/cmd/*.{rb,sh}")
|
||||||
variables[:developer_commands] = path_glob_commands("#{HOMEBREW_LIBRARY_PATH}/dev-cmd/*.{rb,sh}")
|
variables[:developer_commands] = path_glob_commands("#{HOMEBREW_LIBRARY_PATH}/dev-cmd/*.{rb,sh}")
|
||||||
readme = HOMEBREW_REPOSITORY/"README.md"
|
readme = HOMEBREW_REPOSITORY/"README.md"
|
||||||
variables[:lead_maintainer] = readme
|
variables[:lead_maintainer] = readme.read[/(Homebrew's lead maintainer .*\.)/, 1]
|
||||||
.read[/Homebrew's lead maintainer is (.*)\./, 1]
|
.gsub(/\[([^\]]+)\]\([^)]+\)/, '\1')
|
||||||
.scan(/\[([^\]]*)\]/).flatten.first
|
variables[:maintainers] = readme.read[/(Homebrew's current maintainers .*\.)/, 1]
|
||||||
variables[:maintainers] = readme
|
.gsub(/\[([^\]]+)\]\([^)]+\)/, '\1')
|
||||||
.read[/Homebrew's current maintainers are (.*)\./, 1]
|
variables[:former_maintainers] = readme.read[/(Former maintainers .*\.)/, 1]
|
||||||
.scan(/\[([^\]]*)\]/).flatten
|
.gsub(/\[([^\]]+)\]\([^)]+\)/, '\1')
|
||||||
former_maintainers = readme
|
|
||||||
.read[/Former maintainers with significant contributions include (.*)\./, 1]
|
|
||||||
.scan(/\[([^\]]*)\]/).flatten
|
|
||||||
variables[:former_maintainers] = former_maintainers[0...-1]
|
|
||||||
variables[:creator] = former_maintainers.last
|
|
||||||
|
|
||||||
ERB.new(template, nil, ">").result(variables.instance_eval { binding })
|
ERB.new(template, nil, ">").result(variables.instance_eval { binding })
|
||||||
end
|
end
|
||||||
|
@ -255,11 +255,11 @@ Homebrew Documentation: <https://github.com/Homebrew/brew/blob/master/docs/>
|
|||||||
|
|
||||||
## AUTHORS
|
## AUTHORS
|
||||||
|
|
||||||
Homebrew's lead maintainer is <%= lead_maintainer %>.
|
<%= lead_maintainer.concat("\n") %>
|
||||||
|
|
||||||
Homebrew's current maintainers are <%= maintainers[0...-1].join(", ") %> and <%= maintainers[-1] %>.
|
<%= maintainers.concat("\n") %>
|
||||||
|
|
||||||
Former maintainers with significant contributions include <%= former_maintainers.join(", ") %> and Homebrew's creator: <%= creator %>.
|
<%= former_maintainers.concat("\n") %>
|
||||||
|
|
||||||
## BUGS
|
## BUGS
|
||||||
|
|
||||||
|
@ -731,7 +731,7 @@ your shell profile, or you can use it before a brew command:</p>
|
|||||||
|
|
||||||
<p>Homebrew's current maintainers are Misty De Meo, Andrew Janke, Xu Cheng, Tomasz Pajor, Baptiste Fontaine, Zhiming Wang, Brett Koonce, ilovezfs, Martin Afanasjew, Uladzislau Shablinski, Dominyk Tiller, Tim Smith and Alex Dunn.</p>
|
<p>Homebrew's current maintainers are Misty De Meo, Andrew Janke, Xu Cheng, Tomasz Pajor, Baptiste Fontaine, Zhiming Wang, Brett Koonce, ilovezfs, Martin Afanasjew, Uladzislau Shablinski, Dominyk Tiller, Tim Smith and Alex Dunn.</p>
|
||||||
|
|
||||||
<p>Former maintainers with significant contributions include Jack Nagel, Adam Vandenberg, Max Howell and Homebrew's creator: Max Howell.</p>
|
<p>Former maintainers with significant contributions include Jack Nagel, Adam Vandenberg and Homebrew's creator: Max Howell.</p>
|
||||||
|
|
||||||
<h2 id="BUGS">BUGS</h2>
|
<h2 id="BUGS">BUGS</h2>
|
||||||
|
|
||||||
|
@ -1001,7 +1001,7 @@ Homebrew\'s lead maintainer is Mike McQuaid\.
|
|||||||
Homebrew\'s current maintainers are Misty De Meo, Andrew Janke, Xu Cheng, Tomasz Pajor, Baptiste Fontaine, Zhiming Wang, Brett Koonce, ilovezfs, Martin Afanasjew, Uladzislau Shablinski, Dominyk Tiller, Tim Smith and Alex Dunn\.
|
Homebrew\'s current maintainers are Misty De Meo, Andrew Janke, Xu Cheng, Tomasz Pajor, Baptiste Fontaine, Zhiming Wang, Brett Koonce, ilovezfs, Martin Afanasjew, Uladzislau Shablinski, Dominyk Tiller, Tim Smith and Alex Dunn\.
|
||||||
.
|
.
|
||||||
.P
|
.P
|
||||||
Former maintainers with significant contributions include Jack Nagel, Adam Vandenberg, Max Howell and Homebrew\'s creator: Max Howell\.
|
Former maintainers with significant contributions include Jack Nagel, Adam Vandenberg and Homebrew\'s creator: Max Howell\.
|
||||||
.
|
.
|
||||||
.SH "BUGS"
|
.SH "BUGS"
|
||||||
See our issues on GitHub:
|
See our issues on GitHub:
|
||||||
@ -1013,3 +1013,4 @@ Homebrew/brew \fIhttps://github\.com/Homebrew/brew/issues\fR
|
|||||||
Homebrew/homebrew\-core \fIhttps://github\.com/Homebrew/homebrew\-core/issues\fR
|
Homebrew/homebrew\-core \fIhttps://github\.com/Homebrew/homebrew\-core/issues\fR
|
||||||
.
|
.
|
||||||
.IP "" 0
|
.IP "" 0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user