1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-23 05:01:13 +01:00
phorge-phorge/src/applications/harbormaster/step
epriestley ab4d33bede Allow underscores to appear in Harbormaster variable names
Summary:
See PHI859. Ref T13195. The regexp for replacing variables currently does not include underscores.

Include underscores.

I also made a note in T13088: we should (almost certainly?) throw immediately if you try to pass a bogus variable name as a custom parameter, but this is a slightly larger change.

Test Plan:
  - Made an "http request" build plan with `?x=${initiator.phid}&y={$some_variable}`.
  - Added `some_variable` as a parameter to the parameter collection.
  - Before patch: `initiator.phid` was replaced, but `some_variable` was not.
  - After patch: both variables are replaced.

Reviewers: amckinley

Reviewed By: amckinley

Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam

Maniphest Tasks: T13195

Differential Revision: https://secure.phabricator.com/D19645
2018-09-07 09:53:59 -07:00
..
__tests__ Add a bunch of tests for subclass implementations 2015-06-15 18:13:27 +10:00
HarbormasterAbortOlderBuildsBuildStepImplementation.php Add an "Abort Older Builds" build step to Harbormaster 2018-04-17 14:59:47 -07:00
HarbormasterArcLintBuildStepImplementation.php Lump Harbormaster build steps into groups 2015-08-06 04:19:42 -07:00
HarbormasterArcUnitBuildStepImplementation.php Lump Harbormaster build steps into groups 2015-08-06 04:19:42 -07:00
HarbormasterBuildkiteBuildStepImplementation.php Pass commit authorship information to Buildkite 2018-08-27 12:52:11 -07:00
HarbormasterBuildStepImplementation.php Allow underscores to appear in Harbormaster variable names 2018-09-07 09:53:59 -07:00
HarbormasterCircleCIBuildStepImplementation.php Make "phabricator.silent" disable build steps which rely on external services 2018-02-14 11:41:47 -08:00
HarbormasterDrydockCommandBuildStepImplementation.php Put Drydock build steps into their own group in Harbormaster 2015-10-05 15:59:35 -07:00
HarbormasterHTTPRequestBuildStepImplementation.php Make "phabricator.silent" disable build steps which rely on external services 2018-02-14 11:41:47 -08:00
HarbormasterLeaseWorkingCopyBuildStepImplementation.php Fix an issue with incorrect authorization handling in Working Copy build steps 2015-10-30 16:02:35 +00:00
HarbormasterPublishFragmentBuildStepImplementation.php Add harbormaster.createartifact 2015-08-15 07:28:56 -07:00
HarbormasterSleepBuildStepImplementation.php Lump Harbormaster build steps into groups 2015-08-06 04:19:42 -07:00
HarbormasterThrowExceptionBuildStep.php Lump Harbormaster build steps into groups 2015-08-06 04:19:42 -07:00
HarbormasterUploadArtifactBuildStepImplementation.php Remove call to loadDrydockLease 2015-08-18 17:52:55 -07:00
HarbormasterWaitForPreviousBuildStepImplementation.php Slightly simplify the Harbormaster build log API 2016-03-01 15:25:04 -08:00