Page MenuHomePhabricator

Allow pre-commit adapter to use custom actions
ClosedPublic

Authored by hach-que on Aug 21 2014, 12:58 AM.
Tags
None
Referenced Files
F14034157: D10316.diff
Sat, Nov 9, 10:28 PM
F14021772: D10316.diff
Wed, Nov 6, 12:01 PM
F13984173: D10316.id24974.diff
Sun, Oct 20, 11:28 AM
F13984169: D10316.id24974.diff
Sun, Oct 20, 11:28 AM
F13979637: D10316.id.diff
Sat, Oct 19, 5:36 AM
Unknown Object (File)
Oct 8 2024, 3:03 PM
Unknown Object (File)
Oct 1 2024, 7:16 PM
Unknown Object (File)
Sep 29 2024, 3:11 AM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Commits
Restricted Diffusion Commit
rP2fd395e859bb: Allow pre-commit adapter to use custom actions
Summary

Looks like I missed this when implementing custom actions and hence you can't currently use custom actions on the pre-commit adapters.

Test Plan

Added a custom action to a pre-commit Herald rule.

Diff Detail

Repository
rP Phabricator
Branch
precommit-custom-action
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2379
Build 2383: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

hach-que retitled this revision from to Allow pre-commit adapter to use custom actions.
hach-que updated this object.
hach-que edited the test plan for this revision. (Show Details)
hach-que added a reviewer: epriestley.

Oops. Looks like that just fixes the UI; it doesn't fix the actual triggering of the actions.

hach-que edited edge metadata.

Actually made it work :/

epriestley edited edge metadata.
epriestley added inline comments.
src/applications/diffusion/herald/HeraldPreCommitAdapter.php
127

pht regression :o

This revision is now accepted and ready to land.Aug 28 2014, 12:30 AM
src/applications/diffusion/herald/HeraldPreCommitAdapter.php
127

Ouch, these are missing pht in all the classes; I'll go fix the other adapters up as well.

hach-que edited edge metadata.

Fix pht() in other adapters as well

hach-que updated this revision to Diff 24975.

Closed by commit rP2fd395e859bb (authored by @hach-que).