-
Notifications
You must be signed in to change notification settings - Fork 46
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
utils: display warning messages about REANA spec validation #662
utils: display warning messages about REANA spec validation #662
Conversation
eedf5fb
to
58c36c1
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #662 +/- ##
==========================================
- Coverage 58.63% 58.53% -0.10%
==========================================
Files 24 24
Lines 2369 2378 +9
==========================================
+ Hits 1389 1392 +3
- Misses 980 986 +6
|
6f839aa
to
2e76db3
Compare
2e76db3
to
d857753
Compare
reana_client/validation/utils.py
Outdated
"The REANA specification file is valid, but some warnings were " | ||
"found. Please check the warnings above and make sure that the " | ||
"REANA specification file is correct.", |
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.
Given that we already print the warnings before, maybe we can shorten this to just say Please make sure that the REANA specification file is correct?
Or we could also print something like this:
-> WARNING: Issues found while validating the REANA specification file
-> WARNING: [... list of warnings ...]
-> WARNING: Please make sure that the REANA specification file is correct
In any case, what I would like to avoid is to print a very long line in the terminal.
What do you think?
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.
Okay for shortening the single lines printed in the terminal! I think it is still important to write that the REANA specification file appears valid.
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.
Maybe let's add a line to CHANGES.rst?
13d6dcd
to
769a840
Compare
769a840
to
15a01ad
Compare
Closes #660