Skip to content

Implement Git LFS file locking API

Git LFS 2 introduced native file locking for LFS objects. GitLab should implement the LFS file locking API for locking and unlocking files.

Supporting this for EE is already requested in gitlab-org/gitlab-ee#1830. This issue is to request the general implementation and support of Git LFS file locking in Gitlab CE.

Proposal

  • Add LFS File Locking API (LFS 2.0)
  • LFS files locked through the Git LFS locking API should be shown with a locked status through GitLab web interface
  • LFS files cannot be locked or unlocked through the GitLab web interface

Links / references

Git LFS locking API: https://github.com/git-lfs/git-lfs/blob/master/docs/api/locking.md Git LFS file locking released: https://github.com/blog/2328-git-lfs-2-0-0-released

Documentation blurb

Overview

Support new Git LFS file locking

Use cases

People who want to use the Git LFS file locking feature need the server to support Git LS 2.x.

Feature checklist

Make sure these are completed before closing the issue, with a link to the relevant commit.

Edited by 🤖 GitLab Bot 🤖