Merge pull request #17715 from Homebrew/remove_maintainer_json
This commit is contained in:
commit
7193dc0944
1
.github/maintainers.json
vendored
1
.github/maintainers.json
vendored
@ -1 +0,0 @@
|
||||
["Moisan","timsutton","MikeMcQuaid","stefanb","issyl0","dtrodrigues","dduugg","bayandin","Bo98","reitermarkus","SMillerDev","chenrui333","samford","fxcoudert","woodruffw","EricFromCanada","iMichka","alebcay","miccal","razvanazamfirei","khipp","branchvincent","cho-m","ZhongRuoyu","carlocab","Rylan12","nandahkrishna","krehel","bevanjkay","apainintheneck","p-linnane"]
|
||||
@ -25,9 +25,6 @@ module Homebrew
|
||||
public_members = GitHub.public_member_usernames("Homebrew")
|
||||
maintainers = GitHub.members_by_team("Homebrew", "maintainers")
|
||||
|
||||
HOMEBREW_MAINTAINER_JSON.write(maintainers.keys.to_json)
|
||||
maintainer_json_relative_path = HOMEBREW_MAINTAINER_JSON.relative_path_from(HOMEBREW_REPOSITORY).to_s
|
||||
|
||||
members = {
|
||||
plc: GitHub.members_by_team("Homebrew", "plc"),
|
||||
tsc: GitHub.members_by_team("Homebrew", "tsc"),
|
||||
@ -53,9 +50,7 @@ module Homebrew
|
||||
|
||||
File.write(readme, content)
|
||||
|
||||
diff = system_command "git", args: [
|
||||
"-C", HOMEBREW_REPOSITORY, "diff", "--exit-code", "README.md", maintainer_json_relative_path
|
||||
]
|
||||
diff = system_command "git", args: ["-C", HOMEBREW_REPOSITORY, "diff", "--exit-code", "README.md"]
|
||||
if diff.status.success?
|
||||
ofail "No changes to list of maintainers."
|
||||
else
|
||||
|
||||
@ -45,9 +45,6 @@ HOMEBREW_CACHE_FORMULA = (HOMEBREW_CACHE/"Formula").freeze
|
||||
# Where build, postinstall and test logs of formulae are written to
|
||||
HOMEBREW_LOGS = Pathname(ENV.fetch("HOMEBREW_LOGS")).expand_path.freeze
|
||||
|
||||
# Path to the list of Homebrew maintainers as a JSON file
|
||||
HOMEBREW_MAINTAINER_JSON = (HOMEBREW_REPOSITORY/".github/maintainers.json").freeze
|
||||
|
||||
# Must use `/tmp` instead of `TMPDIR` because long paths break Unix domain sockets
|
||||
HOMEBREW_TEMP = Pathname(ENV.fetch("HOMEBREW_TEMP")).then do |tmp|
|
||||
tmp.mkpath unless tmp.exist?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user