[ADD] doc to search branch, empty branch and script to clean manifest
This commit is contained in:
parent
7b9a4e4345
commit
11ebb7a208
2 changed files with 22 additions and 1 deletions
|
|
@ -70,3 +70,19 @@ git commit -am "[#ticket] subject: short sentence"
|
||||||
```bash
|
```bash
|
||||||
./venv/repo forall -pc "git branch -a|grep BRANCH"
|
./venv/repo forall -pc "git branch -a|grep BRANCH"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Search missing branch in all repo
|
||||||
|
```bash
|
||||||
|
./venv/repo forall -pc 'git branch -a|(grep /BRANCH$||echo "no match")|grep "no match"'
|
||||||
|
```
|
||||||
|
|
||||||
|
### Search change file in all repo
|
||||||
|
```bash
|
||||||
|
./venv/repo forall -pc "git status -s"
|
||||||
|
```
|
||||||
|
|
||||||
|
### Clean all
|
||||||
|
Maybe, some version diverge from your manifest. Simply clean all and relaunch your installation.
|
||||||
|
```bash
|
||||||
|
./script/clean_repo_manifest.sh
|
||||||
|
```
|
||||||
|
|
@ -24,9 +24,14 @@ cd /[EL_USER]/erplibre
|
||||||
```
|
```
|
||||||
|
|
||||||
## Move database prod to dev
|
## Move database prod to dev
|
||||||
|
|
||||||
When moving database prod to your dev environment, you want to remove email servers, and install user test to test the database.
|
When moving database prod to your dev environment, you want to remove email servers, and install user test to test the database.
|
||||||
Run:
|
Run:
|
||||||
```bash
|
```bash
|
||||||
./run.sh --stop-after-init -i user_test,disable_mail_server --dev all -d DATABASE
|
./run.sh --stop-after-init -i user_test,disable_mail_server --dev all -d DATABASE
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Update production
|
||||||
|
Simply update all feature.
|
||||||
|
```bash
|
||||||
|
./run.sh --limit-time-real 99999 --stop-after-init -u all -d DATABASE
|
||||||
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue