/srv/irclogs.ubuntu.com/2014/11/16/#juju.txt

=== kadams54 is now known as kadams54-away
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== CyberJacob|Away is now known as CyberJacob
=== MmikeM is now known as Mmike
=== kadams54 is now known as kadams54-away
dosaboytvansteenburgh1: can we please allow the charm-helpers Makefile to use an existing venv rather than build a new one everytime i clone the branch and run tests18:26
dosaboyit is quite prohibitve to enforce a new build everytime18:27
dosaboye.g. a have a prebuilt venv that i activate whenever i want to run tests for any charm/charm-helpers18:28
dosaboywhich lives outside of tree18:28
rick_h_dosaboy: I'd suggest a patch that allows setting a venv place on disk and then your scripts can set that path and the makefile should detect already exists and roll with it?19:10
rick_h_dosaboy: I've not looked at the charm-helpers makefile but normally we point to a bin/python path and if that doesn't exist run the venv command, so setting your own bin/python would be a good way to work with that19:11
dosaboyrick_h_: if you are running within an activated venv you should not have to specify paths at all19:13
dosaboypython works it out and uses the packages you have installed in your venv19:13
rick_h_dosaboy: ok, but the point I think is the same, to add the detection for an activated env19:14
dosaboyrick_h_: yeah that would be good19:14
rick_h_dosaboy: but it's pretty standard practice against all of our stuff to build a fresh makefile so that depsn, download caches, etc are setup to catch a bug/mistake early and often vs trusting an existing setup19:14
dosaboyi'll have to scratch my head and think of bect way to do that19:15
rick_h_we've all been bit too many times by reusing 'it works here' where it's never been cleaned and rebuilt from commit to commit.19:15
=== kadams54 is now known as kadams54-away
dosaboyrick_h_: both have their merits imo, but I agree that the final gate should definitely be using a fresh venv19:16
dosaboyi'm basically applying the same rules as with upstream openstack19:17
dosaboyif only tox support had landed in charm-helpers...19:17
rick_h_dosaboy: understand, and the way it is in kind of how we've done things around here for a long time.19:17
=== CyberJacob is now known as CyberJacob|Away

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!