-
Notifications
You must be signed in to change notification settings - Fork 18
Wiki_NewVersion_Migration
This page is for nodeGame wiki's administrators.
Assuming we are migrating from v5 to v6.
- Copy folder v5 to v6.
- Commit now, and after each command below.
- Inside v6 executes the following commands:
## TODO check assets/ folder
# Replace all instances of vx with vy inside files.
# Important! Inside v6/ otherwise git indexes are corrupted.
find . -type f -not -path "./images/*" -exec sed -i 's/v5/v6/g' {} +
## This replaces also
find . -type f -not -path "./images/*" -exec sed -i 's/6./7./g' {} +
## Double checks images are fine.
## Does not work?
## Replace all instances of v5 with v6 in file names.
find . -name '*v5.md' -type f -exec bash -c 'git mv "$1" "${1/v5/v6}"' -- {} \;
-
Make a copy of old Home.md to Home-v5.md
-
Rename links in top level files (such as Home.md)
-
Make migration, and new feature page (include contributors) page in v6.
-
Check images in assets folder
-
Check versions different from 5.x (e.g., 5.6+ in some recently added widgets)
Go back to the wiki Home.
Copyright (C) 2021 Stefano Balietti
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.