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

Add ability to upgrade plugin settings without a full reinstall cycle #509

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

justanr
Copy link
Collaborator

@justanr justanr commented Sep 16, 2018

Early Feedback for #508

Currently only covers the upgrade portion, though I have open questions on individually upgraded settings -- some things are trivial display name, description, default, are easy to reconcile as the underlying data doesn't change, but change in extras or value type could bork things. We might consider adding a "deprecated" to the settings object that accepts a version string for when the setting will be removed and not allow changing the value type (just ignore it, I guess? no sense in punishing users, but then again that could result in a broken upgrade).

Still working out what the hooks look like, but those'll be inbound by next weekend (assuming nothing comes up with work).

@justanr justanr self-assigned this Sep 16, 2018
@justanr justanr requested a review from sh4nks September 16, 2018 18:22
@sh4nks sh4nks added this to the 2.1 milestone Feb 17, 2019
Copy link
Member

@sh4nks sh4nks left a comment

Choose a reason for hiding this comment

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

Looks good so far! Is there anything I could do?
Sorry for the kinda late reply..

@sh4nks sh4nks added this to To do in 2.1 Polish Services via automation Feb 19, 2019
if key not in self.values
]
# but what do here?
# updated_settings = []
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@sh4nks did we ever come up with a plan for updated settings? Still not sure what approach is best tbh

Copy link
Member

Choose a reason for hiding this comment

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

Nope not really, IIRC we talked about versioning the settings but I am not exactly sure how this would solve this.

@sh4nks sh4nks removed this from To do in 2.1 Polish Services Sep 9, 2021
@sh4nks sh4nks modified the milestones: 2.1, 2.2 Sep 10, 2021
@sh4nks sh4nks added this to To do in 2.2 Polishing reloaded Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants