A key step in the Flow sunsetting sequence we are defining in T370722 will be automatically migrating Flow boards to sub-pages that volunteers didn't already move themselves.
In this task, we'll investigate what approach(es) we might take for the "automatic migrating" described above, and ultimately, converge on and implement, an approach.
Migration requirements
Note: any approach will need to consider/account for T371769 (and the guidance @Urbanecm_WMF shared in T371769#10135854.
Requirements
The scripts needs to do the following, for any given project:
- Identify all of the non-subpages where Flow is being used on the wiki
- Move said Flow-using non-subpages to subpages using the following naming convention: Namespace:Page Name/Flow
- Once script executes steps "1." and "2.", run the fix inconsistent boards maintenance script and purge the workflow cache
- Output a log that shows:
- All of the non-subpages where Flow was being used on the wiki
- Names of the sub-pages where each of these Flow-using non-subpages were moved to
- Note: in cases where the automatic moved failed, note this so that we can move these pages manually.
Open questions
- 1. What do we expect to happen if/when a Flow-using non-subpage has sub-pages "beneath" it? Do we want them to be moved, do we want them to be left where they are?
- To make this choice, we will:
- 1) Gather a list of all of the Flow-using non-subpages at Phase 0 wikis | @VPuffetMichel
- 2) Manually review the sub-page of these "Flow-using non-subpages" | @Trizek-WMF
- 3) Answer this question | Team
- To make this choice, we will:
Approaches
This section includes the range of approach(es) we could consider taking for automatically migrating Flow boards to sub-pages that volunteers didn't already move themselves.
- Approach #1
- Description
- Technical uncertainties/complexities
- Approach #2
- Description
- Technical uncertainties/complexities
- Approach #3
- Description
- Technical uncertainties/complexities
Done
- The approaches we could take for automatically migrating Flow boards to sub-pages that volunteers didn't already move themselves are documented in the === Approaches section above
- A decision is made about what approach we'll move forward with
- The approach we converged on is implemented and functional