Skip to content

Extend gitea to add custom lfs upload/download adaptors #9089

Closed
@praveentiru

Description

@praveentiru
  • Gitea version (or commit ref): 9619ccf
  • Git version: v1.10.0
  • Operating system: Windows
  • 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

This is an enhancement request that I can work on once everyone agrees on spec. This request is inspired from Bitbucket's LFS Media Adapter. Adapter chunks large files and uploads them in parallel.

Proposal:

  1. Add a config which would take a list as input.
  2. Each item in list will hold an object with two key-value pairs
    1. adapter=mymagicsauce
    2. url=https://www.xxx.com/lfssauce
  3. Object link and verify link for upload will be built using url key value as base
  4. Gitea will expose an url for adapter service hit to verify upload of files
  5. Person extending with custom adapter will also provide client adapter component.

Looking forward to feedback from the team.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/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