reanahub / reana-client

REANA command-line client
http://reana-client.readthedocs.io/
MIT License
10 stars 46 forks source link

Improve log message when gitignore is detected #605

Closed VMois closed 2 years ago

VMois commented 2 years ago

When .gitignore is detected, currently user sees log message below:

==> SUCCESS: Detected .gitignore file. Some files might get ignored.
==> SUCCESS: File /code/gendata.C was successfully uploaded.

It feels a bit weird to see "SUCCESS" for gitignore detection to be on the same level as "SUCCESS" when uploading gendata.C. It might be better to say "INFO" for messages like Detected gitignore, reanaignore, etc...

https://github.com/reanahub/reana-client/blob/7655cb032e9d42f7775525d2f1c53382d865e92a/reana_client/cli/files.py#L341-L344