Re: Juju as a snap

2016-08-09 Thread Nicholas Skaggs
On Mon, Aug 8, 2016 at 12:44 AM, Stuart Bishop 
wrote:

>
>
> On 3 August 2016 at 04:00, Nicholas Skaggs 
> wrote:
>
>> The Juju client has been snappified and pushed to the juju store. Note
>> for now it's just an amd64 build.
>>
>> snap install juju --beta --devmode
>>
>> The beta channel contains the latest beta, 2.0-beta13. This is a sneak
>> preview of further builds, including the latest crack available in the edge
>> channel as development happens.
>>
>
> You might want to get the snap added to the normal release process...
> beta14 is the new hotness.
>
> (Launchpad can do automatic builds of multiple architectures from a git or
> bzr branch, and push them to the charm store for you)
>
>
> --
> Stuart Bishop 
>

I've pushed beta14 now, again only an amd64 build however.  As far as
launchpad goes, I do plan on having it build the snaps (with all the arches
we desire), but we are working through a couple kinks in getting it to
build properly in launchpad. I've also opened a PR to upstream the
snapcraft.yaml, and I think it's going to need some updates and ideas about
how to enable developer builds as we go forward. Exciting stuff!
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Juju as a snap

2016-08-07 Thread Stuart Bishop
On 3 August 2016 at 04:00, Nicholas Skaggs 
wrote:

> The Juju client has been snappified and pushed to the juju store. Note for
> now it's just an amd64 build.
>
> snap install juju --beta --devmode
>
> The beta channel contains the latest beta, 2.0-beta13. This is a sneak
> preview of further builds, including the latest crack available in the edge
> channel as development happens.
>

You might want to get the snap added to the normal release process...
beta14 is the new hotness.

(Launchpad can do automatic builds of multiple architectures from a git or
bzr branch, and push them to the charm store for you)


-- 
Stuart Bishop 
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Juju as a snap

2016-08-03 Thread Jorge O. Castro
On Tue, Aug 2, 2016 at 5:00 PM, Nicholas Skaggs
 wrote:
> Feedback is welcome and appreciated! If you are running ubuntu 16.04 you
> already have snappy installed. Give it a try!

I just wanted to also point out that this enables the Juju client to
run on Fedora/CentOS/SUSE/Arch/Gentoo or any other distro which has
snapd support.

If you run into problems with these configurations please report bugs.

-- 
Jorge Castro
Canonical Ltd.
http://jujucharms.com/ - The fastest way to model your service

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


Re: Juju as a snap

2016-08-03 Thread Nicholas Skaggs

For now, it's here:

https://github.com/nskaggs/snap-juju

Indeed as Marco pointed out, it should get upstreamed into the juju 
repo. The needed interfaces and issues with strict mode are discussed in 
the README there as well.


Nicholas

On 08/02/2016 05:11 PM, Tom Barber wrote:
I saw you guys discussing this on #juju the other day, great stuff! 
For those of us interested, is the snap source in a repo somewhere we 
can take a peak at?


Cheers

Tom

--

Director Meteorite.bi - Saiku Analytics Founder
Tel: +44(0)5603641316

(Thanks to the Saiku community we reached our Kickstart 
 
goal, but you can always help by sponsoring the project 
)


On 2 August 2016 at 22:00, Nicholas Skaggs 
mailto:nicholas.ska...@canonical.com>> 
wrote:


The Juju client has been snappified and pushed to the juju store.
Note for now it's just an amd64 build.

snap install juju --beta --devmode

The beta channel contains the latest beta, 2.0-beta13. This is a
sneak preview of further builds, including the latest crack
available in the edge channel as development happens.

Note, that you will need to use juju add-credential to re-add your
credentials for the snap -- credentials are not shared with the
debian package. Also, should you have the debian package (from the
archive or ppa) installed, it has priority in PATH for 'juju'.
Uninstall the package, or run the snap directly by calling
/snap/bin/juju.

Feedback is welcome and appreciated! If you are running ubuntu
16.04 you already have snappy installed. Give it a try!

Nicholas


-- 
Juju mailing list

Juju@lists.ubuntu.com 
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/juju





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


Re: Juju as a snap

2016-08-03 Thread Stuart Bishop
On 3 August 2016 at 04:00, Nicholas Skaggs 
wrote:

> The Juju client has been snappified and pushed to the juju store. Note for
> now it's just an amd64 build.
>
> snap install juju --beta --devmode
>
> The beta channel contains the latest beta, 2.0-beta13. This is a sneak
> preview of further builds, including the latest crack available in the edge
> channel as development happens.
>
> Note, that you will need to use juju add-credential to re-add your
> credentials for the snap -- credentials are not shared with the debian
> package. Also, should you have the debian package (from the archive or ppa)
> installed, it has priority in PATH for 'juju'. Uninstall the package, or
> run the snap directly by calling /snap/bin/juju.
>
> Feedback is welcome and appreciated! If you are running ubuntu 16.04 you
> already have snappy installed. Give it a try!


Any idea how plugins will work once you get this confined? I think plugins
will also need to be snapped and connected by an interface somehow (esp. as
deb packaged plugins would likely drag in a non-snap'd juju).

(Got my lxd environment bootstrapped, so working fine here!)


-- 
Stuart Bishop 
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Juju as a snap

2016-08-02 Thread Marco Ceppi
Hopefully the snapcraft.yaml shows up in the repo. We're gearing up to do
the same with charm-tools very soon, excited to provide a daily build in
edge and proper candidates in candidate channel.

I'll mail the list when we make the switch.

Marco

On Tue, Aug 2, 2016, 5:12 PM Tom Barber  wrote:

> I saw you guys discussing this on #juju the other day, great stuff! For
> those of us interested, is the snap source in a repo somewhere we can take
> a peak at?
>
> Cheers
>
> Tom
>
> --
>
> Director Meteorite.bi - Saiku Analytics Founder
> Tel: +44(0)5603641316
>
> (Thanks to the Saiku community we reached our Kickstart
> 
> goal, but you can always help by sponsoring the project
> )
>
> On 2 August 2016 at 22:00, Nicholas Skaggs 
> wrote:
>
>> The Juju client has been snappified and pushed to the juju store. Note
>> for now it's just an amd64 build.
>>
>> snap install juju --beta --devmode
>>
>> The beta channel contains the latest beta, 2.0-beta13. This is a sneak
>> preview of further builds, including the latest crack available in the edge
>> channel as development happens.
>>
>> Note, that you will need to use juju add-credential to re-add your
>> credentials for the snap -- credentials are not shared with the debian
>> package. Also, should you have the debian package (from the archive or ppa)
>> installed, it has priority in PATH for 'juju'. Uninstall the package, or
>> run the snap directly by calling /snap/bin/juju.
>>
>> Feedback is welcome and appreciated! If you are running ubuntu 16.04 you
>> already have snappy installed. Give it a try!
>>
>> Nicholas
>>
>>
>> --
>> Juju mailing list
>> Juju@lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/juju
>>
>
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Juju as a snap

2016-08-02 Thread Tom Barber
I saw you guys discussing this on #juju the other day, great stuff! For
those of us interested, is the snap source in a repo somewhere we can take
a peak at?

Cheers

Tom

--

Director Meteorite.bi - Saiku Analytics Founder
Tel: +44(0)5603641316

(Thanks to the Saiku community we reached our Kickstart

goal, but you can always help by sponsoring the project
)

On 2 August 2016 at 22:00, Nicholas Skaggs 
wrote:

> The Juju client has been snappified and pushed to the juju store. Note for
> now it's just an amd64 build.
>
> snap install juju --beta --devmode
>
> The beta channel contains the latest beta, 2.0-beta13. This is a sneak
> preview of further builds, including the latest crack available in the edge
> channel as development happens.
>
> Note, that you will need to use juju add-credential to re-add your
> credentials for the snap -- credentials are not shared with the debian
> package. Also, should you have the debian package (from the archive or ppa)
> installed, it has priority in PATH for 'juju'. Uninstall the package, or
> run the snap directly by calling /snap/bin/juju.
>
> Feedback is welcome and appreciated! If you are running ubuntu 16.04 you
> already have snappy installed. Give it a try!
>
> Nicholas
>
>
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Juju as a snap

2016-08-02 Thread Nicholas Skaggs
The Juju client has been snappified and pushed to the juju store. Note 
for now it's just an amd64 build.


snap install juju --beta --devmode

The beta channel contains the latest beta, 2.0-beta13. This is a sneak 
preview of further builds, including the latest crack available in the 
edge channel as development happens.


Note, that you will need to use juju add-credential to re-add your 
credentials for the snap -- credentials are not shared with the debian 
package. Also, should you have the debian package (from the archive or 
ppa) installed, it has priority in PATH for 'juju'. Uninstall the 
package, or run the snap directly by calling /snap/bin/juju.


Feedback is welcome and appreciated! If you are running ubuntu 16.04 you 
already have snappy installed. Give it a try!


Nicholas


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