Juju Resources (a tool / library)

2015-02-11 Thread Cory Johns
Hi all, (cross-posting to juju juju-dev) I've created a tool / library for organizing and managing resources (binary blobs, tarballs, Python packages, and, eventually, apt packages) required by a charm. The idea is to be an interim tool, and a test-bed for the resource features that have been

Re: Juju Resources (a tool / library)

2015-02-11 Thread Gustavo Niemeyer
I can, but that's not the right way to proceed if you were in fact trying to implement an important feature of juju that was extensively discussed. 1. The project has a technical lead and a manager which should have the proper information to bootstrap this, or at least know who to talk to. 2.

Re: Feedback on a base fake type in the testing repo

2015-02-11 Thread Andrew Wilkins
On Thu, Feb 12, 2015 at 2:53 AM, Eric Snow eric.s...@canonical.com wrote: tl;dr Using fakes for testing works well so I wrote a base fake type. [1] While working on the GCE provider, Wayne and I started taking a different approach to unit testing than the usual 1. expose an external

Re: Feedback on a base fake type in the testing repo

2015-02-11 Thread Eric Snow
On Wed, Feb 11, 2015 at 6:43 PM, Andrew Wilkins andrew.wilk...@canonical.com wrote: Looks okay in principal, though I'm not sure how much benefit it would add to the existing, tailored fakes in the codebase. It seems a little bit weird that error results are encapsulated, but not non-error

Manual bootstrap to kvm (for testing behind a proxy etc)

2015-02-11 Thread Michael Foord
Hey all, I've been working on fixing the problem(s) with deploying juju behind a proxy [1]. This involved creating kvm instances (using virt-manager), firewalling them off to only have access to the network through a proxy (squid running on the host) and bootstrapping with the manual

Re: What are blocks ?

2015-02-11 Thread Anastasia Macmood
Hi Dave Blocks protect environment from accidental corruption by blocking some operations. Here is the spec https://docs.google.com/a/canonical.com/document/d/1XFYlNGmQH7-X68IXhdxsANwHN6DgAL_RMn7IDK7ZbJc/edit#heading=h.ap4vrey3xxh6 Let me know if I could be of further assistance :D Sincerely

Re: On not copy-pasting state and params struct conversions

2015-02-11 Thread Andrew Wilkins
On Wed, Feb 11, 2015 at 7:51 PM, William Reade william.re...@canonical.com wrote: On Tue, Feb 10, 2015 at 11:35 AM, Andrew Wilkins andrew.wilk...@canonical.com wrote: Not sure I follow what you're saying about in terms of the storage types, so I'll describe how it is at the moment.