style: require tag and revision for git urls#8848
style: require tag and revision for git urls#8848jonchang merged 2 commits intoHomebrew:masterfrom Rylan12:git-urls-require-tag-and-revision
tag and revision for git urls#8848Conversation
|
My quick thoughts on this: has revision and tag: OK (I point this out only because I have a bunch of formulae in my personal tap that have only a |
|
Yeah, I think that makes sense. There are a small number in homebrew/core that fall into the category of "not believing in tagging" so that would allow those to stay. In terms of tag only, I don't have a preference as to whether to require it everywhere or only in core. It probably makes sense to only do it in core, though, because we don't need to be making decisions about what formulae are allowed for non-official taps. |
|
Okay, I've updated the conditions a little bit:
|
|
Nice work. Let's try it out. |
|
Nice work @Rylan12! |
brew stylewith your changes locally?brew testswith your changes locally?brew manlocally and committed any changes?Require a revision for git urls in homebrew/core
Require a tag as well if
--strictis passed.For example, this is always 👍:
This is 👍 unless
--strictis passed and then 👎:This is always 👎: