-
Notifications
You must be signed in to change notification settings - Fork 9
Improve watch command output #110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
So we can push some of messages we print today out for clear view for our audience who only want to see info relevant to their test and tree. Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Abort won't exit immedially, but generate an Click execption instead. However, we want to exit right away. The suggestion is to just use sys.exit() Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Our users don't need to see the background infomation from Maestro. We can show only the needful information. With time we will also show links to logs and other info in concise way. Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com>
43dfc05 to
4d87114
Compare
| except requests.exceptions.HTTPError as ex: | ||
| kci_err(ex.response.json().get("detail")) | ||
| click.Abort() | ||
| sys.exit(errno.ENOENT) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why use errno.ENOENT? I thought was referred only to local directory not for HTTPError
ENOENT means "No such file or directory", and is for path operations.
| required=False, | ||
| ) | ||
| @click.option("--instance", help="API instance to use", required=False) | ||
| @click.option("--debug", is_flag=True, help="Enable debug info") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice to have a debug option
|
please remove the debug related commits from this PR |
Show only relevant information. Next step we will add an option to download the logs.