Page MenuHomePhabricator

Support "changed filename" and "file content" fields for commit content Herald rules
ClosedPublic

Authored by epriestley on Dec 18 2013, 9:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jun 4, 10:59 PM
Unknown Object (File)
Apr 23 2025, 4:29 PM
Unknown Object (File)
Apr 23 2025, 4:22 PM
Unknown Object (File)
Apr 22 2025, 9:20 AM
Unknown Object (File)
Apr 21 2025, 7:05 AM
Unknown Object (File)
Apr 19 2025, 1:24 PM
Unknown Object (File)
Apr 17 2025, 10:26 AM
Unknown Object (File)
Apr 16 2025, 7:33 AM
Subscribers

Details

Summary

Ref T4195. Adds support for diff content rules.

Test Plan

Pushed SVN and Git changes through, saw them generate reasonable transcripts. Mercurial still isn't hooked up to this phase.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

btrahan added inline comments.
src/applications/diffusion/engine/DiffusionCommitHookEngine.php
906

this is un-used

src/applications/diffusion/herald/HeraldPreCommitContentAdapter.php
175

does getFileName include path? (wondering if its always unique?)

src/applications/diffusion/herald/HeraldPreCommitContentAdapter.php
175

Yeah, it's the full path from the repository root.

epriestley updated this revision to Unknown Object (????).Dec 18 2013, 10:16 PM
  • Remove unused variable.