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

Support git lfs #38

Open
garyo opened this issue May 5, 2019 · 1 comment
Open

Support git lfs #38

garyo opened this issue May 5, 2019 · 1 comment

Comments

@garyo
Copy link

garyo commented May 5, 2019

It seems githack.com does not work with git lfs. Here's a test repo (not mine) with an LFS file: https://github.com/Schoonology/git-lfs-test - the file binary.jpg is stored with LFS. If I understand how githack is supposed to work, I should be able to wget that file straight from githack.com:

wget https://raw.githack.com/Schoonology/git-lfs-test/master/binary.jpg

But that just returns the pointer file:

% head binary.jpg
version https://git-lfs.github.com/spec/v1
oid sha256:6fe2e48ef494b7855e6d8f93c59cf38d38350274e304a9ac35102d5c365ee002
size 620773

which is not good.

Downloading straight from github raw works fine:

% wget https://github.com/Schoonology/git-lfs-test/raw/master/binary.jpg
% file binary.jpg.2
binary.jpg.2: JPEG image data, JFIF standard 1.01

but downloading using raw.githubusercontent.com (which may be where githack.com is proxying from?) does not:

% wget https://raw.githubusercontent.com/Schoonology/git-lfs-test/master/binary.jpg 
% file binary.jpg.3
binary.jpg.3: ASCII text

So it would appear that at this point, githack doesn't support LFS. It would be great if it could!

@neoascetic
Copy link
Owner

It is related to #16 and I am currently working on that. Thank you.

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