Homec4science

Rough cut of DrydockRepositoryOperation

Authored by epriestley <git@epriestley.com> on Oct 14 2015, 00:46.

Description

Rough cut of DrydockRepositoryOperation

Summary:
Ref T182. This doesn't do anything interesting yet and is mostly scaffolding, but here's roughly the workflow. From previous revision, you can configure "Repository Automation" for a repository:

{F875741}

If it's configured, a new "Land Revision" button shows up:

{F875743}

Once you click it you get a big warning dialog that it won't work, and then this shows up at the top of the revision (completely temporary/placeholder UI, some day a nice progress bar or whatever):

{F875747}

If you're lucky, the operation eventually sort of works:

{F875750}

It only runs git show right now, doesn't actually do any writes or anything.

Test Plan:

  • Clicked "Land Revision".
  • Watched phd debug task.
  • Saw it log git show to output.
  • Verified operation success in UI (by fiddling URL, no way to get there normally yet).

Reviewers: chad

Reviewed By: chad

Subscribers: revi

Maniphest Tasks: T182

Differential Revision: https://secure.phabricator.com/D14266

Details

Committed
epriestley <git@epriestley.com>Oct 14 2015, 00:46
Pushed
aubortJan 31 2017, 17:16
Parents
rPHdf5a031b54a5: Allow "Repository Automation" to be configured for repositories
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHb4af57ec51e1: Rough cut of DrydockRepositoryOperation (authored by epriestley <git@epriestley.com>).Oct 14 2015, 00:46