[PR #2938] [MERGED] Git LFS lock api #16672

Closed
opened 2025-11-02 12:16:03 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2938
Author: @sapk
Created: 11/20/2017
Status: Merged
Merged: 11/28/2017
Merged by: @lafriks

Base: masterHead: git-lfs-lock-api


📝 Commits (10+)

  • 55f5424 Implement routes
  • 80b3ce0 move to api/sdk and create model
  • 144ab60 Implement add + list
  • 3ef7315 List return 200 empty list no 404
  • 8ac2219 Add verify lfs lock api
  • b3ad366 Add delete and start implementing auth control
  • bcd3b39 Revert to code.gitea.io/sdk/gitea vendor
  • 74a04bc Apply needed check for all lfs locks route
  • 82bab1b Add simple tests
  • cc66370 fix lint

📊 Changes

9 files changed (+638 additions, -16 deletions)

View changed files

integrations/api_repo_lfs_locks_test.go (+176 -0)
📝 integrations/mysql.ini.tmpl (+1 -2)
📝 integrations/pgsql.ini.tmpl (+1 -1)
📝 integrations/sqlite.ini (+14 -13)
📝 models/error.go (+57 -0)
models/lfs_lock.go (+146 -0)
📝 models/models.go (+1 -0)
modules/lfs/locks.go (+236 -0)
📝 routers/routes/routes.go (+6 -0)

📄 Description

Resolve #2725


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/2938 **Author:** [@sapk](https://github.com/sapk) **Created:** 11/20/2017 **Status:** ✅ Merged **Merged:** 11/28/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `git-lfs-lock-api` --- ### 📝 Commits (10+) - [`55f5424`](https://github.com/go-gitea/gitea/commit/55f5424797037d6c98ed6f5312c837243f11642e) Implement routes - [`80b3ce0`](https://github.com/go-gitea/gitea/commit/80b3ce0f09c33e189fac74daa1e8b732625158ec) move to api/sdk and create model - [`144ab60`](https://github.com/go-gitea/gitea/commit/144ab60395df50d1dcaa78ba0431f00024bb73b6) Implement add + list - [`3ef7315`](https://github.com/go-gitea/gitea/commit/3ef7315087b925e4b0d227f345d2af6bb9e06207) List return 200 empty list no 404 - [`8ac2219`](https://github.com/go-gitea/gitea/commit/8ac22196a86244d078f5e0f35cb0f86b6682c3db) Add verify lfs lock api - [`b3ad366`](https://github.com/go-gitea/gitea/commit/b3ad36662726cdd1174da9c28630258ec1851aae) Add delete and start implementing auth control - [`bcd3b39`](https://github.com/go-gitea/gitea/commit/bcd3b391cb97d44b18974e5fc1ae763c384381cf) Revert to code.gitea.io/sdk/gitea vendor - [`74a04bc`](https://github.com/go-gitea/gitea/commit/74a04bc1af89ab0841100275e7108af6a45a0897) Apply needed check for all lfs locks route - [`82bab1b`](https://github.com/go-gitea/gitea/commit/82bab1bd634f073db348331e8d4025cd14683785) Add simple tests - [`cc66370`](https://github.com/go-gitea/gitea/commit/cc66370e1fb3b4fc640a5bae7746563ecc5adc50) fix lint ### 📊 Changes **9 files changed** (+638 additions, -16 deletions) <details> <summary>View changed files</summary> ➕ `integrations/api_repo_lfs_locks_test.go` (+176 -0) 📝 `integrations/mysql.ini.tmpl` (+1 -2) 📝 `integrations/pgsql.ini.tmpl` (+1 -1) 📝 `integrations/sqlite.ini` (+14 -13) 📝 `models/error.go` (+57 -0) ➕ `models/lfs_lock.go` (+146 -0) 📝 `models/models.go` (+1 -0) ➕ `modules/lfs/locks.go` (+236 -0) 📝 `routers/routes/routes.go` (+6 -0) </details> ### 📄 Description Resolve #2725 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:16:03 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16672