From d6aa0aa8d35c76cc9865035e8570e9ee44600031 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 20 Sep 2016 09:30:42 +0100 Subject: README: add lead, new maintainers. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 98733271b..dcd06cc7c 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,9 @@ This is our PGP key which is valid until May 24, 2017. * Full key: https://keybase.io/homebrew/key.asc ## Who Are You? -Homebrew's current maintainers are [Misty De Meo](https://github.com/mistydemeo), [Andrew Janke](https://github.com/apjanke), [Xu Cheng](https://github.com/xu-cheng), [Tomasz Pajor](https://github.com/nijikon), [Mike McQuaid](https://github.com/mikemcquaid), [Baptiste Fontaine](https://github.com/bfontaine), [Brett Koonce](https://github.com/asparagui), [ilovezfs](https://github.com/ilovezfs), [Martin Afanasjew](https://github.com/UniqMartin), [Dominyk Tiller](https://github.com/DomT4), [Tim Smith](https://github.com/tdsmith) and [Alex Dunn](https://github.com/dunn). +Homebrew's lead maintainer is [Mike McQuaid](https://github.com/mikemcquaid). + +Homebrew's current maintainers are [Misty De Meo](https://github.com/mistydemeo), [Andrew Janke](https://github.com/apjanke), [Xu Cheng](https://github.com/xu-cheng), [Tomasz Pajor](https://github.com/nijikon), [Baptiste Fontaine](https://github.com/bfontaine), [Zhiming Wang](https://github.com/zmwangx), [Brett Koonce](https://github.com/asparagui), [ilovezfs](https://github.com/ilovezfs), [Martin Afanasjew](https://github.com/UniqMartin), [Uladzislau Shablinski](https://github.com/orgs/Homebrew/people/vladshablinsky), [Dominyk Tiller](https://github.com/DomT4), [Tim Smith](https://github.com/tdsmith) and [Alex Dunn](https://github.com/dunn). Former maintainers with significant contributions include [Jack Nagel](https://github.com/jacknagel), [Adam Vandenberg](https://github.com/adamv) and Homebrew's creator: [Max Howell](https://github.com/mxcl). -- cgit v1.2.3 From 51ed08d733de8560048807c06eac63067f42788b Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 20 Sep 2016 09:31:06 +0100 Subject: man: read lead, former maintainers, creator. --- Library/Homebrew/dev-cmd/man.rb | 11 ++++++++++- Library/Homebrew/manpages/brew.1.md.erb | 4 +++- share/doc/homebrew/brew.1.html | 16 +++++++--------- share/man/man1/brew.1 | 17 +++++++---------- 4 files changed, 27 insertions(+), 21 deletions(-) diff --git a/Library/Homebrew/dev-cmd/man.rb b/Library/Homebrew/dev-cmd/man.rb index 8b20158ef..f90aa6d2a 100644 --- a/Library/Homebrew/dev-cmd/man.rb +++ b/Library/Homebrew/dev-cmd/man.rb @@ -51,9 +51,18 @@ module Homebrew 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[:maintainers] = (HOMEBREW_REPOSITORY/"README.md") + readme = HOMEBREW_REPOSITORY/"README.md" + variables[:lead_maintainer] = readme + .read[/Homebrew's lead maintainer is (.*)\./, 1] + .scan(/\[([^\]]*)\]/).flatten.first + variables[:maintainers] = readme .read[/Homebrew's current maintainers are (.*)\./, 1] .scan(/\[([^\]]*)\]/).flatten + 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 }) end diff --git a/Library/Homebrew/manpages/brew.1.md.erb b/Library/Homebrew/manpages/brew.1.md.erb index bb6a15261..f856b50ee 100644 --- a/Library/Homebrew/manpages/brew.1.md.erb +++ b/Library/Homebrew/manpages/brew.1.md.erb @@ -255,9 +255,11 @@ Homebrew Documentation: . + Homebrew's current maintainers are <%= maintainers[0...-1].join(", ") %> and <%= maintainers[-1] %>. -Former maintainers with significant contributions include Jack Nagel, Adam Vandenberg and Homebrew's creator: Max Howell. +Former maintainers with significant contributions include <%= former_maintainers.join(", ") %> and Homebrew's creator: <%= creator %>. ## BUGS diff --git a/share/doc/homebrew/brew.1.html b/share/doc/homebrew/brew.1.html index 6948b3f93..7e1e04e94 100644 --- a/share/doc/homebrew/brew.1.html +++ b/share/doc/homebrew/brew.1.html @@ -297,18 +297,14 @@ Homebrew build logic to help your ./configure && make && m or even your gem install succeed. Especially handy if you run Homebrew in an Xcode-only configuration since it adds tools like make to your PATH which otherwise build-systems would not find.

-
style [--fix] [--display-cop-names] [formulae|files]

Check formulae or files for conformance to Homebrew style guidelines.

- -

formulae is a list of formula names.

- -

files is a list of file names.

+
style [--fix] [--display-cop-names] [files|taps|formulae]

Check formulae or files for conformance to Homebrew style guidelines.

formulae and files may not be combined. If both are omitted, style will run style checks on the whole Homebrew Library, including core code and all formulae.

-

If --fix is passed and HOMEBREW_DEVELOPER is set, style violations -will be automatically fixed using RuboCop's --auto-correct feature.

+

If --fix is passed, style violations will be automatically fixed using +RuboCop's --auto-correct feature.

If --display-cop-names is passed, the RuboCop cop name for each violation is included in the output.

@@ -731,9 +727,11 @@ your shell profile, or you can use it before a brew command:

AUTHORS

-

Homebrew's current maintainers are Misty De Meo, Andrew Janke, Xu Cheng, Tomasz Pajor, Mike McQuaid, Baptiste Fontaine, Brett Koonce, ilovezfs, Martin Afanasjew, Dominyk Tiller, Tim Smith and Alex Dunn.

+

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.

-

Former maintainers with significant contributions include Jack Nagel, Adam Vandenberg and Homebrew's creator: Max Howell.

+

Former maintainers with significant contributions include Jack Nagel, Adam Vandenberg, Max Howell and Homebrew's creator: Max Howell.

BUGS

diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1 index 3cd37e64d..532c0fc91 100644 --- a/share/man/man1/brew.1 +++ b/share/man/man1/brew.1 @@ -403,20 +403,14 @@ Search for \fItext\fR in the given package manager\'s list\. Instantiate a Homebrew build environment\. Uses our years\-battle\-hardened Homebrew build logic to help your \fB\./configure && make && make install\fR or even your \fBgem install\fR succeed\. Especially handy if you run Homebrew in an Xcode\-only configuration since it adds tools like \fBmake\fR to your \fBPATH\fR which otherwise build\-systems would not find\. . .TP -\fBstyle\fR [\fB\-\-fix\fR] [\fB\-\-display\-cop\-names\fR] [\fIformulae\fR|\fIfiles\fR] +\fBstyle\fR [\fB\-\-fix\fR] [\fB\-\-display\-cop\-names\fR] [\fIfiles\fR|\fItaps\fR|\fIformulae\fR] Check formulae or files for conformance to Homebrew style guidelines\. . .IP -\fIformulae\fR is a list of formula names\. -. -.IP -\fIfiles\fR is a list of file names\. -. -.IP \fIformulae\fR and \fIfiles\fR may not be combined\. If both are omitted, style will run style checks on the whole Homebrew \fBLibrary\fR, including core code and all formulae\. . .IP -If \fB\-\-fix\fR is passed and \fBHOMEBREW_DEVELOPER\fR is set, style violations will be automatically fixed using RuboCop\'s \fB\-\-auto\-correct\fR feature\. +If \fB\-\-fix\fR is passed, style violations will be automatically fixed using RuboCop\'s \fB\-\-auto\-correct\fR feature\. . .IP If \fB\-\-display\-cop\-names\fR is passed, the RuboCop cop name for each violation is included in the output\. @@ -1001,10 +995,13 @@ Homebrew Documentation: \fIhttps://github\.com/Homebrew/brew/blob/master/share/d \fBgit\fR(1), \fBgit\-log\fR(1) . .SH "AUTHORS" -Homebrew\'s current maintainers are Misty De Meo, Andrew Janke, Xu Cheng, Tomasz Pajor, Mike McQuaid, Baptiste Fontaine, Brett Koonce, ilovezfs, Martin Afanasjew, Dominyk Tiller, Tim Smith and Alex Dunn\. +Homebrew\'s lead maintainer is Mike McQuaid\. +. +.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 -Former maintainers with significant contributions include Jack Nagel, Adam Vandenberg and Homebrew\'s creator: Max Howell\. +Former maintainers with significant contributions include Jack Nagel, Adam Vandenberg, Max Howell and Homebrew\'s creator: Max Howell\. . .SH "BUGS" See our issues on GitHub: -- cgit v1.2.3