Skip to content
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

Simplify handling of --all-or-nothing and --no-all-or-nothing options #1456

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

agustingomes
Copy link
Contributor

@agustingomes agustingomes commented Aug 28, 2024

Q A
Type improvement
BC Break yes
Fixed issues

Summary

Allowing passing values to options for --all-or-nothing option is now removed, which allows the configuration of the negatable option --no-all-or-nothing, whihc in its turn allows to remove the added option in 3.8.1.

The outcome is a much simpler logic to override the configuration of all_or_nothing via the CLI command.

@greg0ire
Copy link
Member

Merge up done, please address the conflicts

@agustingomes
Copy link
Contributor Author

@greg0ire I'll be away for the weekend, but I'll push the rebase around Monday.

@agustingomes agustingomes marked this pull request as ready for review September 2, 2024 18:32
@agustingomes
Copy link
Contributor Author

@greg0ire rebased onto 4.0.x and only the backward compatibility check is failing. How do we proceed with that failure?

@greg0ire
Copy link
Member

greg0ire commented Sep 2, 2024

We ignore it, since breaking changes (here, removing a class) are OK during a major upgrade.

greg0ire
greg0ire previously approved these changes Sep 2, 2024
Copy link
Member

@greg0ire greg0ire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please document the breaking changes in UPGRADE.md

@greg0ire greg0ire dismissed their stale review September 2, 2024 20:31

I forgot the UPGRADE.md

@agustingomes
Copy link
Contributor Author

@greg0ire I pushed a new entry in the UPGRADE.md. Let me know if the phrasing needs extra work.

@greg0ire greg0ire added this to the 4.0.0 milestone Sep 2, 2024
@greg0ire greg0ire merged commit a3fc5b3 into doctrine:4.0.x Sep 2, 2024
11 of 12 checks passed
@greg0ire
Copy link
Member

greg0ire commented Sep 2, 2024

Thanks @agustingomes !

@agustingomes agustingomes deleted the all-or-nothing-option branch September 3, 2024 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants