Hi!
I’ve been trying to go trough The LSST Science Pipelines but cannot understand where should I put Git LFS configuration files. Does anyone have more clear idea about than what they give in their tutorial?
Thank you
By “their tutorial” do you mean Using Git LFS (Large File Storage) for data repositories — LSST DM Developer Guide main documentation ?
If not, then that’s the best reference.
If so, then no matter what, you need to run git lfs install
.
If you will not need to write the contents of LFS-stored files, you’re done.
If you do need to write LFS-stored files, then follow the directions on that page. In brief: get a token with write:gif-lfs
scope at https://roundtable.lsst.cloud/auth/tokens (if you don’t have access to Roundtable auth, then it seems unlikely you need write access to LFS-stored files) and edit .git-credentials
and .gitconfig
in your home directory as explained by the Developer Guide.
Then for each repository you need to write to, clone that repository, cd
into it, and modify lfs.url
and lfs.locksverify
as described by the Guide.
That Pipelines documentation is very out of date. I’ll see if I can get the ball rolling on getting it updated.