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

My 2 cents on adding minimal support for LFS Release/0.4.2 lfs #505

Open
wants to merge 1 commit into
base: release/0.4.2
Choose a base branch
from

Conversation

sonatique
Copy link

This seems to work for me with subrepo repository having LFS enabled (Bitbucket).

This is only really minimalist, just for maybe helping someone or triggering a real dev around this.

@sonatique sonatique mentioned this pull request Nov 11, 2020
@sonatique sonatique changed the base branch from master to release/0.4.2 November 12, 2020 14:59
@ingydotnet ingydotnet force-pushed the release/0.4.2 branch 4 times, most recently from b3b0754 to fc7486e Compare November 16, 2020 14:30
…of subrepo pull and git lfs in temporary folder)

+ avoid --prune-empty when doing filter-branch to avoid later message about missing head commit when head is actually empty. Not related to LFS, just fixed because I hit it
@polski-g
Copy link

polski-g commented Aug 9, 2022

Does not seem to work with Gitlab. I think its trying to pull down roles/nrpe/files/nrpe.Debian.bin instead of just files/nrpe.Debian.bin from the subrepo's repo.

git subrepo clone git@gitlab.local:/ansible/role-nrpe.git roles/nrpe
git-subrepo: Command failed: 'git read-tree --prefix=roles/nrpe -u ASDFASDF1234'.
Downloading roles/nrpe/files/nrpe.Debian.bin (216 KB)
Error downloading object: roles/nrpe/files/nrpe.Debian.bin (955871b): Smudge error: Error downloading roles/nrpe/files/nrpe.Debian.bin (GHJKGHJK5678): [GHJKGHJK5678] Object does not exist on the server or you don't have permissions to access it: [404] Object does not exist on the server or you don't have permissions to access it

Errors logged to ......./.git/lfs/logs/20220809T104241.815896285.log
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: roles/nrpe/files/nrpe.Debian.bin: smudge filter lfs failed

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