-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
Proposal: add desc stanza #77696
Comments
This has been discussed in the past. At the time we decided against it for being impractical, but today it seems feasible. My suggestion to go through with it would be to add the Pinging @Homebrew/cask. |
I'm on board with that. I think a description is much more useful than a name, given that the name in most cases is only a capitalised token with spaces included. |
LGTM |
Seems like there’s no opposition to the idea. Are you still interested in working on a PR for this, @brandonkal? Let’s start slow. |
I don't have the cycles to work on this right now or much familiarity with ruby outside of writing vagrant scripts and formula so it is probably best someone else takes this on. If there is something I could do in a few months when I have time available I'd be open to it. |
I thought you could do it, considering you said above:
In that case, I doubt this will happen any time soon, as it’s incredibly low priority. |
@vitorgalvao I'd like to work on this, but I'm confused by your earlier comment above — why should name 'FontForge'
+ desc 'Font editor and converter for outline and bitmap fonts'
homepage 'https://fontforge.github.io/en-US/' Was your point that the cask title/filename duplicates the |
@waldyrious You make some good points. Let’s get |
Great! Can you point me towards where I should start the work to implement this? |
Ping @reitermarkus. |
@waldyrious, |
@reitermarkus thanks for the pointer, but I'm afraid I'll need a bit more context. Can you outline, in broad strokes, the changes that would need to be done? I suspect even a barebones implementation will not merely a matter of adding a similar block in that file, just replacing I suppose I also need to (at least):
The tests would also need to be updated:
One would also need to update the documentation in this repo:
...and likely other changes that I'm missing in this list. I'd appreciate any guidance regarding the changes that need to be done. (Feel free to edit this comment to add, edit or remove items from the list in case it is useful as a starting point.) |
@waldyrious, for the stanza order, the stanza will also have to be added to the RuboCop rule. Other than that I think you have pretty much everything covered. |
@reitermarkus it seems to me that the correct order is already derived automatically, according to and So as far as I can tell, it looks like we don't need to change anything for the order (and grouping) of the new stanza to be tested. Am I perhaps missing something? |
Description of feature/enhancement
Just like normal brew formulas have a description, casks should also accept a description.
This is not a request that all existing casks include a description, as that would require time. Rather, it is a request that The
desc
stanza will work as expected.Would you accept a PR that adds this capability?
Justification
brew bundle dump
can include descriptions in the generated Brewfile. This is quite useful when sharing a list of installed applications between multiple machines and people. Unfortunately, that only works for formula, which makes up 25% of my Brewfile. Adding descriptive comments manually is of course possible, but impractical.The text was updated successfully, but these errors were encountered: