git-lfs

46 views
Skip to first unread message

Andi McClure

unread,
Aug 1, 2019, 1:42:33 PM8/1/19
to dulwich-discuss
Does Dulwich support git-lfs?

Could it?

Context: I am a user of hg-git, an hg plugin based on Dulwich. I would like to work with git-lfs repositories.

Jelmer Vernooij

unread,
Aug 4, 2019, 10:33:03 PM8/4/19
to Andi McClure, dulwich-discuss
Hi Andi,

Dulwich does not currently support lfs, but it should be possible to add support for git-lfs.

This could be done either by implementing filters (which would actually shell out to the actual git-lfs binary) or by implementing all of git-lfs in Python.

There was some recent work done to add line ending conversion support. That probably would need to be generalized to support any kind of filter.

If you're interested in working on this, let me know, and I can provide more specific pointers.

Jelmer


--
You received this message because you are subscribed to the Google Groups "dulwich-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dulwich-discu...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/dulwich-discuss/3527fa6f-89d3-429e-a4a8-0f231ef52431%40googlegroups.com.

Jelmer Vernooij

unread,
Mar 1, 2020, 9:26:50 PM3/1/20
to dulwich-discuss


On Monday, 5 August 2019 02:33:03 UTC, Jelmer Vernooij wrote:
Dulwich does not currently support lfs, but it should be possible to add support for git-lfs.

This could be done either by implementing filters (which would actually shell out to the actual git-lfs binary) or by implementing all of git-lfs in Python.

There was some recent work done to add line ending conversion support. That probably would need to be generalized to support any kind of filter.

If you're interested in working on this, let me know, and I can provide more specific pointers
I've made a start on support for LFS in master. There is now a dulwich.lfs module that allows accessing LFS objects.

The next step is to fix the handling of filters in gitattributes files. I've filed https://github.com/dulwich/dulwich/issues/748 to track LFS support work.

Jelmer

 
On Thu, Aug 1, 2019, 6:42 PM Andi McClure <andi.m....@gmail.com> wrote:
Does Dulwich support git-lfs?

Could it?

Context: I am a user of hg-git, an hg plugin based on Dulwich. I would like to work with git-lfs repositories.

--
You received this message because you are subscribed to the Google Groups "dulwich-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dulwich-discuss+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages