-
Notifications
You must be signed in to change notification settings - Fork 190
Guidance on breaking changes #912
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: lean4
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -73,6 +73,10 @@ Once you're happy with your local changes, it's time to make a pull request to t | |
| This helps you get feedback as you go along, and it is much easier to review. | ||
| This is especially important for new contributors as it prevents wasted effort. | ||
|
|
||
| * Avoid making *breaking* changes, i.e. PRs that make downstream code go from _working_ to _giving an error_. | ||
| However, this kind of change is sometimes necessary for the growth of mathlib, but should be carefully considered. | ||
| In these situations, the change must be mentioned in the PR description, and a mitigation or fix provided there also. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To me, it's not 100% clear what this means. Do you have an example in mind? (Do you think we have been following this, or would this also be a proposed new policy?)
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this is followed in general, but not consistently. For example:
|
||
|
|
||
| * The title and description of the PR should follow our [commit conventions](commit.html). | ||
|
|
||
| * If you are moving or deleting declarations, please include these lines at the bottom of the commit message | ||
|
|
||
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'm not sure what exactly this sentence is contrasting. To me, the sentence reads fine without it.
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.
The intended message here is "You should avoid doing this unless you really have to, but sometimes you truly do have to". I'm happy with alternate wording which conveys this!