Using juju-deployer with local charms

Adam Gandelman adamg at canonical.com
Thu Aug 1 04:12:27 UTC 2013


On 07/31/2013 07:40 PM, Marco Ceppi wrote:
> Is it possibly to point the branch attribute of a service to a local
> bzr path? I've attempted the following
>
> {
>   "local-core": {
>     "services": {
>       "wordpress": {
>         "branch": "lp:charms/wordpress"
>       }, 
>       "relation-sentry": {
>         "branch": "/tmp/kh7c1d/relation-sentry"
>       }, 
>     }, 
>  ...
>
> Where /tmp/kh7c1d/relation-sentry is a bzr repo and charm. When
> running deployer the following error occurs:
>
>
> This is using juju-deployer 0.2.1+bzr109-0~22~raring1 Is there a
> format for local paths to charms or does this need to be filed as a
> bug/feature request?
>

Looks like a feature bug to me.  Currently, we're only parsing branch
URLs that start with or contain (git) or (bzr, lp:).   Since 'file:///'
URLs are valid for both git and bzr, it should either be more clever in
its parsing or just default to bzr.  Feel
free to file a bug.

-Adam





More information about the Juju mailing list