[FIX] manifest guide discover

This commit is contained in:
Mathieu Benoit 2020-07-06 23:08:05 -04:00
parent b63dd7b010
commit cc2e0497db
3 changed files with 15 additions and 3 deletions

View file

@ -19,6 +19,17 @@ cd ERPLibre
./run.sh ./run.sh
``` ```
## Develop in Odoo repository
You need to remove
> clone-depth="1"
from
> ./manifest/default.dev.xml
file to be able to commit and push.
Commit temporary and regenerate with
> ./script/install_locally_dev.sh
## Fork project to create a new project independent of ERPLibre (deprecated) ## Fork project to create a new project independent of ERPLibre (deprecated)
ERPLibre was created by this script. It's now deprecated. ERPLibre was created by this script. It's now deprecated.
Use this script when you need to fork directly from the original source. Use this script when you need to fork directly from the original source.
@ -64,7 +75,7 @@ This will update all urls in git format:
## Diff repo with another project ## Diff repo with another project
Tools to display the differences between the repo and another project. Tools to display the differences between the repo and another project.
```bash ```bash
./venv/bin/python ./script/list_repo_diff.py --sync_to /path/to/project/erplibre --dyr_sync ./venv/bin/python ./script/list_repo_diff.py --sync_to /path/to/project/erplibre --dry_sync
``` ```
## Sync repo with another project ## Sync repo with another project

View file

@ -25,7 +25,8 @@ Access to a new repo, add your URL to file [source_repo_addons.csv](../source_re
Execute script: Execute script:
```bash ```bash
./venv/bin/python ./script/git_repo_manifest.py ./venv/bin/python ./script/git_repo_manifest.py
./script/install_locally_dev.sh git checkout -b new_branch
git commit -am "Add new repo" git commit -am "Add new repo"
./script/install_locally_dev.sh
``` ```
[Update your repo.](./GIT_REPO.md) [Update your repo.](./GIT_REPO.md)

View file

@ -19,5 +19,5 @@ EL_INSTALL_NGINX="True"
# Set the website name # Set the website name
EL_WEBSITE_NAME="_" EL_WEBSITE_NAME="_"
EL_GITHUB_TOKEN="" EL_GITHUB_TOKEN=""
EL_MANIFEST_PROD="./manifest/default.xml" EL_MANIFEST_PROD="./default.xml"
EL_MANIFEST_DEV="./manifest/default.dev.xml" EL_MANIFEST_DEV="./manifest/default.dev.xml"