Page MenuHomePhabricator

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

Authored by epriestley on Nov 9 2013, 2:31 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 28, 9:21 AM
Unknown Object (File)
Wed, Dec 25, 5:16 PM
Unknown Object (File)
Sat, Dec 21, 1:30 PM
Unknown Object (File)
Fri, Dec 20, 7:25 PM
Unknown Object (File)
Wed, Dec 11, 11:55 PM
Unknown Object (File)
Sun, Dec 8, 11:19 PM
Unknown Object (File)
Sun, Dec 8, 11:19 PM
Unknown Object (File)
Sun, Dec 8, 11:19 PM
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.