-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
Add caveats-like field for less important notes? #9229
Comments
My biggest issue with non-critical messages in I believe the sentiment when a |
Yeah that's a good point. Perhaps we could address that with display tweaking? Or maybe we just shrug and punt for now. Will wait for other @caskroom/maintainers to weigh in. |
I feel that color coding would help mitigate the issue, but if there's a lot of output, that in itself may not be enough. I know that Homebrew also has a lesser-used Warning field (which is red output and underlined). I think it's used internally by the Homebrew system and cannot be called from inside Formulae. Lastly, I propose a flag or environment variable (or later, once a config file system is implemented, possibly a setting there) that toggles the verbosity of output (while we already have |
I don’t see much problem with that solution (adding an extra flag). Even if it is something you can set in |
I am fairly adamant that On the subject of usage recommendations, I feel conservative. The convenience is desirable, but they would be a blob of freeform information which:
From the perspective of |
The worry about sprawl makes sense to me, the worry about consistency across Casks less so. As for a theoretical interface for notes, consider a distinct verb instead of an option/environment var. Incidentally, I would have kept the specific caveat in #8915, because it is a soft dependency. (It would be nice to support soft dependencies in the future along with a |
We should likely not focus on #8915 too much for this, though. All I can see when I look at it is
Found a bunch more, but the ones not included seem to me to be so useless they should be outright removed. Will submit PRs for those. |
Another example of a note or hack just turned up in #8202 (comment) . This particular item looks like it should not be a default, but it is darn helpful to include it somehow. |
To be clear, my concern is not quality or quantity, but modes of action. I would not be overly fond of a CLI which intersperses explanatory text, shell commands, other tools, and links to be opened in a browser. |
Over in #8915 we had to turn away a PR because @ndr-qef and @vitorgalvao agreed that
caveats
should be reserved for more critical notices about the install rather than helpful recommendations.It seems to me that we should be able to welcome contributions with helpful recommendations for software use (provided the notes are not overly long or user-specific).
In my mind we have three options here. We could:
caveats
to accept stuff like thisI don't feel incredibly strongly, so I'm willing to be convinced that any of these three is the best move. I wanted to have the conversation though. Thoughts?
The text was updated successfully, but these errors were encountered: