Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Travis on OCA projects: use oca_dependencies.txt

by
Guewen Baconnier
- 05/11/2015 21:30:59
Hi,

Due to recent issues with some builds [0], I made a change [1] in the Travis builds which happens to bring other issues with some builds...

Previously, the dependency repositories where cloned in $HOME/<name_of_dependency_repo>, so in $HOME we had dependency folders mixed with other folders.
My change was to move all the dependencies in $HOME/dependencies/<name_of_dependency_repo> in order to have only them in one place.

What I didn't anticipated, is that some repositories still have hardcoded 'git clone' in their .travis.cfg, and this 'git clone' clones the repo in $HOME, so the builds do no longer build.

The correction on the impacted repositories is straightforward: use a 'oca_dependencies.txt' file instead of the hardcoded clones. See an example here: https://github.com/OCA/rma/pull/63/files

Sorry for the inconvenience.

[0] https://github.com/OCA/maintainer-quality-tools/pull/288#issuecomment-153738843
[1] https://github.com/OCA/maintainer-quality-tools/pull/289

--
Guewen Baconnier
Business Solutions Software Developer

Camptocamp SA
PSE A, CH-1015 Lausanne
Phone: +41 21 619 10 39
Office: +41 21 619 10 10
http://www.camptocamp.com/