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

Resumable uploads via tusd #52

Merged
merged 2 commits into from
Jun 14, 2016
Merged

Conversation

sinbad
Copy link
Contributor

@sinbad sinbad commented Jun 14, 2016

This PR allows the user to opt-in to using tusd to enable resumable uploads. tusd is the reference implementation of the tus.io resumable upload protocol and is supported by this git-lfs PR which should hopefully be in git-lfs v1.3.

I couldn't create meaningful tests for this without making the project dependent on the tus codebase, which is quite large (recursive dependencies). This is also the reason I chose to implement it by calling the tusd binary (which the user must have installed when opting in), rather than directly referencing the tus code - that would have been more elegant and wouldn't have had to assume knowledge of the tusd storage model, but it would have bloated the vendor directory horribly so I consider this the lesser of the two evils. Hope you agree 😄

I just run it through its paces manually with a test repo instead.

@rubyist
Copy link
Contributor

rubyist commented Jun 14, 2016

👍

@sinbad sinbad merged commit e8afc6f into git-lfs:master Jun 14, 2016
@sinbad sinbad deleted the resume-upload-tus branch June 14, 2016 15:12
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.

2 participants