Page MenuHomePhabricator

Add `urisprintf()` for encoded printing of URIs
ClosedPublic

Authored by epriestley on Nov 9 2013, 2:31 AM.
Tags
None
Referenced Files
F13051314: D7538.id17015.diff
Fri, Apr 19, 3:28 AM
F13051313: D7538.id17014.diff
Fri, Apr 19, 3:28 AM
F13051312: D7538.id17011.diff
Fri, Apr 19, 3:28 AM
F13051311: D7538.id.diff
Fri, Apr 19, 3:28 AM
Unknown Object (File)
Thu, Apr 11, 4:39 AM
Unknown Object (File)
Fri, Apr 5, 10:35 PM
Unknown Object (File)
Fri, Apr 5, 6:29 AM
Unknown Object (File)
Sat, Mar 30, 11:35 AM
Subscribers

Details

Summary

Ref T1049. This is primarily to enable us to do a reasonable job of variable replacement in "Request URI" Harbormaster build steps. For example, the user will enter:

http://jenkins.mycompany.com/?diff=${buildable.name}

...which we'll transform to:

http://jenkins.mycompany.com/?diff=%s

...and then build correctly.

Test Plan

Unit tests.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley updated this revision to Unknown Object (????).Nov 9 2013, 2:40 AM
  • Add a v version too, so the implementation can mirror the RemoteCommand one more closely.