Re: Introducing, juju resources!

2016-02-17 Thread Adam Collard
Hi Moonstone! On Fri, 12 Feb 2016 at 21:27 Katherine Cox-Buday < katherine.cox-bu...@canonical.com> wrote: > Moonstone have been working hard on a new feature coming up in Juju 2.0 > called "Juju Resources", and we're now at a point where we can share the > goodness and call for bugs/feedback!

Re: Introducing, juju resources!

2016-02-14 Thread Aaron Bentley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2016-02-14 01:40 PM, Rick Harding wrote: > > > On Sun, Feb 14, 2016 at 12:50 PM Aaron Bentley Yes, you can work > around this with tarfiles, but why do we want to? It's a pain to > build a tar file every time a single dependency changes. It's

Re: Introducing, juju resources!

2016-02-14 Thread Rick Harding
On Sun, Feb 14, 2016 at 12:50 PM Aaron Bentley wrote: > Another use case is when you want to create a charm deploys Python > code. You want it to use "resources" instead of downloading > dependencies from PyPI. > > 1. The list of resources can change over time. You

Re: Introducing, juju resources!

2016-02-14 Thread Aaron Bentley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2016-02-13 09:10 AM, Rick Harding wrote: > Your read is correct. You must declare the resources. It's helpful > to users to know what to stick in there and for the charm to be > able to handle different items. In your case, a single tar file of >

Re: Introducing, juju resources!

2016-02-13 Thread Rick Harding
On Fri, Feb 12, 2016 at 11:06 PM Aaron Bentley wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > On 2016-02-12 04:26 PM, Katherine Cox-Buday wrote: > > Moonstone have been working hard on a new feature coming up in Juju > > 2.0 called "Juju Resources",

Re: Introducing, juju resources!

2016-02-13 Thread Nate Finch
One idea is to have a resource type of "directory" and upload everything in that directory. The current code has only one resource type - file. But it's copied to a directory on the unit named by the resource. So it would be pretty easy to jnstsd copy a number of files to that directory. Of

Re: Introducing, juju resources!

2016-02-12 Thread Katherine Cox-Buday
Hey Gabbey! On 02/12/2016 03:57 PM, Gabriel Samfira wrote: Is there a limit on the filesize I can upload? Not to my knowledge; they are streamed to the controller. What happens if multiple users try to upload the same file (does it get stored twice, or does juju just increment a reference

Re: Introducing, juju resources!

2016-02-12 Thread Gabriel Samfira
Outstanding stuff! I know this is still early :D. I will probably be abusing this feature a lot in the comming weeks, and want to get as familiar with it as possible. So here are a few questions: Is there a limit on the filesize I can upload? What happens if multiple users try to upload the

Re: Introducing, juju resources!

2016-02-12 Thread Aaron Bentley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2016-02-12 04:26 PM, Katherine Cox-Buday wrote: > Moonstone have been working hard on a new feature coming up in Juju > 2.0 called "Juju Resources", and we're now at a point where we can > share the goodness and call for bugs/feedback! I'm glad