Skip to content
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

Add some details to the error message when externals are modified #144

Merged
merged 2 commits into from
Jul 13, 2020

Conversation

billsacks
Copy link
Member

Add some details to the error message when externals are modified

A user commented that this error message was unclear, particularly if you don't know how to revert changes in git. This is hopefully a small improvement, at least.

User interface changes?: No

Fixes: None

Testing: make utest, make stest, make lint
test removed: none
unit tests: pass
system tests: pass
manual testing: examined error message as printed

@billsacks billsacks requested a review from gold2718 July 10, 2020 17:22
@billsacks billsacks self-assigned this Jul 10, 2020
@coveralls
Copy link

coveralls commented Jul 10, 2020

Coverage Status

Coverage decreased (-0.05%) to 88.979% when pulling c983863 on billsacks:improve_errmsg into be5a1a4 on ESMCI:master.

Copy link
Collaborator

@gold2718 gold2718 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the third hand . . .

Comment on lines +404 to +408
(2) Alternatively, you do not have to rely on {program_name}. Instead, you can manually
update out-of-sync externals (labeled with 's' above) as described in the
configuration file {config_file}. (For example, run 'git fetch' and 'git checkout'
commands to checkout the appropriate tags for each external, as given in
{config_file}.)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about using the --exclude option to ignore that external? I think that should be a third alternative.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gold2718 good point. I just pushed an update; let me know what you think.

@billsacks billsacks merged commit 5b5e1c2 into ESMCI:master Jul 13, 2020
@billsacks billsacks deleted the improve_errmsg branch July 13, 2020 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants