Skip to content

LFS Roadmap: v1.5.0 -> v2.0 #1632

Closed
Closed

Description

@technoweenie

You may have noticed references to new LFS version numbers flying around these
Issues and Milestones. Here's our current plan for the next few Git LFS
releases:

v1.5.0

This is an exciting release for us, especially @larsxschneider. LFS's biggest
complaint is how slow it is. Unfortunately, a big part of that has to do with
Git's clean and smudge filter implementation, which was never designed for
something like LFS.

@larsxschneider dropped #1382 on us, which claimed to speed up git branch
changes up to 70x with a new filter process feature in Git. After several
months of patches with the git core team, the filter process feature was
accepted for Git v2.11.

Since then, @larsxschneider and @ttaylorr have been jamming on the Git LFS
implementation of this feature, and it is now nearly ready: #1617.

A couple other things are slated for Git LFS v1.5.0 too:

View progress in the v1.5.0 milestone.

v2.0

Since its release over a year ago, Git LFS has been carrying around a lot of
baggage. Git LFS v2.0 removes that baggage, and redesigns some of the core
systems.

The bulk of the baggage is the support for the Git LFS legacy API, which is
removed in #1629. There are also a number legacy commands to remove too.

View progress in the v2.0 milestone.

File Locking

@sinbad is currently experimenting with File Locking. There's no set release
yet, but it is looking promising:

Activity

  1. ttaylorr commented on Nov 10, 2016

    @ttaylorr
    Contributor

    Thanks for writing this up! 🎉

    I'm going to post more detailed issues with proposals and high-level overviews of the types of improvements I'd like to make in both the scanner, transfer queue, and the filter process.

    @larsxschneider and I have already begun talking about adding a new capability to the protocol to allow the git-filter-server (LFS) to "promise" that it will convert a file and yield the path on disk where it will dump the result of that conversion. The git-filter-client (Git) can then wait until LFS sends back an "I'm done with everything you asked for", and then Git will move those files into the appropriate locations.

    This will allow us to process many transfers concurrently, taking full advantage of the proposed new transfer queue design, and yielding even greater speeds for the new filter protocol implementation. Perhaps more importantly, it will allow us to do normal Git operations (git clone, git push, git pull, and etc.) without needing to temporarily disable the smudge filter to parallelize the transfers. This means that, in-effect, we could get rid of the git lfs <pull|clone|push> commands entirely, which is something that I'd be very excited about.

  2. sinbad commented on Nov 11, 2016

    @sinbad
    Contributor

    Nice 👍 I'm glad I at least managed to finish something for 1.5 at least :)

  3. technoweenie commented on Nov 14, 2016

    @technoweenie
    ContributorAuthor

    Updated above to reference the first issue for lfs 2.0: Proposal: git/gitscanner package for v2.0 #1649

  4. ttaylorr commented on Nov 14, 2016

    @ttaylorr
    Contributor

    Updated above to reference the first issue for lfs 2.0: Proposal: git/gitscanner package for v2.0 #1649

    Did the same for the transfer queue work outlined in #1651, and the promisified filter process stuff in #1646.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions