-
Notifications
You must be signed in to change notification settings - Fork 4
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
Rename settings (consistency) #9
Rename settings (consistency) #9
Conversation
* rename settings for consistency
* fix mistake in variable name
* different place to update configuration. More logical place, but might still need to be moved since the version check is not possible here.
* another implementation of upgrading settings. Should work.
If You are still working on it, please mark it as a draft. (Not in the title) |
@Hipska I don't think that option is available to me ( "Any user with write access to the repository can convert a pull request to a draft pull request. ") |
As a reference the module config param documentation : https://www.itophub.io/wiki/page?id=extensions%3Aticket-from-email#other_configuration_parameters |
The wiki page was updated to include module parameter naming convention : Configuration parameter naming |
We prefer to reject your proposition, as there are more risks than benefits : even if this PR includes the migration code, the benefit is low and as this is part of one of the most popular extension since a long time, any bug would have enormous consequences. Many thanks for your efforts anyway ! |
Not sure if I should finish this (probably just needs testing, perhaps remove the explicit config saving instruction).
The upgrade check could also be based on version number of the extension instead.
Actually for now it does NOT work, it seems configuration is based on what is specified "by default".
I was looking into BeforeWritingConfig, which doesn't support previous and current version. (perhaps this could be added?)
But for some reason, it also doesn't include the existing configuration yet?