This repository has been archived by the owner on Oct 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
Support Netlify Large Media #40
Comments
We did a code walkthrough together the other day. I think we can get this added fairly soon. I'll take a stab at it when I have time. |
I need to go and ask for Keiko Sept 2018. |
actually what do I need to do here? is there any specific question? |
@keiko713 there is, but we can maybe pair and talk about it when I (or whoever does this) needs the information and form a specific question. |
Ok, catching up on this. A few caveats/edge cases:
|
So solve the above mentioned edge case we would need to:
This would be challenging however. Other solutions might exist. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
- Do you want to request a feature or report a bug?
There are a couple of things we need to add to support Netlify Large Media in the CLI.
- What is the current behavior?
We don't support Netlify LM
- What is the expected behavior?
When a site has LM enabled, we need to read information from LFS pointer files to add them to the deploy requests. This logic is already implemented in the Go client:
https://github.com/netlify/open-api/blob/master/go/porcelain/deploy.go#L512-L532
The original file size needs to be sent as a parameter when we upload a file:
https://github.com/netlify/open-api/blob/master/go/porcelain/deploy.go#L424-L431
There is a caveat to keep in mind in this implementation:
netlify/open-api@2af0664
Maybe @keiko713 can say more about that special hashed key.
The text was updated successfully, but these errors were encountered: