Skip to content

Cannot upload large file via LFS because at some (varying) point it always aborts due to hiccups - please implement Tus.io protocol to rectify #1723

Open
@ghost

Description

  • Gitea version (or commit ref): latest docker image
  • Git version: latest docker image
  • Operating system: Ubuntu 17.04 (host)
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

I am trying to upload a 700MB file with <1.0MB/s upload speed to git-lfs. I know this is not optimal, but not everyone has a good internet connection in all places they occasionally need to do some work.

This proves to be nigh impossible. After 1-2 hours you are bound to run into some sort of minor hiccup, which will immediately cause the git-lfs client to start over from the beginning, which means there is a very tiny chance I can ever finish the upload successfully.

The git-lfs developers say they added Tus.io protocol support for this use case. (info from this ticket: git-lfs/git-lfs#2026 ) Since without upload resumption git-lfs is completely unusable in this setting with a shaky connection, please implement this protocol server-side.

Screenshots

If this issue involves the Web Interface, please include a screenshot

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/lfstype/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions