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

Enable manual self-updates on new sites #3453

Closed
jenlampton opened this issue Dec 31, 2018 · 7 comments · Fixed by backdrop/backdrop#2612
Closed

Enable manual self-updates on new sites #3453

jenlampton opened this issue Dec 31, 2018 · 7 comments · Fixed by backdrop/backdrop#2612

Comments

@jenlampton
Copy link
Member

jenlampton commented Dec 31, 2018

This is a follow-up to #3271, and will set the default value for allowing self-updates to TRUE. This will be a requirement for automatic updates.


PR: backdrop/backdrop#2441
PR: backdrop/backdrop#2612

@quicksketch
Copy link
Member

I think the current PR isn't the right one. Looks like it removes an update hook, rather than adding one.

@jenlampton
Copy link
Member Author

Okay, trying this again. New PR up for review: backdrop/backdrop#2612

@jenlampton jenlampton changed the title Enable core self-updates in the UI by default Enable manual self-updates in the UI on new sites Apr 26, 2019
@jenlampton jenlampton changed the title Enable manual self-updates in the UI on new sites Enable manual self-updates on new sites Apr 26, 2019
@klonos
Copy link
Member

klonos commented Apr 26, 2019

The code change is trivial, and the PR sandbox has the setting enabled, so RTBC 👍

Do we need an update hook for this? That would be changing the current behavior of already installed sites. Not a bad thing, since this is not the auto-updates setting.

@jenlampton
Copy link
Member Author

jenlampton commented Apr 26, 2019 via email

@klonos
Copy link
Member

klonos commented Apr 26, 2019

RTBC then.

@quicksketch or anyone else, please feel free to kick back to NW if you think that we should change that setting for existing sites.

@quicksketch
Copy link
Member

Thanks! During the 1.12.x cycle we've definitely proven this functionality works. And when it doesn't (due to permissions usually), it doesn't affect the site negatively, it just throws an error saying it couldn't modify the files. That part definitely has room for improvement, but doesn't block us from enabling this option for new sites.

I don't think we should modify this setting on existing sites, since we have no way of identifying a site-owner's preference. Though really maybe this shouldn't be an option at all in the future. It's either "Allow updates" or not, for everything (both core and contrib). The risk and benefit to your site is equal for both kinds of updates.

@quicksketch
Copy link
Member

Merged backdrop/backdrop#2612 into 1.x for 1.13.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment