`charm publish` from xenial/updates is `charm release` in juju/stable

Bug #1647000 reported by Ryan Beisner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Charm Test Infra
Fix Released
Critical
Ryan Beisner

Bug Description

When users move from `charm` in xenial/updates to juju/stable, publish becomes release, and i just did not know such a thing, somehow.

ubuntu@juju-osci1-machine-8:~$ charm publish
ERROR unrecognized command: charm publish

ubuntu@juju-osci1-machine-8:~$ charm version
charm 2.2.0-0ubuntu1~ubuntu16.04.1~ppa2
charm-tools 2.1.9
ubuntu@juju-osci1-machine-8:~$

ubuntu@juju-osci1-machine-8:~$ charm --help
Usage: charm [options] <command> ...

Summary:
tools for accessing the charm store

Options:
--debug (= false)
    equivalent to --show-log --log-config=<root>=DEBUG
--description (= false)

-h, --help (= false)
    show help on a command or other topic
--log-file (= "")
    path to write log to
--logging-config (= "")
    specify log levels for modules
-q, --quiet (= false)
    show no informational output
--show-log (= false)
    if set, write the log file to stderr
-v, --verbose (= false)
    show more verbose output

Details:
The charm command provides commands and tools
that access the Juju charm store.

commands:
    add - add icon, readme, or tests to a charm
    attach - upload a file as a resource for a charm
    build - build a charm from layers and interfaces
    create - create a new charm
    grant - grant charm or bundle permissions
    help - show help on a command or other topic
    layers - inspect the layers of a built charm
    list - list charms for a given user name
    list-resources - display the resources for a charm in the charm store
    login - login to the charm store
    logout - logout from the charm store
    proof - perform static analysis on a charm or bundle
    pull - download a charm or bundle from the charm store
    push - push a charm or bundle into the charm store
    release - release a charm or bundle
    revoke - revoke charm or bundle permissions
    set - set charm or bundle extra-info, home page or bugs URL
    show - print information on a charm or bundle
    terms - lists terms owned by the user
    test - execute charm functional tests
    version - display tooling version information
    whoami - display jaas user id and group membership

Tags: uosci
Revision history for this message
Ryan Beisner (1chb1n) wrote :

ubuntu@juju-osci1-machine-8:~$ apt-cache policy charm
charm:
  Installed: 2.2.0-0ubuntu1~ubuntu16.04.1~ppa2
  Candidate: 2.2.0-0ubuntu1~ubuntu16.04.1~ppa2
  Version table:
 *** 2.2.0-0ubuntu1~ubuntu16.04.1~ppa2 500
        500 http://ppa.launchpad.net/juju/stable/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status
     2.1.1-0ubuntu1 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages

This command syntax change was introduced here:

https://github.com/juju/charmstore-client/commit/ab143ccfa6d4c04c16acb264f7d629d66222555a

Revision history for this message
Ryan Beisner (1chb1n) wrote :

We will need to adjust OSCI release-tools accordingly before any charm push/publish|release jobs will succeed.

Also raised this to track with this tool's devs:

https://github.com/juju/charmstore-client/issues/104

Changed in charm-test-infra:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Ryan Beisner (1chb1n)
Revision history for this message
Ryan Beisner (1chb1n) wrote :

FYI - Also tracked as a Juju docs bug:

https://github.com/juju/docs/issues/1555

Ryan Beisner (1chb1n)
Changed in charm-test-infra:
status: Confirmed → Fix Released
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.