<div dir="ltr"><div><span style="font-size:13.2px;line-height:19.8px">Hello Juju!</span></div><div><span style="font-size:13.2px;line-height:19.8px"><br></span></div><div><span style="font-size:13.2px;line-height:19.8px">There is a new feature release of charm-tools which fixes issues and adds new functionality. This version superceeds 1.5.1 and 1.6.0 To verify which version of charm-tools you are using you can execute the following command:</span></div><div><span style="font-size:13.2px;line-height:19.8px"><br></span></div><div><span style="font-size:13.2px;line-height:19.8px">    charm version</span></div><div><span style="font-size:13.2px;line-height:19.8px"><br></span></div><div><span style="font-size:13.2px;line-height:19.8px"># Install</span></div><div><span style="font-size:13.2px;line-height:19.8px"><br></span></div><div><span style="font-size:13.2px;line-height:19.8px">Charm Tools is available for users via the stable juju ppa or from PyPi via pip:</span></div><div><span style="font-size:13.2px;line-height:19.8px"><br></span></div><div><span style="font-size:13.2px;line-height:19.8px">## Aptitude</span></div><div><span style="font-size:13.2px;line-height:19.8px"><br></span></div><div><span style="font-size:13.2px;line-height:19.8px">    sudo add-apt-repository ppa:juju/stable</span></div><div><span style="font-size:13.2px;line-height:19.8px">    sudo apt-get update</span></div><div><span style="font-size:13.2px;line-height:19.8px">    sudo apt-get install charm-tools</span></div><div><span style="font-size:13.2px;line-height:19.8px"><br></span></div><div><span style="font-size:13.2px;line-height:19.8px">## Pip</span></div><div><span style="font-size:13.2px;line-height:19.8px"><br></span></div><div><span style="font-size:13.2px;line-height:19.8px">    pip install charm-tools</span></div><div><span style="font-size:13.2px;line-height:19.8px"><br></span></div><div><span style="font-size:13.2px;line-height:19.8px"># Upgrade</span></div><div><span style="font-size:13.2px;line-height:19.8px"><br></span></div><div><span style="font-size:13.2px;line-height:19.8px">Existing installs of charm-tools can be upgraded using the following methods</span></div><div><span style="font-size:13.2px;line-height:19.8px"><br></span></div><div><span style="font-size:13.2px;line-height:19.8px">## Aptitude</span></div><div><span style="font-size:13.2px;line-height:19.8px"><br></span></div><div><span style="font-size:13.2px;line-height:19.8px">    sudo apt-get update</span></div><div><span style="font-size:13.2px;line-height:19.8px">    sudo apt-get install </span></div><div><span style="font-size:13.2px;line-height:19.8px"><br></span></div><div><span style="font-size:13.2px;line-height:19.8px">## Pip</span><br></div><div><span style="font-size:13.2px;line-height:19.8px"><br></span></div><div><span style="font-size:13.2px;line-height:19.8px">    pip install -U charm-tools</span></div><div><span style="font-size:13.2px;line-height:19.8px"><br></span></div><div><span style="font-size:13.2px;line-height:19.8px"># Changes</span></div><div><span style="font-size:13.2px;line-height:19.8px"><br></span></div><div><span style="font-size:13.2px;line-height:19.8px">- [lazypower] Moved the cookbook out path to $CHARM_DIR</span></div><div><span style="font-size:13.2px;line-height:19.8px">- [evarlast] change <a href="http://juju.ubuntu.com">juju.ubuntu.com</a> links to <a href="http://jujucharms.com">jujucharms.com</a></span></div><div><span style="font-size:13.2px;line-height:19.8px">- [tvansteenburgh] Update bundle proof for v4</span></div><div><span style="font-size:13.2px;line-height:19.8px">- [tvansteenburgh] Fixed some charm-create tests that were failing due to new files in charm-helpers</span></div><div><span style="font-size:13.2px;line-height:19.8px">- [johnsca] Add support for v4 format bundles in proof</span></div><div><span style="font-size:13.2px;line-height:19.8px">- [marcoceppi] Make categories a WARN to prevent promulgation of charms</span></div><div><span style="font-size:13.2px;line-height:19.8px">- [lazypower] Make readme linting more helpful</span></div><div><span style="font-size:13.2px;line-height:19.8px">- [bcsaller] Add charm composer and port tests to tox.</span></div><div><span style="font-size:13.2px;line-height:19.8px">- [bcsaller] Vendor in the fetchers module from bundletester.</span></div><div><span style="font-size:13.2px;line-height:19.8px"><br></span></div><div><span style="font-size:13.2px;line-height:19.8px"># Compser</span></div><div><span style="font-size:13.2px;line-height:19.8px"><br></span></div><div><span style="font-size:13.2px;line-height:19.8px">With this new release of charm-tools a new set of subcommands have been added. This is the first iteration of a new feature called "composer" which makes sharing and reusing common components in charms effortless. This new feature allows authors to create charm based on varying layers of existing code, the tool will "compile" a charm from the layers created and produce a single charm that can be uploaded to the store. The advantage this has over just copying bits around is that as layers evolve and update composer can notify users of these updates and rebuild your charm from the newer bases.</span></div><div><span style="font-size:13.2px;line-height:19.8px"><br></span></div><div><span style="font-size:13.2px;line-height:19.8px">It's a very exciting way to manufacture charms and helps break down charms to further composable elements. In essence layers are to charms as quarks are to protons.</span></div><div><span style="font-size:13.2px;line-height:19.8px"><br></span></div><div><span style="font-size:13.2px;line-height:19.8px">You can find out more about composer, layers, and building charms on this docs page: <a href="https://jujucharms.com/docs/devel/authors-charm-composing">https://jujucharms.com/docs/devel/authors-charm-composing</a> </span></div><div><span style="font-size:13.2px;line-height:19.8px"><br></span></div><div><span style="font-size:13.2px;line-height:19.8px"># Note</span></div><div><span style="font-size:13.2px;line-height:19.8px"><br></span></div><div><span style="font-size:13.2px;line-height:19.8px">The charm-tools 1.6.0 and 1.6.1 packages created a unique challenge in packaging. The result was a potentially broken apt/dpkg state on a few users machines. If you've attempted and upgrade in the past 24 hours you may have experienced some oddness with jujubundlelib, charm-tools, and other packages. Before reporting issues please make sure you've run `sudo apt-get update` and a `sudo apt-get install -f`.</span></div><div><span style="font-size:13.2px;line-height:19.8px"><br></span></div><div><span style="font-size:13.2px;line-height:19.8px">Going forward we're producing a new set of QA tests for our tooling to prevent having broken packages uploaded to the archive.</span></div><div><span style="font-size:13.2px;line-height:19.8px"><br></span></div><div><span style="font-size:13.2px;line-height:19.8px"># Summary</span></div><div><span style="font-size:13.2px;line-height:19.8px"><br></span></div><div><span style="font-size:13.2px;line-height:19.8px">This is the last planned release in the 1.6 series. The 1.7 series and branch are now open for development. You can always contact us for additional help via #juju on <a href="http://irc.freenode.net">irc.freenode.net</a>, <a href="http://askubuntu.com">http://askubuntu.com</a> with questions tagged #juju, or via this very mailing list <a href="mailto:juju@lists.ubuntu.com">juju@lists.ubuntu.com</a></span></div><div><span style="font-size:13.2px;line-height:19.8px"><br></span></div><div><span style="font-size:13.2px;line-height:19.8px">Thanks,</span></div><div><span style="font-size:13.2px;line-height:19.8px">Marco Ceppi</span></div></div>