Giter Club home page Giter Club logo

charm-tools's Introduction

Juju Charm Tools

Build Status

This is a collection of tools to make writing Juju charms easier. See Juju's home page for more information.

https://jujucharms.com/

Quick Start

Get Juju

First, you'll need Juju. If its not available in your version of Ubuntu you can use the PPA:

sudo add-apt-repository ppa:juju/stable
sudo apt-get update
sudo apt-get install juju-core

Get Charm Tools

Most people will want to install charm-tools from the Juju PPA.

sudo apt-get install charm-tools

Alternatively you can download the project and run the tip of the code.

git clone http://github.com/juju/charm-tools
cd charm-tools

Tools

In order to use any of these tools you need to have Juju setup and working in your path

create

To generate a new charm from a Debian package available on your system

juju charm create foo

This should add a directory to charms with the name foo, and some of the metadata.yml and hooks filled in. It will create these in $CHARM_HOME or under the current working directory.

proof

To perform basic static analysis on a charm, run

juju charm proof foo

It will analyze the charm for any obvious mistakes.

getall

Retrieves all of the charms in the charm distribution via bzr.

subscribers

This is used to check the quality of maintainer<->bug subscriptions in launchpad since we do not have this relationship automatically setup.

As a maintainer, if you would like to ensure that you are subscribed to all of your charms you can run this command:

juju charm subscribers --fix-unsubscribed --maintainer [email protected] --repository path/to/your/charms

charm-tools's People

Contributors

adamisrael avatar adeuring avatar ajkavanagh avatar aznashwan avatar bcsaller avatar benji-york avatar bholtsclaw avatar bilboer avatar dpb1 avatar javacruft avatar johnsca avatar joseeantonior avatar kwmonroe avatar marcoceppi avatar mattyw avatar mbruzek avatar mmm avatar spamaps avatar tvansteenburgh avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.