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

git lfs issues #160

Open
ColdHeat opened this issue Oct 16, 2024 · 0 comments
Open

git lfs issues #160

ColdHeat opened this issue Oct 16, 2024 · 0 comments

Comments

@ColdHeat
Copy link
Member

Even with git subrepo it seems that we can sometimes have issues with git lfs.

❯ ctf challenge add ....
git-subrepo: Command failed: 'git read-tree --prefix=...... -u 4dda58e74a75de46c39............'.
Downloading .......file....... (.........)
Error downloading object: .......file....... (123456): Smudge error: Error downloading .......file.......  (.......hash.......): [.......hash....... ] Object does not exist on the server: [404] Object does not exist on the server

Errors logged to 'filename.log'.
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: .......file.......: smudge filter lfs failed
Could not add the challenge repository. Please check git error messages above.

You can work around this with the following and then manually pulling the lfs files as referenced in the lower links

export GIT_LFS_SKIP_SMUDGE=1

ingydotnet/git-subrepo#152
ingydotnet/git-subrepo#152 (comment)

We should still try to have a better flow for these large files though.

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

1 participant