-
Notifications
You must be signed in to change notification settings - Fork 64
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
rename sparseCheckoutDir from StarterProject #129
Conversation
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.
LGTM
@davidfestal please validate as well
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.
OK for me.
Side question: I'm still wondering whether we should keep both the git
and github
project source types (that until now have the same structure).
Do we want to keep both for 2.0.0 or only keep git
for now, and add the github
union value in the future if really necessary ?
cc @l0rd
This also crossed my mind. I would actually prefer removing |
Sorry just been throught this one. In Che, sparseCheckoutDir is doing a git sparsecheckout. There is no confusion. |
In that case, we could keep In this case, it might make sense to make |
+1 |
c53dbc9
to
77fbf0c
Compare
updated, |
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.
Looks fine in general but I'm still not clear on the distinction between sparseCheckoutDirs
and subDir
. At first glance, it looks like we have similar functionality with two different names.
Re-read the discussion; subPath
= "grab only this directory" and sparseCheckout
= git clone the whole project but do a sparse checkout. If so, that makes sense.
hey @kadel, |
@kadel didn't you need that before the ODO release (since it would be a breaking change) ? Is there a reason it hasn't been merged ? |
this also changes SparseCheckoutDirs to list to allow specifing mulitple directories
77fbf0c
to
ed5f11b
Compare
We worked around this in odo by removing |
yes, but with one important distinction.
|
What does this PR do?
rename sparseCheckoutDir to subDir and use it only in StarterProject
What issues does this PR fix or reference?
#128
Is your PR tested? Consider putting some instruction how to test your changes
Docs PR