I think the actual path is to streamline reactive framework, so that Ubuntu is the simplest example of reactive. Anyone can, as Nate demonstrated, create a minimal charm. The feedback here is great so far and we're going to be iterating on the framework.
Marco On Fri, Dec 9, 2016, 9:32 AM John Meinel <j...@arbash-meinel.com> wrote: > So I went ahead and did slightly more than the minimal charm: > cs:~jameinel/xenial/ubuntu-lite > > It is essentially just installing Ubuntu, and in the Start hook, I do > "status-set active" and report the Ubuntu version in > "application-version-set". > > However, some feedback about the experience: > > > 1. "charm push cs:~jameinel/ubuntu-lite" fails ultimately with a TLS > timeout error: > ERROR cannot post archive: Post > https://api.jujucharms.com/charmstore/v5/~jameinel/ubuntu-lite/archive?...: > net/http: TLS handshake timeout > I thought the point of multi-series charms is that you didn't have to > publish to an explicit series. > 2. The result of a successful push tells you "unpublished". But the > command to actually publish one is "charm release". Should we be using the > verbiage of "unreleased"? Certainly there was no indication of what I > should be doing to get the charm to a 'published' state from the CLI. > 3. ubuntu-lite does get from "pending" to "active" a fair bit faster > than the full 'ubuntu' charm (about 1-2 minutes on my LXD provider.) > > John > =:-> > > On Thu, Dec 1, 2016 at 5:01 AM, Nate Finch <nate.fi...@canonical.com> > wrote: > > On IRC, someone was lamenting the fact that the Ubuntu charm takes longer > to deploy now, because it has been updated to exercise more of Juju's > features. My response was - just make a minimal charm, it's easy. And > then of course, I had to figure out how minimal you can get. Here it is: > > It's just a directory with a metadata.yaml in it with these contents: > > name: min > summary: nope > description: nope > series: > - xenial > > (obviously you can set the series to whatever you want) > No other files or directories are needed. > > Figured this might be useful for others. > > -Nate > > -- > Juju-dev mailing list > Juju-dev@lists.ubuntu.com > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/juju-dev > > > -- > Juju-dev mailing list > Juju-dev@lists.ubuntu.com > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/juju-dev >
-- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev