Comment 2 for bug 1375398

Revision history for this message
Curtis Hovey (sinzui) wrote :

This issue is the juju-store and I suspect the store is correct. Since Lp is co-opted to manage charms, its rules are looser than Juju's. charmworld talks to Lp, not the store since the store doesn't yet support queries , so the charm looks correct from the source and viewing locations, but the store that interpets the branch knows the version is bad:
     https://store.juju.ubuntu.com/charm-info?charms=cs:trusty/quantum-gateway-fix-1361712-stable
^ "-1361712-" is the most likely cause of the issue. When I worked on charmworld, version matching was a challenge because the version and charm names are conflated. Juju's own rules probaby think the "-number-" is a charm version, not a name.

These charm/package names are probably acceptable to the store/Launchpad:
   quantum-gateway-fix1361712-stable/trunk
   quantum-gateway-fix-stable/trunk

And the store will find these and published the versions as
   quantum-gateway-fix1361712-stable-0
   quantum-gateway-fix-stable-0