Page MenuHomePhabricator

Implement a Git LFS link table and basic batch API
ClosedPublic

Authored by epriestley on Mar 17 2016, 8:33 PM.
Tags
None
Referenced Files
F19074047: D15489.id37338.diff
Dec 1 2025, 4:06 AM
F18966274: D15489.diff
Nov 14 2025, 7:01 PM
F18852539: D15489.id.diff
Oct 31 2025, 9:55 AM
F18849835: D15489.diff
Oct 30 2025, 12:30 PM
F18818245: D15489.id.diff
Oct 21 2025, 10:30 PM
F18811384: D15489.diff
Oct 20 2025, 3:04 AM
F18789776: D15489.diff
Oct 15 2025, 11:06 AM
F18785671: D15489.id37341.diff
Oct 14 2025, 9:19 AM
Subscribers
None

Details

Summary

Ref T7789. This implements:

  • A new table to store the <objectHash, filePHID> relationship between Git LFS files and Phabricator file objects.
  • A basic response to batch commands, which return actions for a list of files.
Test Plan

Ran git lfs push origin master, got a little further than previously:

epriestley@orbital ~/dev/scratch/poemslocal $ git lfs push origin master
Git LFS: (2 of 1 files) 174.24 KB / 87.12 KB                                                                                                                             
Git LFS operation "upload/b7e0aeb82a03d627c6aa5fc1bbfd454b6789d9d9affc8607d40168fa18cf6c69" is not supported by this server.
Git LFS operation "upload/b7e0aeb82a03d627c6aa5fc1bbfd454b6789d9d9affc8607d40168fa18cf6c69" is not supported by this server.

With GIT_TRACE=1, this shows the batch part of the API going through.

Diff Detail

Repository
rP Phabricator
Branch
lfs10
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 11198
Build 13895: Run Core Tests
Build 13894: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Implement a Git LFS link table and basic batch API.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Mar 17 2016, 8:43 PM
This revision was automatically updated to reflect the committed changes.