Page MenuHomePhabricator

Allow users to specify names of build steps
ClosedPublic

Authored by hach-que on Jul 4 2014, 3:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 17, 6:49 AM
Unknown Object (File)
Thu, Dec 12, 2:27 PM
Unknown Object (File)
Wed, Dec 11, 5:44 AM
Unknown Object (File)
Mon, Dec 2, 2:36 PM
Unknown Object (File)
Mon, Dec 2, 2:36 PM
Unknown Object (File)
Mon, Dec 2, 2:36 PM
Unknown Object (File)
Mon, Dec 2, 2:30 PM
Unknown Object (File)
Mon, Dec 2, 2:19 PM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Maniphest Tasks
T1049: Implement Harbormaster
Commits
Restricted Diffusion Commit
rPa3d50118e117: Allow users to specify names of build steps
Summary

Ref T1049. This provides a user-configurable name field on build steps, which allows users to uniquely identify their steps. The intention is that this field will be used in D9806 to better identify the dependencies (rather than showing an unhelpful PHID).

Test Plan

Set the name of some build steps, saw it appear in the correct places.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

hach-que retitled this revision from to Allow users to specify names of build steps.
hach-que updated this object.
hach-que edited the test plan for this revision. (Show Details)
hach-que added a reviewer: epriestley.
epriestley edited edge metadata.
epriestley added inline comments.
src/applications/harbormaster/storage/build/HarbormasterBuildTarget.php
105

You can safely just:

if (strlen($this->name)) {
  return $this->name;
}

...to simplify this a little.

src/applications/harbormaster/storage/configuration/HarbormasterBuildStep.php
55

(As above.)

This revision is now accepted and ready to land.Jul 4 2014, 2:53 PM
hach-que edited edge metadata.

Make code nicer as per feedback

hach-que updated this revision to Diff 23565.

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