silverstripe / silverstripe-linkfield

Silverstripe module for managing links
BSD 3-Clause "New" or "Revised" License
4 stars 14 forks source link

Streamline migration from v2/v3 to v4 #228

Closed maxime-rainville closed 3 months ago

maxime-rainville commented 4 months ago

As a developer maintaining a project using LinkField v2/v3, I have a a clear path and clear guidance on how to migrate to v4.

Acceptance criteria

Exclude

Possible unusual v3 customisations

PRs

See this installer run for green CI with the combined PRs.

GuySartorelli commented 4 months ago

Should the task be enabled or disabled by default? I'd recommend disabled by default so it's not present for new installations. Developers who are migrating can enable it with a simple yaml config, run it, and disable it again afterward.

Bear in mind this is one of three migration tasks, and only one of these will apply to any given project, so probably makes sense to not show them all by default.

maxime-rainville commented 4 months ago

My assumption was be that this task would a dev/build task. You would have to explicitly choose to run the task by calling it. This would seem to negate the need to have the option to enable/disable it.

Did you have something else in mind?