From 11ebb7a208686a99a6ec13deec4d48a155572cc1 Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Sun, 12 Jul 2020 22:49:25 -0400 Subject: [PATCH] [ADD] doc to search branch, empty branch and script to clean manifest --- doc/GIT_REPO.md | 16 ++++++++++++++++ doc/PRODUCTION.md | 7 ++++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/doc/GIT_REPO.md b/doc/GIT_REPO.md index d4d8603..95a6991 100644 --- a/doc/GIT_REPO.md +++ b/doc/GIT_REPO.md @@ -70,3 +70,19 @@ git commit -am "[#ticket] subject: short sentence" ```bash ./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 +``` \ No newline at end of file diff --git a/doc/PRODUCTION.md b/doc/PRODUCTION.md index 880dfc3..636ebfc 100644 --- a/doc/PRODUCTION.md +++ b/doc/PRODUCTION.md @@ -24,9 +24,14 @@ cd /[EL_USER]/erplibre ``` ## 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. Run: ```bash ./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 +```