Page MenuHomePhabricator

Provide a real object ("PhabricatorRepositoryPushEvent") to represent an entire push transaction
ClosedPublic

Authored by epriestley on Mar 26 2014, 2:58 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 12, 12:12 AM
Unknown Object (File)
Tue, Sep 10, 8:24 PM
Unknown Object (File)
Fri, Sep 6, 3:37 PM
Unknown Object (File)
Wed, Sep 4, 5:17 PM
Unknown Object (File)
Mon, Aug 26, 1:15 PM
Unknown Object (File)
Mon, Aug 26, 1:05 AM
Unknown Object (File)
Sun, Aug 25, 12:25 AM
Unknown Object (File)
Wed, Aug 21, 5:47 PM
Subscribers

Details

Summary

Ref T4677. Currently, we record individual actions in a push as PhabricatorRepositoryPushLogs, but tie them together only loosely with a transactionKey.

Provide a real PushEvent object, and move some of the denormalized fields to it. This primarily just gives us more robust infrastructure for building, e.g., email about pushes, for T4677, since we can act on real PHIDs rather than passing awkward identifiers around.

Test Plan
  • Performed migration.
  • Looked at database for consistency.
  • Browsed/queried push logs.
  • Pushed a bunch of stuff.

Diff Detail

Repository
rP Phabricator
Branch
pushlog1
Lint
Lint Passed
Unit
Tests Passed

Event Timeline

epriestley retitled this revision from to Provide a real object ("PhabricatorRepositoryPushEvent") to represent an entire push transaction.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Mar 26 2014, 6:05 PM
epriestley updated this revision to Diff 20450.

Closed by commit rPa5f55d506f46 (authored by @epriestley).