[Buildbot-commits] [Buildbot] #1799: Fix pipe symbol with ^ workaround

Buildbot nobody at buildbot.net
Mon Mar 12 03:50:59 UTC 2012


#1799: Fix pipe symbol with ^ workaround
----------------------------+--------------------
Reporter:  todd             |       Owner:
    Type:  defect           |      Status:  new
Priority:  major            |   Milestone:  0.8.+
 Version:  0.8.3p1          |  Resolution:
Keywords:  windows, sprint  |
----------------------------+--------------------
Description changed by dustin:

Old description:

> Class buildbot.steps.vstudio.VC10 can't handle config names with a pipe
> (|) in it, e.g. "Release|Win32".
>
> A workaround is to use buildbpt.steps.shell.ShellCommand and escape the
> pipe with a ^, e.g.:
>
> {{{
> ShellCommand(command=['devenv.com', 'Solution.sln', '/Build',
> 'Release^|Win32'])
> }}}
>

> The following would *not* work, because the ^ is missing:
>
> {{{
> ShellCommand(command=['devenv.com', 'Solution.sln', '/Build',
> 'Release|Win32'])
> }}}
>

> Maybe this workaround can be used to fix this bug. One simple solution
> would be to search for pipes (|) and replace them with ^|.

New description:

 Class buildbot.steps.vstudio.VC10 can't handle config names with a pipe
 (|) in it, e.g. {{{"Release|Win32"}}}.

 A workaround is to use buildbpt.steps.shell.ShellCommand and escape the
 pipe with a {{{^}}}, e.g.:

 {{{
 ShellCommand(command=['devenv.com', 'Solution.sln', '/Build',
 'Release^|Win32'])
 }}}


 The following would *not* work, because the ^ is missing:

 {{{
 ShellCommand(command=['devenv.com', 'Solution.sln', '/Build',
 'Release|Win32'])
 }}}


 Maybe this workaround can be used to fix this bug. One simple solution
 would be to search for pipes {{{|}}} and replace them with {{{^|}}}.

--

-- 
Ticket URL: <http://trac.buildbot.net/ticket/1799#comment:3>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list