-
Notifications
You must be signed in to change notification settings - Fork 12
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
Having "tag =" in subversion block may cause confusion #56
Comments
On a more nitpicky note, I think the following field ordering is more readable:
From top to bottom, that's
For git-based externals, |
@mnlevy1981 I see your point about the equivalence of different paths for svn repo_url / tag. However, I feel that it should be kept the way it is for consistency between svn and git listings. To reply to some of your specific points:
For git, the semantics of branches and tags differ. e.g., see #34 (and also possibly #26 for some other subtleties). Regarding field ordering: I like your idea of listing local_path at the top. To me it makes sense to have protocol listed before repo_url, though. I believe that manage_externals doesn't enforce any ordering, so this would just involve changes in the cesm repository. |
If I'm reading #34 correctly, work is being done to support either
or
If that's an accurate statement, then it seems like you're introducing more functionality that is vital for git but not necessary for svn... and I see that as a stronger reason to omit fields from svn repositories. What if you named the fields |
@mnlevy1981 okay I see your point. I'd be okay with having this labeled git_tag or git_branch, but will defer to @bandre-ucar to weigh in on how hard this would be to implement. |
Summary of Issue:
Having
tag =
in a component block usingprotocol = svn
is a little misleading; first of all, svn "tags" are really just branches combined with a web-hook to make them read-only. Also, it's not really clear whererepo_url
ends andtag
begins. As far as I can tell, all of the following are the sameExpected behavior and actual behavior:
What I'd rather see is the full URL in
repo_url
and notag
field:The text was updated successfully, but these errors were encountered: