Contributors mailing list archives

contributors@odoo-community.org

Avatar

Re: proposed mass commit on OCA repositories

by
Open for Small Business, Graeme Gellatly
- 19/07/2015 22:21:53

Yeah I worked that out about 1 second after pressing send. 

Sent from TypeMail

On 20 Jul 2015, at 7:07 AM, Alexandre Fayolle <alexandre.fayolle@camptocamp.com> wrote:
I mean a per project requirements.txt. This would not change the installation of the Odoo dependencies.

Alexandre

2015-07-19 18:08 GMT+02:00 Graeme Gellatly <gdgellatly@gmail.com>:

The only  thing I would say is requirements.txt uses quite old versions so maybe the odoo run should use that and the OCB run use latest either through an unpinned requirements file or something else so we catch introduced dependency bugs faster,  like psutil for example but still know we work on a default install. 

Sent from TypeMail

On 20 Jul 2015, at 1:37 AM, Alexandre Fayolle < alexandre.fayolle@camptocamp.com> wrote:
Hello everyone,

Following the advice found on http://docs.travis-ci.com/user/migrating-from-legacy/ I'm planning to make a mass commit on the branches 6.1, 7.0, 8.0 of all OCA projects having .travis.yml with the following changes (except l10n-brazil):

+ sudo: false
+ cache: pip

I've tested this on server-tools and the speed up is noticeable (-25%)

If time allows, I will also try to extract the pip install <modulename> from the install section of .travis.yml and replace it with pip install -r requirements.txt which I think will make it easier to handle the external dependencies.

l10n-brazil cannot be processed for now because it uses a non standard travis set up. I'll open an issue on the project for the team to process).

If you think this is not a good idea, please speak up :-)

_______________________________________________
Mailing-List: http://odoo-community.org/groups/oca-contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe




--
Alexandre Fayolle
Chef de Projet
Tel : + 33 (0)4 58 48 20 30

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac Cedex
http://www.camptocamp.com

_______________________________________________
Mailing-List: http://odoo-community.org/groups/oca-contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe

Reference