-
-
Notifications
You must be signed in to change notification settings - Fork 9.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
Improve conflicts audit #11541
Improve conflicts audit #11541
Conversation
Review period will end on 2021-06-16 at 12:53:06 UTC. |
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.
Nice work! Some suggested, optional tweaks.
282e343
to
9506d80
Compare
Thanks for the suggestions, incorporated them all with some additional tweaks for formula comparison (instead of comparing by name, I compare formula themself now, it allows to handle correctly formula renames). And here's a PR with formulae fixes Homebrew/homebrew-core#79446 |
9506d80
to
564dbc3
Compare
Review period ended. |
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.
Looks good to me.
I like that it handles possible renames but I wonder if there should be another audit requiring that the formula name specified in the conflicts_with
block is the "main name" of the formula. That way, changing the formula name also requires updating all of the conflicts_with
references to that formula
Probably I've got an idea how we can do it, let me check 🙂 |
cc1385b
to
c06cec3
Compare
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.
Looks good for the most part. One suggestion
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.
Looking good so far!
213119e
to
2788603
Compare
43545ef
to
7c962c0
Compare
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.
Looks good to me!
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.
Looks good, nice work!
Thanks for the help @Rylan12 & @MikeMcQuaid 🎉 |
brew style
with your changes locally?brew typecheck
with your changes locally?brew tests
with your changes locally?This PR adds a couple of more checks for conflict audit:
We have several formulae (23 when I've check it last time) with asymmetric
conflicts_with
statement. PR for them are coming