-
Notifications
You must be signed in to change notification settings - Fork 430
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
Improve local git source repository handling #876
Comments
@stuarteberg The PR makes the code look much better. Yet, it doesn't change the fact that having Since we have our automated build scripts on top of conda-build, I have managed to auto-discover |
@frol, if |
Hi there, thank you for your contribution! This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs. If you would like this issue to remain open please:
NOTE: If this issue was closed prematurely, please leave a comment. Thanks! |
Right now, either you use a remote git repo or a local one, conda build executes
git clone
and that is it. This works in some cases, it works slowly in other cases, and it may not work at all on access-restricted repos or while you are offline.Once you have a submodule (obviously listed in
.gitmodules
with an external link),git clone
of a local repo will require network access, "read" permissions to the submodule, and some network traffic. There are a few use-cases when this will be a show-stopper:git_url
topath
inmeta.yaml
).Even if it is not a show-stopper for you, you may suffer from a slow internet connection, so downloading all submodules on every build will be frustrating and completely unnecessary.
I used to use
source/path
option, but it was "fixed" in #745. I have also noticed #753, but it doesn't solve the issue at all since it will only work for the cases when you don't need submodules./cc @ilanschnell @jasongrout @stuarteberg @gmarkall @jakirkham @groutr
The text was updated successfully, but these errors were encountered: