-
Notifications
You must be signed in to change notification settings - Fork 30
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
feat: deprecate emails_disabled in favor of emails_enabled #154
Conversation
Signed-off-by: Dario Zachow <[email protected]>
Signed-off-by: Dario Zachow <[email protected]>
Signed-off-by: Dario Zachow <[email protected]>
Signed-off-by: Dario Zachow <[email protected]>
Signed-off-by: Dario Zachow <[email protected]>
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.
LGTM so far. However, we should always provide backward compatibility if possible to provide a clear migration path for users.
Signed-off-by: Dario Zachow <[email protected]>
Co-authored-by: MisterMX <[email protected]> Signed-off-by: Dario Zachow <[email protected]>
Signed-off-by: Dario Zachow <[email protected]>
Signed-off-by: Dario Zachow <[email protected]>
Signed-off-by: Dario Zachow <[email protected]>
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.
LGTM. Thank you very much @dariozachow!
Description of your changes
This PR fixes the Issue with Gitlab 16, where emails_disabled has been renamed to emails_enabled on groups.
This is a breaking change even though It should have been none breaking as discussed here.
But when implementing the changes it felt awkward to work with 2 fields witch are dependend on each other.
This makes a clean representation of the actual Gitlab-API.
The go-gitlab dependency has been updated to the latest version as well.
Fixes #141
I have:
make reviewable test
to ensure this PR is ready for review.How has this code been tested
Tests have been updated to test for emailsEnabled instead of emailsDisabled