jitpack.io icon indicating copy to clipboard operation
jitpack.io copied to clipboard

Add support for git-lfs

Open jitpack-io opened this issue 6 years ago • 4 comments

git-lfs should be made available on build containers.

jitpack-io avatar Jul 17 '19 10:07 jitpack-io

It will help us so much! We store our .aar library in GitLFS and it requires a lot of effort to make it working with Jitpack.

ghost avatar Jul 17 '19 11:07 ghost

@IMarchuk how did you get it working?

andre-paraense avatar Sep 07 '19 17:09 andre-paraense

@jitpack-io It seems that git-lfs was added to jitpack docker image, however git lfs files don't seem to be downloaded from a github repo automatically:

> Task :zumokit:packageReleaseResources
/opt/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip: error: '/home/jitpack/build/zumokit/build/intermediates/merged_native_libs/release/out/lib/arm64-v8a/libzumocore.so': The file was not recognized as a valid object file

https://www.jitpack.io/com/github/zumo/zumokit-android/2.4.0/build.log

Are there some extra steps necessary to enable git lfs?

UPDATE: Adding before install command to jitpack.yml seems to resolve the issue...

before_install:
  - git lfs pull

IvanRomanovski avatar May 03 '21 09:05 IvanRomanovski

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Sep 12 '22 02:09 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Sep 27 '22 02:09 github-actions[bot]