- erplibre separate venv erplibre and odoo - rename python-version to python-odoo-version - add conf/python-erplibre-version - rename .venv to .venv.erplibre - move .venv/repo to .venv.erplibre/bin/repo - install pyenv into .venv.erplibre - install poetry into .venv.odooVERSION - first installation show odoo version to install - can install erplibre without odoo - update README.md information about installation with TODO - change image from github to locally - remove link creation .venv - update version: remove code to force create symbolic link .venv - use dynamic merge manifest, will be able to merge different odoo version - can add dev tools - default manifest is empty to remove conflict
23 lines
733 B
Bash
Executable file
23 lines
733 B
Bash
Executable file
#!/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=$!
|
|
|
|
if [ -L "$EL_MANIFEST_DEV" ]; then
|
|
MANIFEST_TARGET=$(readlink -f "$EL_MANIFEST_DEV")
|
|
else
|
|
MANIFEST_TARGET="$EL_MANIFEST_DEV"
|
|
fi
|
|
|
|
# Generate local manifest
|
|
.venv.erplibre/bin/python ./script/git/git_merge_repo_manifest.py --output .repo/local_manifests/erplibre_manifest.xml --with_OCA
|
|
|
|
.venv.erplibre/bin/repo init -u git://127.0.0.1:9418/ -b $(git rev-parse --verify HEAD) -m ${MANIFEST_TARGET} "$@"
|
|
.venv.erplibre/bin/repo sync -c -j $(nproc --all) -v -m ${MANIFEST_TARGET}
|
|
|
|
kill ${DAEMON_PID}
|