Skip to content

Wiki_NewVersion_Migration

Stefano Balietti edited this page Oct 24, 2020 · 6 revisions

Migration steps.

This page is for nodeGame wiki's administrators.

Steps

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:
# Replace all instances of vx with vy inside files.
find . -type f -not -path "./images/*" -exec sed -i 's/v5/v6/g' {} +

## Double checks images are fine.

## 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.

  • Upload new images in the wiki to nodegame.org

Clone this wiki locally