Skip to content

Better error messages when a chisel-release is not found #4

Description

@rebornplusplus

I think we do a pretty good job in the help message by directing the user to the chisel-releases repository and telling them that releases match branches. However, I think that we do not do such a great job with error messages. For example:

$ ./chisel find libc6 --release ubuntu
error: invalid release reference: "ubuntu"

There is no mention of the expected format (e.g. name-number), and even with the correct format the error message can be improved, see:

$ ./chisel find libc6 --release ubuntu-11
error: no information for ubuntu-11 release

We could say above what the available releases are or point the user to the repository so he can see the branch names.

-- Originally posted at canonical#99 (review)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions