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)
Fri, Nov 22, 3:45 AM
Unknown Object (File)
Sun, Nov 17, 9:07 PM
Unknown Object (File)
Fri, Nov 15, 9:53 AM
Unknown Object (File)
Wed, Nov 13, 6:18 PM
Unknown Object (File)
Sun, Nov 10, 12:10 AM
Unknown Object (File)
Wed, Nov 6, 1:36 AM
Unknown Object (File)
Mon, Nov 4, 8:48 PM
Unknown Object (File)
Oct 22 2024, 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
Branch
step-name
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 1518
Build 1518: [Placeholder Plan] Wait for 30 Seconds

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).