Add dependencies from additional module repositories #120
Replies: 6 comments
-
|
I managed to figure how to do it using whool, but some docs would be great. |
Beta Was this translation helpful? Give feedback.
-
Hi @pcastelovigo would be great to have something "I managed to figure how to do it using whool and here are the steps:" 😉 |
Beta Was this translation helpful? Give feedback.
-
|
Whool is already installed inside oca-ci images ( https://github.com/OCA/oca-ci ) You need to put a pyproject.toml file next to manifest.py with this content
Now that module will 'ignore regular depedency system' I did it that way, not sure if there is a better way. ovh is a pypi package ( https://pypi.org/project/ovh/ ) and base_business_document_import is a module dependency that is not in my repo and is not in pypi in v16 As we said, that module will 'ignore regular dependency system' so other deps will fail even if they are in your own repo, so you can add to those other modules the pyproject.toml: And then add a
This way i managed to run CI on modules on my repo that depends both on modules on the same repo and on modules on OCA repos. I repeat im not sure if this is the way or if there is a more canonical way, but it just worked |
Beta Was this translation helpful? Give feedback.
-
|
Hello, Actually, this question is more about the oca/oca-ci image than runboat. The runboat default kubefiles rely on the installation script of that image, but you can totally use another one if you want. In short if the addons your repo depends on are on PyPI, which is the case for all OCA addons, there is nothing to do, they will be installed automatically. If you depend on addons in custom repos, one possibility is to add a If you depend on other PyPI modules, such as
|
Beta Was this translation helpful? Give feedback.
-
|
I created an issue in oca/oca-ci to add documentation about this. OCA/oca-ci#91 |
Beta Was this translation helpful? Give feedback.
-
|
@pcastelovigo @sbidoul thank you for the explanation! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I've recently installed Runboat (thanks for this amazing software!) but I'm running into a small issue.
I can't find a way to add dependencies from modules in other repositories. I found some documentation regarding the oca_dependencies.txt file, but it seems it has been deprecated.
https://odoo-community.org/groups/contributors-15/contributors-1927945?mode=thread&date_begin=&date_end=
Is there a way to tell Runboat to fetch additional modules from other repositories, or do all required modules have to be in the same repository?
How does the official Runboat instance handle this, for example, when downloading the dependencies that OCA/edi modules have on OCA/server-tools?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions