stable

Clone or download

Read-only

request #13695: Locks retrieval with Git LFS 2.8.0+ fails

Git LFS v2.8.0+ uses a download token to retrieve the list of locks [0], previously Git LFS was using an upload token. Tuleap was explicitely expects an upload token in this situation (i.e. a write request). Listing the locks and unlocking a file without specifying explicitely the lock ID should work again. [0] https://github.com/git-lfs/git-lfs/pull/3715 Change-Id: I28cea926e497ed8dc2992f229e6c5637044bacf9

Modified Files

Name
M plugins/gitlfs/include/HTTP/LSFAPIHTTPAuthorization.php +25 −10 Go to diff View file
M plugins/gitlfs/include/Lock/Request/LockListRequest.php +2 −2 Go to diff View file
R plugins/gitlfs/phpunit/HTTP/LSFBatchAPIHTTPAuthorizationTest.php Go to diff View file
M plugins/gitlfs/phpunit/Lock/Request/LockListRequestTest.php +23 −7 Go to diff View file