Page MenuHomePhabricator

Add a Herald pre-commit field for detecting LFS usage
ClosedPublic

Authored by epriestley on Dec 13 2017, 1:59 PM.
Tags
None
Referenced Files
F18642344: D18827.diff
Thu, Sep 18, 11:38 PM
F18642323: D18827.diff
Thu, Sep 18, 11:31 PM
F18640425: D18827.diff
Thu, Sep 18, 5:03 PM
F18640414: D18827.diff
Thu, Sep 18, 4:55 PM
F18640397: D18827.diff
Thu, Sep 18, 4:42 PM
F18621733: D18827.diff
Mon, Sep 15, 9:17 AM
F18509208: D18827.id.diff
Fri, Sep 5, 3:17 AM
F18501878: D18827.diff
Thu, Sep 4, 10:01 PM
Subscribers
None

Details

Summary

Depends on D18825. Ref T7789. See PHI131. Allows installs to selectively disable LFS by adding Herald rules to block commits that use LFS.

Test Plan
  • Wrote an LFS rule ("When commit uses git lfs, block commit").
  • Pushed an LFS commit: rejected.
  • Pushed a non-lFS commit: success.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable