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

Failed clone due to TAS test data in git-lfs #7

Open
AFaust opened this issue Jan 6, 2023 · 1 comment
Open

Failed clone due to TAS test data in git-lfs #7

AFaust opened this issue Jan 6, 2023 · 1 comment

Comments

@AFaust
Copy link

AFaust commented Jan 6, 2023

It is currently impossible (as far as I can see) to clone this project by a member of the community (i.e. to prepare a PR) due to the inclusion of test data by TAS which is separately resolved / downloaded via git-lfs, failing on missing permissions.

Repeated result of clone attempts (including one with an attempt to ignore the path via .gitignore on a parent path):

D:\Alfresco>git clone git@github.com:Alfresco/alfresco-community-share.git
Cloning into 'alfresco-community-share'...
Enter passphrase for key '/c/Users/axelf/.ssh/id_rsa':
remote: Enumerating objects: 229637, done.
remote: Counting objects: 100% (8733/8733), done.
remote: Compressing objects: 100% (3159/3159), done.
remote: Total 229637 (delta 5297), reused 8463 (delta 5139), pack-reused 220904
Receiving objects: 100% (229637/229637), 193.96 MiB | 13.57 MiB/s, done.
Resolving deltas: 100% (128640/128640), done.
Updating files: 100% (9546/9546), done.
Downloading alfresco-tas-share-test/testdata/Video2.WMV (87 KB)
Error downloading object: alfresco-tas-share-test/testdata/Video2.WMV (a4bf038): Smudge error: Error downloading alfresco-tas-share-test/testdata/Video2.WMV (a4bf038cf8d0ca93c9acd30395406b5e968d3e5743d2ad68e798fdcccd0c783d): batch request: git@github.com: Permission denied (publickey).: exit status 255

Errors logged to 'D:\Alfresco\alfresco-community-share\.git\lfs\logs\20230106T123652.9598694.log'.
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: alfresco-tas-share-test/testdata/Video2.WMV: smudge filter lfs failed
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
@knowings
Copy link

Hello,

Same issue here! We have to use GIT_LFS_SKIP_SMUDGE=1 environment variable to workaround it (cf. git-lfs/git-lfs#2406)

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