[ADD] script to filter git repo group with code_generator
This commit is contained in:
parent
22384a5126
commit
fe3e041b7c
2 changed files with 21 additions and 0 deletions
|
|
@ -102,6 +102,12 @@ Check if manifest contains "auto_install" and change the value to False.
|
|||
./script/repo_remove_auto_install.py
|
||||
```
|
||||
|
||||
## Filter repo by group
|
||||
Only keep repo tagged by group 'base' and 'code_generator'
|
||||
```bash
|
||||
./script/update_manifest_local_dev_code_generator.sh
|
||||
```
|
||||
|
||||
# Execution
|
||||
## Config file
|
||||
You can limit your addons in ERPlibre config file depending on a group of your actual manifest.
|
||||
|
|
|
|||
15
script/update_manifest_local_dev_code_generator.sh
Executable file
15
script/update_manifest_local_dev_code_generator.sh
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
. ./env_var.sh
|
||||
|
||||
#EL_MANIFEST_PROD="./default.xml"
|
||||
#EL_MANIFEST_DEV="./manifest/default.dev.xml"
|
||||
|
||||
# Update git-repo
|
||||
git daemon --base-path=. --export-all --reuseaddr --informative-errors --verbose &
|
||||
DAEMON_PID=$!
|
||||
|
||||
./.venv/repo init -u git://127.0.0.1:9418/ -b $(git rev-parse --verify HEAD) -m ${EL_MANIFEST_DEV} -g code_generator
|
||||
./.venv/repo sync -v --force-sync -m ${EL_MANIFEST_DEV}
|
||||
|
||||
kill ${DAEMON_PID}
|
||||
Loading…
Reference in a new issue