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

Use shallow clones by default #117

Merged
merged 6 commits into from
Jul 28, 2020

Conversation

yuvipanda
Copy link
Contributor

Deep clones take up so much unnecessary space, and are unused
99% of the time. Shallow cloning in git is pretty good these
days. This doesn't touch pre-existing clones

Deep clones take up so much unnecessary space, and are unused
99% of the time. Shallow cloning in git is pretty good these
days. This doesn't touch pre-existing clones
Copy link
Contributor

@ryanlovett ryanlovett left a comment

Choose a reason for hiding this comment

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

I wasn't familiar with this, but it seems like a good idea to me. I don't think students or instructors ever make use of the full history or other branches. If any do, it is for debugging in which case they can do it manually.

@consideRatio
Copy link
Member

I think this makes sense for nbgitpuller to do: LGTM.

nbgitpuller/pull.py Show resolved Hide resolved
nbgitpuller/pull.py Outdated Show resolved Hide resolved
nbgitpuller/pull.py Outdated Show resolved Hide resolved
@consideRatio
Copy link
Member

I fixed all the issues in the current PRs tests, but additional tests were added since this PR was created that is failing as well. I'll see if I can fix those in a separate PR.

@consideRatio consideRatio merged commit 39d18d0 into jupyterhub:master Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants