Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Deprecate some contributions. #30749

Closed
wants to merge 1 commit into from
Closed

Deprecate some contributions. #30749

wants to merge 1 commit into from

Conversation

MikeMcQuaid
Copy link
Member

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

Thoughts?

@@ -361,4 +361,8 @@ def main():


if __name__ == "__main__":
print """Warning: brew graph is unsupported and will be removed soon.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This message probably breaks .dot output.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. I should put it on stderr.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fwiw I've ported this to ruby while working on the deps rewrite.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to keep Jack's version in as a supported command, if there are no strong objections.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, that's cool with me. I guess I'm just interested in a bit of discussion on the initial PR description; perhaps let's make @jacknagel's version a core command.

@jacknagel
Copy link
Contributor

Stop accepting them altogether and move the ones we need/use/support into core commands

+1. I don't like the handful that we've accept recently, they seem to be in a WIP state and it doesn't make sense for us to be responsible for them.

In general I dislike external commands that use Homebrew internals, it makes it really hard to improve our own code if other people's code depends on things. For example, #30661 uses a lot of code that I don't consider to be "exposed", and it will break when things change in the future. The only interface that should be considered immovable is the CLI interface.

@MikeMcQuaid
Copy link
Member Author

Yup, I agree. We should have an actual public, documented (formula) API, add tests for that API and anything else is considered private and we can change at any minute.

brew bundle is the worst really; I had a personal half-done implementation that was far better and I honestly feel the current implementation is worse than useless.

@adamv adamv added the contrib label Jul 8, 2014
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
@MikeMcQuaid
Copy link
Member Author

@jacknagel @adamv Addressed both comments. Let me know if you have any other problems or I'll merge this in a day or so.

@adamv
Copy link
Contributor

adamv commented Jul 10, 2014

Fine with me.

@MikeMcQuaid MikeMcQuaid deleted the deprecate-contributions branch July 10, 2014 17:24
@jdhealy
Copy link
Contributor

jdhealy commented Jul 21, 2014

A few of these are listed in the External Commands page on the wiki. Maybe the page should note that they're deprecated. Or maybe just remove them…

(btw, love homebrew! Thanks for all your hard work.)

@MikeMcQuaid
Copy link
Member Author

@jdhealy Done, thanks.

iamnewton pushed a commit to iamnewton/dotfiles that referenced this pull request Jul 23, 2014
Remove dependency on Brewfile as it appears that Homebrew is deprecating
it.[1][1],[2][2]

[1]: Homebrew/legacy-homebrew#30815
[2]: Homebrew/legacy-homebrew#30749
iamnewton pushed a commit to iamnewton/dotfiles that referenced this pull request Jul 23, 2014
Homebrew is deprecating Brewfile.
[issue][issue],[pull request][pr]

[issue]: Homebrew/legacy-homebrew#30815
[pr]: Homebrew/legacy-homebrew#30749

Issue: #11
aerickson pushed a commit to aerickson/homebrew that referenced this pull request Aug 3, 2014
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#30749.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
@soulcutter
Copy link

I don't know about the other ones, but I'm real sad that brew services is going away.

@adamv
Copy link
Contributor

adamv commented Sep 29, 2014

@soulcutter see #28657

@Homebrew Homebrew locked and limited conversation to collaborators Sep 29, 2014
RichGuk pushed a commit to RichGuk/dotfiles that referenced this pull request Oct 17, 2014
Although looks like it'll be replaced at some point, keep an eye on it:

Homebrew/legacy-homebrew#30815
Homebrew/legacy-homebrew#30749
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants