Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Take arbitrary git url #9

Open
jyn514 opened this issue Apr 19, 2018 · 1 comment
Open

Take arbitrary git url #9

jyn514 opened this issue Apr 19, 2018 · 1 comment

Comments

@jyn514
Copy link
Owner

jyn514 commented Apr 19, 2018

Hunter gave me this idea - front end should take an arbitrary git url, like a github repo. This would not be terrible to implement on the backend, not sure how to implement it on the front end.

Ideally, this would NOT download the whole repository, but only checkout the files we want to highlight. git clone --no-checkout is the syntax.

Github has an API for finding the size of a repo - eventually we should check if the url is on github, check if the size is greater than, say, 100 MB, and if so only work remotely, don't download the whole history.

@jyn514
Copy link
Owner Author

jyn514 commented Apr 19, 2018

We could also use git clone --depth 1 and deepen it as necessary.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant