<p dir="ltr">We should change the make target to always run and change the CI machines so they can run it, and test that dependencies.tsv is correct. It's crazy that we don't do that now. The only reason the build even works now is a happy accident (and constant fixes to dependencies.tsv when it breaks) </p>
<div class="gmail_quote">On Oct 29, 2014 5:01 PM, "Tim Penhey" <<a href="mailto:tim.penhey@canonical.com">tim.penhey@canonical.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 29/10/14 21:05, Dimiter Naydenov wrote:<br>
> On 29.10.2014 09:46, David Cheney wrote:<br>
>> Does your $GOPATH include more than one entry ?<br>
> No, it only has a single path.<br>
><br>
><br>
>> The make target should probably just expect godeps to be in your<br>
>> $PATH.<br>
> That's a good point. I did some experiments adding:<br>
> GODEPS := $(shell which godeps)<br>
><br>
> at the beginning and then trying to use it. I found out what the<br>
> problem was - apparently the Makefile was written with the idea that<br>
> godeps shouldn't be called unless JUJU_MAKE_GODEPS is set to true.<br>
><br>
> With the following patch, I can now run "make godeps" and related<br>
> targets without an issue:<br>
<br>
The reason for the "default off" switch was due to the CI builders and<br>
test machines.<br>
<br>
We need to be a little careful here.<br>
<br>
When this came out yesterday, I tried to run godeps with the flag<br>
specified above to make the makefile just work, but since I didn't have<br>
the repo at all, it just failed. And I stopped working on it and threw<br>
away the branch.<br>
<br>
Happy to review makefile changes though.<br>
<br>
Tim<br>
<br>
--<br>
Juju-dev mailing list<br>
<a href="mailto:Juju-dev@lists.ubuntu.com">Juju-dev@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju-dev" target="_blank">https://lists.ubuntu.com/mailman/listinfo/juju-dev</a><br>
</blockquote></div>