echopype icon indicating copy to clipboard operation
echopype copied to clipboard

Are we fully deprecating use of Git LFS?

Open emiliom opened this issue 4 years ago • 14 comments

The documentation retains the text about the use of Git LFS. But I think we've effectively stopped using LFS, right? If so, should I remove that text from the docs altogether?

ref: #268

emiliom avatar Mar 28 '21 21:03 emiliom

Yes, I agree we should remove LFS text from the docs!

leewujung avatar Mar 29 '21 14:03 leewujung

This issue can be closed one class-redesign is merged to master.

leewujung avatar Apr 25 '21 04:04 leewujung

Closing this with #298.

leewujung avatar Apr 27 '21 17:04 leewujung

We will need to remove all test files from the repo, and potentially "rewrite" the history to fully deprecate use of Git LFS (hopefully not needed!) to actually close this. But this does not impact releasing v0.5.0.

leewujung avatar May 05 '21 19:05 leewujung

This may help us: https://github.com/git-lfs/git-lfs/issues/3026

lsetiawan avatar May 05 '21 19:05 lsetiawan

Great, thanks for pointing to this @lsetiawan . Let's make sure to experiment with a duplicated dummy first 😅.

leewujung avatar May 05 '21 19:05 leewujung

With #369 merged. When I do git lfs ls-files nothing shows up, I assume that means it's not stored in lfs.

lsetiawan avatar Jun 01 '21 16:06 lsetiawan

When I do git lfs ls-files I still get a whole list of files, but we can probably live with that for now, as long as folks don't have to do pull files from git lfs when they try to contribute.

leewujung avatar Jun 01 '21 17:06 leewujung

An additional note: @lsetiawan since you're on this, could you remove all the LFS related stuff under .gitattributes? Thanks.

leewujung avatar Jun 01 '21 17:06 leewujung

When I do git lfs ls-files I still get a whole list of files,

~~Are you on the branch associated with #369?~~ ... oh wait that's merged haha. Nvm... weird that you still see this

lsetiawan avatar Jun 01 '21 19:06 lsetiawan

could you remove all the LFS related stuff under .gitattributes? Thanks.

That should be all deleted now on dev branch.

lsetiawan avatar Jun 01 '21 19:06 lsetiawan

Great, now under dev when i do git lfs ls-files I don't see anything.

leewujung avatar Jun 01 '21 20:06 leewujung

Reopening this issue because there are still some hidden problems related to Git LFS, which show up when maintainers try to push to the PR forks (@lsetiawan and I both ran into this). The workaround has been to skip pre-hook as discussed here and we should probably fix the source of the problem. From other people's reporting it seems that this could cause problems to contributors also depending on what commits they pull.

Completely removing LFS from the repo appears to be a common need and a casual search turned up this. Not sure if there is a better solution. I did the "rewrite history" part when adding LFS to the repo. It is pretty terrible because people need to delete and refork, otherwise the history don't match.

@lsetiawan : thoughts?

leewujung avatar Dec 04 '21 14:12 leewujung

Let's investigate this as part of the test overhaul in 0.6.4, but not delaying this further so that we can once and for all be happy that we don't have LFS constraints anymore.

leewujung avatar Oct 13 '22 02:10 leewujung

I'll close this now but if problems surface later we'll reopen it.

leewujung avatar Mar 11 '23 18:03 leewujung