Deprecate some contributions.
This is just a starting point to start discussion. I think we have a few options with contributions: - Stop accepting them altogether and move the ones we need/use/support into core commands - Accept them on an unsupported basis and require they be added manually to the PATH - Actively support and fix bugs in them all Closes Homebrew/homebrew#30749. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
5fee415d45
commit
07f0f60908
@ -176,4 +176,11 @@ your friends! Ready to expand your brewing prowess?
|
|||||||
Thanks for brewin'
|
Thanks for brewin'
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
|
opoo <<-EOS.undent
|
||||||
|
brew beer is deprecated and going to be removed at some point in the
|
||||||
|
future. If you would like to volunteer to maintain it in a tap please get in
|
||||||
|
contact with us. Thanks!
|
||||||
|
|
||||||
|
EOS
|
||||||
|
|
||||||
puts HOMEBREW_BEER
|
puts HOMEBREW_BEER
|
||||||
|
|||||||
@ -44,6 +44,12 @@ Usage: brew #{NAME}
|
|||||||
USAGE
|
USAGE
|
||||||
end
|
end
|
||||||
|
|
||||||
|
opoo <<-EOS.undent
|
||||||
|
brew bundle-dir is unsupported and will be removed soon.
|
||||||
|
Please feel free volunteer to support it in a tap.
|
||||||
|
|
||||||
|
EOS
|
||||||
|
|
||||||
# command.
|
# command.
|
||||||
command = ARGV.first
|
command = ARGV.first
|
||||||
|
|
||||||
|
|||||||
@ -27,6 +27,13 @@ def usage
|
|||||||
exit
|
exit
|
||||||
end
|
end
|
||||||
|
|
||||||
|
opoo <<-EOS.undent
|
||||||
|
brew bundle is unsupported and will be replaced with another,
|
||||||
|
incompatible version at some point.
|
||||||
|
Please feel free volunteer to support it in a tap.
|
||||||
|
|
||||||
|
EOS
|
||||||
|
|
||||||
usage if ARGV.include?('--help') || ARGV.include?('-h')
|
usage if ARGV.include?('--help') || ARGV.include?('-h')
|
||||||
|
|
||||||
path = 'Brewfile'
|
path = 'Brewfile'
|
||||||
|
|||||||
@ -5,6 +5,7 @@ $ brew graph | dot -Tsvg -ohomebrew.html
|
|||||||
$ open homebrew.html
|
$ open homebrew.html
|
||||||
"""
|
"""
|
||||||
from __future__ import with_statement
|
from __future__ import with_statement
|
||||||
|
from __future__ import print_function
|
||||||
|
|
||||||
from contextlib import contextmanager
|
from contextlib import contextmanager
|
||||||
import re
|
import re
|
||||||
@ -14,7 +15,7 @@ import sys
|
|||||||
|
|
||||||
def run(command, print_command=False):
|
def run(command, print_command=False):
|
||||||
"Run a command, returning the exit code and output."
|
"Run a command, returning the exit code and output."
|
||||||
if print_command: print command
|
if print_command: print(command)
|
||||||
p = Popen(command, stdout=PIPE)
|
p = Popen(command, stdout=PIPE)
|
||||||
output, errput = p.communicate()
|
output, errput = p.communicate()
|
||||||
return p.returncode, output
|
return p.returncode, output
|
||||||
@ -361,4 +362,8 @@ def main():
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
print("""Warning: brew graph is unsupported and will be removed soon.
|
||||||
|
You should use `brew deps --tree` instead.
|
||||||
|
Please feel free volunteer to support it in a tap.
|
||||||
|
""", file=sys.stderr)
|
||||||
main()
|
main()
|
||||||
|
|||||||
@ -12,6 +12,13 @@ require 'cmd/search'
|
|||||||
|
|
||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
|
|
||||||
|
opoo <<-EOS.undent
|
||||||
|
brew server is unsupported and will be removed soon.
|
||||||
|
You should use http://braumeister.org instead.
|
||||||
|
Please feel free volunteer to support it in a tap.
|
||||||
|
|
||||||
|
EOS
|
||||||
|
|
||||||
begin
|
begin
|
||||||
require 'sinatra'
|
require 'sinatra'
|
||||||
rescue LoadError
|
rescue LoadError
|
||||||
|
|||||||
@ -366,4 +366,12 @@ end
|
|||||||
|
|
||||||
# Start the cli dispatch stuff.
|
# Start the cli dispatch stuff.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
opoo <<-EOS.undent
|
||||||
|
brew services is unsupported and will be removed soon.
|
||||||
|
You should use launchctl instead.
|
||||||
|
Please feel free volunteer to support it in a tap.
|
||||||
|
|
||||||
|
EOS
|
||||||
|
|
||||||
ServicesCli.run!
|
ServicesCli.run!
|
||||||
|
|||||||
@ -4,9 +4,10 @@ raise "Please `brew update` first" unless (HOMEBREW_REPOSITORY/".git").directory
|
|||||||
raise FormulaUnspecifiedError if ARGV.named.empty?
|
raise FormulaUnspecifiedError if ARGV.named.empty?
|
||||||
|
|
||||||
opoo <<-EOS.undent
|
opoo <<-EOS.undent
|
||||||
brew-versions is unsupported and may be removed soon.
|
brew-versions is unsupported and will be removed soon.
|
||||||
Please use the homebrew-versions tap instead:
|
You should use the homebrew-versions tap instead:
|
||||||
https://github.com/Homebrew/homebrew-versions
|
https://github.com/Homebrew/homebrew-versions
|
||||||
|
|
||||||
EOS
|
EOS
|
||||||
ARGV.formulae.each do |f|
|
ARGV.formulae.each do |f|
|
||||||
versions = FormulaVersions.new(f)
|
versions = FormulaVersions.new(f)
|
||||||
|
|||||||
@ -3,17 +3,14 @@ require 'extend/pathname'
|
|||||||
module Homebrew
|
module Homebrew
|
||||||
def which_versions which_brews=nil
|
def which_versions which_brews=nil
|
||||||
opoo <<-EOS.undent
|
opoo <<-EOS.undent
|
||||||
brew-which is unsupported and may be removed soon.
|
brew which is unsupported and will be removed soon.
|
||||||
|
|
||||||
To see which versions are installed:
|
You should use `brew list --versions` instead.
|
||||||
brew list --versions
|
To query other formula information see:
|
||||||
|
|
||||||
To query formula information see:
|
|
||||||
https://github.com/Homebrew/homebrew/wiki/Querying-Brew
|
https://github.com/Homebrew/homebrew/wiki/Querying-Brew
|
||||||
|
|
||||||
For other uses please send a message to the mailing list describing
|
Please feel free volunteer to support it in a tap.
|
||||||
your use of this command, so a suggestion can be recommended or
|
|
||||||
implemented.
|
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
brew_links = Array.new
|
brew_links = Array.new
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user