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

Site Migration: Refactor module activation during cleanup #90526

Closed
sixhours opened this issue May 9, 2024 · 2 comments
Closed

Site Migration: Refactor module activation during cleanup #90526

sixhours opened this issue May 9, 2024 · 2 comments
Assignees
Labels
[Feature] Site Migration Features related to site migrations to WPcom

Comments

@sixhours
Copy link
Contributor

sixhours commented May 9, 2024

From D148186-code via @daledupreez

At some point, we should refactor how we approach module activation during post-migration cleanup to avoid modules potentially being missed or not activated properly on the site due to plugin conflicts.

Have a dedicated wpcom_site_migration_activate_jetpack_modules() job that specifies a clear set of modules that ought to be activated AND works out what all the plugins are on the site (via something like wp plugin list --status=active --format=csv --field=name), and then runs wp jetpack module activate <modules> --skip-themes --skip-plugins=<all_plugins_except_jetpack>.

@nelsonec87
Copy link
Contributor

Related diff D149308-code

@sixhours
Copy link
Contributor Author

This was deployed in D149308-code 🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Site Migration Features related to site migrations to WPcom
Projects
None yet
Development

No branches or pull requests

2 participants