Skip to content

Fallback to cloning/downloading entire repo for examples #14

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

Open
seancdavis opened this issue May 23, 2022 · 2 comments
Open

Fallback to cloning/downloading entire repo for examples #14

seancdavis opened this issue May 23, 2022 · 2 comments

Comments

@seancdavis
Copy link
Collaborator

This is the safe choice when the user doesn't have an upgraded version of Git.

Ensure we're providing proper feedback.

@seancdavis
Copy link
Collaborator Author

@eladroz Was chatting with @davbree who suggested a fallback to cloning the entire repo when a dev doesn't have the necessary Git version. You mentioned an alternative approach about downloading a zip rather than cloning. Can you share more about your suggested approach here?

@eladroz
Copy link
Contributor

eladroz commented May 24, 2022

I'm suggesting to use the zip file that GitHub provides for any branch in a repo, e.g.
https://github.com/stackbit-themes/stackbit-examples/archive/refs/heads/main.zip
This is much faster to download anyway, and doesn't come with any git history.

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

No branches or pull requests

2 participants