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

Make migration modular #200

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from
Draft

Make migration modular #200

wants to merge 11 commits into from

Conversation

SvenRoederer
Copy link
Contributor

split the migration into two parts, to make it more handy.

  1. logic to control the Migration (the current uci-defaults script)
  2. the individual migration tasks (usr/share/freifunk-berlin-migration/). For each release is a separate folder containing the script that migrate the setting.

Pros:

  • smaller main-migration script --> easy maintaining, easy to read
  • less conflicts when integrating new migration (a separate file can not cause a patch / PR to not apply)
  • migration-scripts can also be written in lua

@SvenRoederer
Copy link
Contributor Author

This is just a draft for discussion. It's also not runtime tested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant