Skip to content

Git LFS v1.2 #844

Closed
Closed

Description

@technoweenie

Here are the fixes slated for v1.2:

Activity

  1. sinbad commented on Feb 23, 2016

    @sinbad
    Contributor

    I'm thinking maybe it would be worth trying to bring the significant speed improvements from 'git lfs clone' to the other main workflow tasks that trigger downloads, like pulling or checking out a different branch. Unfortunately we already used 'git lfs pull' and 'git lfs checkout', maybe we either create new wrapper commands like 'git lfs gitpull' or use an option to the existing commands to turn it into a wrapper command e.g. 'git lfs pull --git'. Any thoughts?

  2. larsxschneider commented on Mar 3, 2016

    @larsxschneider
    Member

    @sinbad I agree that would make sense. However, I think "git lfs checkout" and "git lfs pull" should be triggering the corresponding git operations by default. Although this change would then brake backwards compatibility (how big of a problem would that be in this particular case?). How about a git-lfs config flag that defines if these commands trigger their respective git operations as well? The flag could be off by default to keep the current behavior.

  3. sinbad commented on Mar 3, 2016

    @sinbad
    Contributor

    @larsxschneider it's not such a big deal with git lfs checkout because it already matches git checkout behaviour for file paths, it just doesn't support the additional options for switching or creating branches yet. Although paths might need to be after a -- marker for disambiguation like git checkout which is a breaking change.

    For git lfs pull it's quite a big change since until then people won't have expected this to change the non-LFS files in their working copy. Also we still need a command which just does the lfs fetch & checkout, but perhaps you're right that this should be the one to change name or require an additional option. For consistency it would probably also mean git lfs fetch would have to change to fetch commits first too (principle of least surprise if everything else that sounds like a git command does that).

    I've written up my proposal in #1059

  4. sinbad commented on Mar 9, 2016

    @sinbad
    Contributor

    Another idea for 1.2: maybe we should drop the non-batch route now? There are edge cases which can cause the 'sticky' batch=false setting to be enabled which can break usage in non-intuitive ways, such as #993. Since no recent server implementations should be reliant on the non-batch route I think we should eliminate it.

  5. technoweenie commented on Mar 10, 2016

    @technoweenie
    ContributorAuthor

    We still have users hitting those endpoints, unfortunately :(

  6. sinbad commented on Mar 11, 2016

    @sinbad
    Contributor

    You mean clients hitting them on GH, or other server implementations only supporting non-batch? If it's clients then updating the client will phase those out over time, they're probably only using them because of the 'sticky' batch=false setting getting set one time but don't realise, and really they don't need it anymore? I only meant dropping it on the client.

  7. technoweenie commented on Mar 31, 2016

    @technoweenie
    ContributorAuthor

    I'd like to push out a release next week. What is nearly ready, and just needs some review?

    1. Add ref information to upload request Add ref information to upload request #969 - I think this is nearly ready.
    2. zsh auto completion Add full zsh completion support #727 - This looks ready. I use ZSH, so I'll try it out.
    3. touch existing git tracked files when tracked in LFS so they are flagged as modified Touch tracked files that are already added to git #1104 (@sinbad)
    4. support for git references Add support for reference clone #1007 (@jlehtnie)
    5. Accept raw remote URLs as valid Accept raw remote URLs as valid #1085 (@epriestley)
    6. fix git lfs push silently misbehaving on ambiguous refs; fail like git push instead git lfs push <remote> <ref> has poor behavior when tag and branch share a name #1100

    These would be nice, but could wait for a v1.3 release. We could include them if a champion rises up. I personally won't touch them until the above issues are done.

    1. Credentials not found using Username / Password in remote Credentials not found using Username / Password in remote #906
    2. authenticated property LFS prompting for credentials when connecting to public storage url #960
    3. add all lfs.* git config keys to git lfs env output

    So, what can we chop off from the above list? These are things that haven't had any work done. Some are pretty vague, or may be irrelevant now.

    1. Everything under "Refactoring" and "Investigate"
    2. better support for network issues better support for network issues #848
    3. credential output hidden while transferring files credential output hidden while transferring files #847
    4. Better SSH remote handling ssh:// style URLs not correctly handled #295 Using SSH shorthands as git remote should work the same as a full hostname #278
    5. Git LFS is unaware of url configurations Git LFS is unaware of url configurations #864
    6. Fails to checkout when Git repo is used via symlink Git LFS fails to checkout when Git repo is used via symlink #866
    7. Investigate pre-push error handling When connection is closed by remote host and then reconnects git doesn't push the commits until git push is re-issued #1066

    @sinbad: If you agree, I'll update the original issue body at the top.

    Anyone else: feel free to chime in :)

    EDIT: Added #906 at @andyneff's request.

  8. sinbad commented on Apr 1, 2016

    @sinbad
    Contributor

    Looks good to me, although I think #1085 is pretty niche; if the URL doesn't match any remote it can really only do a brute-force push of everything.

    I don't use zsh but I can look at #1007 a bit more.

  9. technoweenie commented on Apr 4, 2016

    @technoweenie
    ContributorAuthor

    Looks good to me, although I think #1085 is pretty niche; if the URL doesn't match any remote it can really only do a brute-force push of everything.

    I think that's fine. Seems better than not doing anything, at least.

    I don't use zsh but I can look at #1007 a bit more.

    I do use zsh, but I'd appreciate the help :)

    I have no qualms holding these, or other issues if any problems come up. I've updated the issue body at the top with the CURRENT list, and will eventually find a place on the roadmap (after v1.2 ships) for the chopped items.

  10. epriestley commented on Apr 4, 2016

    @epriestley

    I'm planning to return to #1085 when I have a chance, but probably won't get there in the next few days.

    (Our downstream LFS server implementation is available as a prototype and waiting on "does this kinda work?" user feedback, so I probably won't swing back around to LFS until we get that and I can knock out some other adjacent work at the same time.)

  11. technoweenie commented on Apr 4, 2016

    @technoweenie
    ContributorAuthor

    I moved #1085 to the "nice to have" list. It had a bit more work to do than I remembered.

  12. technoweenie commented on Apr 17, 2016

    @technoweenie
    ContributorAuthor
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