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

Inconsistent warnings for missing externals attributes #127

Open
gold2718 opened this issue Aug 15, 2019 · 0 comments
Open

Inconsistent warnings for missing externals attributes #127

gold2718 opened this issue Aug 15, 2019 · 0 comments
Labels

Comments

@gold2718
Copy link
Collaborator

Summary of Issue:

Warning when protocol is missing is unclear

Expected behavior and actual behavior:

Expect: a warning similar to if the repository url is left out:

$ ~/Projects/manage_externals/checkout_externals --externals Externals2.cfg 
Processing externals description file : Externals2.cfg
ERROR:root:Model description is under specified! Must have "repo_url" in repo description for "gtools"

ERROR: Model description is under specified! Must have "repo_url" in repo description for "gtools"

Actual (if protocol line is omitted):

$ ~/Projects/manage_externals/checkout_externals                            
Processing externals description file : Externals.cfg
u'protocol'

Steps to reproduce the problem (should include model description file(s) or link to public repository):

Remove the protocol attribute line from an Externals.cfg entry, then run checkout_externals.

What is the changeset ID of the code, and the machine you are using: a48558d

have you modified the code? If so, it must be committed and available for testing: No

Screen output or log file showing the error message and context: See above

@gold2718 gold2718 added the bug label Aug 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant