Git LFS File Locking API #1158

Closed
opened 2025-11-02 03:50:27 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @flozz on GitHub (Oct 17, 2017).

Originally assigned to: @sapk on GitHub.

  • Gitea version (or commit ref): 1.2.0
  • Git version: 2.11.0
  • Operating system: Debian 9
  • 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

Hi,

The Git LFS File Locking API is currently not implemented in Gitea:

$ git lfs lock foo.bin
Lock failed: Repository or object not found: http://git.example.com/test/test.git/info/lfs/locks
Check that it exists and that you have proper access to it

I wonder if there is a plan to support it or even if someone is interested by it?

Originally created by @flozz on GitHub (Oct 17, 2017). Originally assigned to: @sapk on GitHub. - Gitea version (or commit ref): 1.2.0 - Git version: 2.11.0 - Operating system: Debian 9 - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: - ## Description Hi, The [Git LFS File Locking API](https://github.com/git-lfs/git-lfs/blob/master/docs/api/locking.md) is currently not implemented in Gitea: ``` $ git lfs lock foo.bin Lock failed: Repository or object not found: http://git.example.com/test/test.git/info/lfs/locks Check that it exists and that you have proper access to it ``` I wonder if there is a plan to support it or even if someone is interested by it?
GiteaMirror added the type/enhancement label 2025-11-02 03:50:27 -06:00
Author
Owner

@OmarAssadi commented on GitHub (Oct 19, 2017):

or even if someone is interested by it?

Useful feature, IMO! Added a tiny starting bounty to this one.

current amount

@OmarAssadi commented on GitHub (Oct 19, 2017): >or even if someone is interested by it? Useful feature, IMO! Added a tiny starting bounty to this one. [![current amount](https://api.bountysource.com/badge/issue?issue_id=50410108)](https://www.bountysource.com/issues/50410108-git-lfs-file-locking-api)
Author
Owner

@sapk commented on GitHub (Oct 26, 2017):

I could take that one if no one is on it. ^^

@sapk commented on GitHub (Oct 26, 2017): I could take that one if no one is on it. ^^
Author
Owner

@lunny commented on GitHub (Oct 26, 2017):

@sapk please do it.

@lunny commented on GitHub (Oct 26, 2017): @sapk please do it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1158