charm get is pretty unusable

Bug #1226865 reported by Kapil Thangavelu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juju Charm Tools
Fix Released
High
Marco Ceppi

Bug Description

I have yet to find a parameterization that works

try with charm store url

ubuntu@yjp-training-bastion:~$ charm get cs:~marcoceppi/precise/discourse
Error: cs:~marcoceppi/precise/discourse not found in charm store.

nope... maybe without the prefix

ubuntu@yjp-training-bastion:~$ charm get ~marcoceppi/precise/discourse
Error: ~marcoceppi/charms/precise/discourse not found in charm store.

nope.. maybe with the full branch path..

ubuntu@yjp-training-bastion:~$ charm get lp:~marcoceppi/charms/precise/discourse/trunk
Error: lp:~marcoceppi/charms/precise/discourse/trunk not found in charm store.

nope.. maybe with the lp prefix

ubuntu@yjp-training-bastion:~$ charm get ~marcoceppi/charms/precise/discourse/trunk
Error: lp:~marcoceppi/charms/precise/discourse/trunk not found in charm store.

nope.. maybe omitting the branch
ubuntu@yjp-training-bastion:~$ charm get ~marcoceppi/charms/precise/discourse
Error: ~marcoceppi/charms/precise/discourse/trunk not found in charm store.

sigh.. okay let's try and get memcached

charm get precise/memcached
Error: precise/memcached not found in charm store.

most humans have already given up at this point.

apparently the only usage for charm get is

  charm get memcached

which only works for the promulgated lts version.

description: updated
Revision history for this message
Marco Ceppi (marcoceppi) wrote :

Hi Kapil. Yes, this is definitely a sore spot in the charm get code which hasn't seen an update really since it's inception. I'll be working on expanding support for standard URLs found in the juju deploy command line as well as common handlers like "lp" and potentially "gh" for github.

Changed in charm-tools:
status: New → Triaged
importance: Undecided → Critical
importance: Critical → High
assignee: nobody → Marco Ceppi (marcoceppi)
milestone: none → 1.2.0
Marco Ceppi (marcoceppi)
Changed in charm-tools:
milestone: 1.2.0 → 1.3.0
Marco Ceppi (marcoceppi)
Changed in charm-tools:
milestone: 1.3.0 → 1.2.3
Marco Ceppi (marcoceppi)
Changed in charm-tools:
status: Triaged → Fix Released
milestone: 1.2.3 → 1.2.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.