Page MenuHomePhabricator

Allow Harbormaster build plans to request additional working copies
ClosedPublic

Authored by epriestley on Sep 28 2015, 11:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 14, 3:13 AM
Unknown Object (File)
Tue, Dec 10, 8:56 AM
Unknown Object (File)
Wed, Dec 4, 5:16 PM
Unknown Object (File)
Wed, Dec 4, 5:15 PM
Unknown Object (File)
Wed, Dec 4, 5:15 PM
Unknown Object (File)
Wed, Dec 4, 4:58 PM
Unknown Object (File)
Wed, Nov 20, 12:29 PM
Unknown Object (File)
Wed, Nov 20, 12:29 PM
Subscribers
None

Details

Summary

Ref T9123. To run upstream builds in Harbormaster/Drydock, we need to be able to check out libphutil, arcanist and phabricator next to one another.

This adds an "Also Clone: ..." field to Harbormaster working copy build steps so I can type all three repos into it and get a proper clone with everything we need.

This is somewhat upstream-centric and a bit narrow, but I don't think it's totally unreasonable, and most of the underlying stuff is relatively general.

This adds some more typechecking and improves data/type handling for custom fields, too. In particular, it prevents users from entering an invalid/restricted value in a field (for example, you can't "Also Clone" a repository you don't have permission to see).

Test Plan

Restarted build, got a Drydock resource with multiple repositories in it.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Allow Harbormaster build plans to request additional working copies.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.

Specifically, you just get this nice little field that you can type repositories into:

Screen Shot 2015-09-28 at 4.44.34 PM.png (520×1 px, 52 KB)

chad edited edge metadata.
This revision is now accepted and ready to land.Sep 29 2015, 12:56 AM
This revision was automatically updated to reflect the committed changes.