juju / charmstore-client

Client for charmstore.
Other
9 stars 22 forks source link

charm commands do not default to the latest revision with left off #135

Open mitechie opened 7 years ago

mitechie commented 7 years ago
charm list-resources cs:~rharding/pgsql --format=yaml
charm show cs:~rharding/pgsql resources
charm attach cs:~rharding/pgsql wal-e=wale.snap
charm release cs:~rharding/pgsql --channel=edge --resource=wal-e

All of the above fail but should succeed with the latest revision. I'm sure there's more. I didn't go through every command.

ghost commented 7 years ago

I think you might be hitting the same pain point I'm hitting here https://github.com/juju/charmstore-client/issues/146#issuecomment-337928237.

Some sane defaults are needed for allowing people to push the latest revision to edge without having to care so much about these revisions.