Skip to content
This repository has been archived by the owner on Mar 14, 2021. It is now read-only.

Move into upstream Homebrew repo #9

Closed
lwolfsonkin opened this issue May 25, 2019 · 3 comments
Closed

Move into upstream Homebrew repo #9

lwolfsonkin opened this issue May 25, 2019 · 3 comments

Comments

@lwolfsonkin
Copy link
Contributor

In Homebrew/brew#6172, I proposed integrating completions from this repo as well as the main fish shell repo into Homebrew itself in order to guarantee wider availability and quicker updates.

Pending your agreement, I would love to combine these together and get them into Homebrew itself. Thoughts?

@laughedelic
Copy link
Owner

Hi @lwolfsonkin. Thank you for bringing it up! I completely support this proposal. I have several points that I'd like to address first:

As the readme stated from the beginning:

This plugin is in beta, so you're welcome to try it out and report any issues you found. The code also includes some FIXME and TODO notes marking potential improvements/issues. [...]

Once it's considered stable, it may get either included with Homebrew or replace completions shipped with Fish.

I guess it can be called stable, but I would still walk through the FIXME/TODOs before pushing it to the Homebrew repo.

As you've looked in both places, could you tell me, is there anything missing here that the completions from the main repo have?

And lastly, there is an open issue about caching #1, which I didn't have time to solve completely. I'd like to look into that to see if anything has changed or it can be closed as won't-fix.

@lwolfsonkin
Copy link
Contributor Author

lwolfsonkin commented Jun 11, 2019

Hi @laughedelic,

I guess it can be called stable, but I would still walk through the FIXME/TODOs before pushing it to the Homebrew repo.

I walked through some of the FIXME/TODOs in Homebrew/brew#6217 and did some cleanups of the completions, like some renames and making brew unpin list only non-pinned formulae.

As you've looked in both places, could you tell me, is there anything missing here that the completions from the main repo have?

I've walked through them both a bit and added some minor additions, but I was hard pressed to find things that the fish repo's completions support and yours do not.

And lastly, there is an open issue about caching #1, which I didn't have time to solve completely. I'd like to look into that to see if anything has changed or it can be closed as won't-fix.

For now I've punted on the caching, and I figure that can be added later. It seems that the bash completions that Homebrew supports don't yet have any sort of caching, though the zsh completions do have something. Maybe we can get inspiration from there for a caching strategy.

Lastly, the maintainers at Homebrew/brew#6217 wanted to make sure you agreed to their license, and then we're good to go to include in Homebrew. :) Thanks so much for the awesome work you put in to bring this to fruition!

@laughedelic
Copy link
Owner

Thank you for looking into this and keeping pushing it forward! 👍 Yes, we can leave caching for later. I will reply in that PR then.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants