Homec4science

Implement a Git LFS link table and basic batch API

Authored by epriestley <git@epriestley.com> on Mar 17 2016, 20:49.

Description

Implement a Git LFS link table and basic batch API

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.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T7789

Differential Revision: https://secure.phabricator.com/D15489

Details

Committed
epriestley <git@epriestley.com>Mar 18 2016, 01:15
Pushed
aubortJan 31 2017, 17:16
Parents
rPH76bfd91fd071: Add icons/colors to Audit transactions
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHf46686ff586d: Implement a Git LFS link table and basic batch API (authored by epriestley <git@epriestley.com>).Mar 18 2016, 01:15