Skip to content

bolt/yaml-migrations

Repository files navigation

yaml-migrations

A library to facilitate migrations for YAML configuration files

This repository was forked from bobdenotter/yaml-migrations and updated to be used with newer versions of bolt/core.

List available migrations

bin/yaml-migrate available

Run migrations

Standalone:

bin/yaml-migrate process -c config.yaml -v

The configuration file can be configured:

bin/yaml-migrate process -c config.yaml

Run a single file forcibly, convenient for testing:

bin/yaml-migrate process -v -f m_replace.yaml

Run it in the context of a Bolt installation:

vendor/bolt/yaml-migrations/bin/yaml-migrate process -c vendor/bolt/core/yaml-migrations/config.yaml -v

Tip: Reset the checkpoint and output:

echo '1.0.0' > sample/migrations/checkpoint.txt && rm -rf sample/target/*

About

A library to facilitate migrations for YAML configuration files

Resources

Stars

Watchers

Forks

Contributors 5

Languages