-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missing_formula: add message for Asymptote #5816
Conversation
Per Homebrew/legacy-homebrew#23029, there is no formula for Asymptote because you may well already have it installed via MacTeX anyway.
MacTeX is the macOS package of TeX Live; also mention the latter for the sake of non-Mac Brew.
@@ -26,6 +26,10 @@ def blacklisted_reason(name) | |||
Minimal installation: | |||
brew cask install basictex | |||
EOS | |||
when "asymptote" then <<~EOS | |||
Asymptote is part of MacTeX: | |||
brew cask install mactex |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jmarshall Is this an accurate statement? Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not especially. s/MacTeX/MacTeX distribution/ or /MacTeX collection/ would help. But mostly it's incomplete as to the casks available (as previously noted in #5816 (comment)) and to choices made during pkg installation as to how much of the collection actually gets installed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jmarshall As I think I've explained above: if a new entry is added for Asymptote I want the user to be provided with a brew cask
invocation that will install it. If brew cask install mactex
will not do so: what will?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I've explained above, the existing missing_formula.rb entry for tex
/latex
/etc already contains an accurate list of the TeX-related casks available. The single cask install
you've added is incomplete information; something like what I've pushed would be more accurate (you might prefer brew search
).
As a Brew user looking for Asymptote, what I actually needed was (1) a pointer to the MacTeX that I already have installed, (2) a hint that the command is called asy
, and (3, if I were new to MacTeX and/or had installed a cut-down MacTeX subset) a pointer to TeX Live Utility. What I didn't need was being reminded how to type brew [cask] install mactex
.
Hence the PR as at c508bda. However (2) and (3) might be considered out of Brew's scope, so if something like the current bfee3be772fa1bd224fea2da35e67d81a3b82bb8 makes the Homebrew maintainers happy that is fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll try to be explicit about what is needed:
- I need this PR to point to a single
brew cask install
which will install Asymptote for it to be merged. - I need confirmation on whether
brew cask install mactex
will install Asymptote?
If you're unwilling or unable to do either of these: please close this PR, thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would have been helpful to be explicit that that was what your concern was about.
Asymptote is installed by the mactex
and mactex-no-gui
casks, but not by basictex
. (It is also of course installed by basictex
+tlmgr install asymptote
or by installing the upstream MacTeX package, which are options that had been covered by previous versions of this PR.)
So if the Homebrew maintainers want to adjust this to some variant of brew cask install mactex{,-no-gui}
on merging, please do so.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you're unwilling or unable to do either of these: please close this PR, thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Closing this PR as a result. This has been a frustrating experience; please address maintainers feedback without arguing in hopeful future PRs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you're unwilling or unable to do either of these: please close this PR, thanks.
I spent several hours doing those things yesterday, pal.
-
You completely rewrote the text of this PR once, so I anticipated you would want to do so again with your preferred
cask
text. -
I spent several hours breaking my TeX installation to confirm which casks contained Asymptote.
Thank you for your time. If I should happen to raise future PRs, I hope they will be less frustrating experiences for all concerned.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I spent several hours doing those things yesterday, pal.
I need this PR to point to a single brew cask install which will install Asymptote for it to be merged.
You did not do that.
- You completely rewrote the text of this PR once, so I anticipated you would want to do so again with your preferred
cask
text.
I've restored it to that text as it is accurate (based on what you said above) and meets the requirements (a single brew cask install
invocation).
Thank you for your time.
And for yours.
If I should happen to raise future PRs, I hope they will be less frustrating experiences for all concerned.
The documentation helps cover some of this:
Do not argue with Homebrew maintainers. You may disagree but unless they change their mind, please implement what they request. Ultimately they control what is included in Homebrew, as they have to support any changes that are made.
https://github.com/Homebrew/brew/blob/master/docs/How-To-Open-a-Homebrew-Pull-Request.md
I have had further thoughts about what a useful message for this tiny thing is, and will be filing a new PR. |
Thanks for your work on this PR @jmarshall! |
Hoping to install Asymptote produces
After further searching I came across Homebrew/legacy-homebrew#23029, which removed the previous asymptote formula on the basis that it was better to install it via MacTeX. This patch helps future users to side-step that searching for information stage:
brew style
with your changes locally?brew tests
with your changes locally?