Re: Go 1.8

2017-04-27 Thread Andrew Wilkins
On Fri, Apr 28, 2017 at 5:55 AM Michael Hudson-Doyle <
michael.hud...@canonical.com> wrote:

> On 27 April 2017 at 17:08, Andrew Wilkins 
> wrote:
>
>>
>> The snap is working well for me.
>>
>
> \o/
>
>
>> Heather has found that it doesn't expose "gofmt", which makes the
>> pre-push hook sad. You can add /snap/go/current/bin to your $PATH to get
>> around that for now.
>>
>
> I've added a gofmt alias to the snap(s) now so you can run "snap alias go
> gofmt" after you've refreshed to the new snap. I've also asked for this
> alias to be automatically set up, I'm not sure how long that will take to
> happen though.
>

Thanks Michael!


> Cheers,
> mwh
>
-- 
Juju-dev mailing list
Juju-dev@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev


Re: Go 1.8

2017-04-27 Thread Michael Hudson-Doyle
On 27 April 2017 at 17:08, Andrew Wilkins 
wrote:

>
> The snap is working well for me.
>

\o/


> Heather has found that it doesn't expose "gofmt", which makes the pre-push
> hook sad. You can add /snap/go/current/bin to your $PATH to get around that
> for now.
>

I've added a gofmt alias to the snap(s) now so you can run "snap alias go
gofmt" after you've refreshed to the new snap. I've also asked for this
alias to be automatically set up, I'm not sure how long that will take to
happen though.

Cheers,
mwh
-- 
Juju-dev mailing list
Juju-dev@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev


Go 1.8

2017-04-26 Thread Andrew Wilkins
Folks,

We have moved to Go 1.8 as a requirement for building juju core. I'm just
about to land a change that brings in a more recent golang.org/x/crypto
version, which means we'll be using the standard library's "context", which
isn't available in Go 1.6 and earlier. Please update your toolchain.

The snap is working well for me. Heather has found that it doesn't expose
"gofmt", which makes the pre-push hook sad. You can
add /snap/go/current/bin to your $PATH to get around that for now.

Cheers,
Andrew
-- 
Juju-dev mailing list
Juju-dev@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev