Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bobdenotter/yaml-migrations
A library to facilitate migrations for YAML configuration files
https://github.com/bobdenotter/yaml-migrations
Last synced: 25 days ago
JSON representation
A library to facilitate migrations for YAML configuration files
- Host: GitHub
- URL: https://github.com/bobdenotter/yaml-migrations
- Owner: bobdenotter
- Created: 2020-11-14T09:35:42.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-14T11:01:45.000Z (over 1 year ago)
- Last Synced: 2024-09-25T21:53:53.940Z (about 1 month ago)
- Language: PHP
- Size: 51.8 KB
- Stars: 4
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# yaml-migrations
A library to facilitate migrations for YAML configuration files
## Run migrations
Standalone:
```bash
bin/yaml-migrate process -c config.yaml -v
```Run a single file forcibly, convenient for testing:
```
bin/yaml-migrate process -c config.yaml -v -f m_replace.yaml
```Run it in the context of a Bolt installation:
```
vendor/bobdenotter/yaml-migrations/bin/yaml-migrate process -c vendor/bolt/core/yaml-migrations/config.yaml -v
````Tip: Reset the checkpoint:
```bash
echo '1.0.0' > sample/migrations/checkpoint.txt
```