Commit Graph

3 Commits

Author SHA1 Message Date
Jun Wu
d5391483e7 lfs: add a config option to disable LFS object verification
Summary:
The verification also runs client-side and that can cause issues with complex
treemanifest setups.

Therefore turn the verification off by default. It would be enabled on the
server-side.

Reviewed By: phillco

Differential Revision: D9478745

fbshipit-source-id: 299b9180c661023d8e2358eedeae7b5c7d36ab79
2018-08-23 00:35:16 -07:00
Kaley Huang
61aa294522 fix buck test
Summary: fix flaky buck test

Reviewed By: quark-zju

Differential Revision: D9465687

fbshipit-source-id: d27f1b8ed5d8eb0ffe15aa92400afc92dfd8238a
2018-08-22 12:26:02 -07:00
Kaley Huang
9d54d78caa verify LFS blobs were uploaded before push
Summary:
per @[1070541862:quark]'s suggestion, I attempt to add a verification hook that checks LFS blobs were uploaded before push.

The code execution path looks like this:
`command.py: push()` -->
`exchange.py: push()` -->
 ......
 `exchange.py: _pushbundle2()`
 `exchange.py: _pushcheckoutgoing()`
 ......

And I insert the hook in `exchange.py: _pushcheckoutgoing()`

Reviewed By: quark-zju

Differential Revision: D9212199

fbshipit-source-id: 98e016da81f9df85731771b7d486d03848624bcb
2018-08-20 16:51:07 -07:00