[Buildbot-commits] [Buildbot] #2375: SVN._sourcedirIsUpdatable checks for locale-dependant string and fails on French and Norvegian
Buildbot
nobody at buildbot.net
Thu Sep 27 18:17:07 UTC 2012
#2375: SVN._sourcedirIsUpdatable checks for locale-dependant string and fails on
French and Norvegian
--------------------+-----------------------
Reporter: Quentin | Owner:
Type: defect | Status: new
Priority: minor | Milestone: undecided
Version: 0.8.7 | Keywords:
--------------------+-----------------------
`svn info` outputs information about the current repository, which
includes this line: `URL: svn://`. SVN._sourcedirIsUpdatable()
[https://github.com/buildbot/buildbot/blob/master/master/buildbot/steps/source/svn.py#L248
checks] that this URL corresponds to the actual URL, and uses this regex:
`^URL:\s*(.*?)\s*$`.
Unfortunately, in French and Norvegian, this doesn't work since the
respectly use "URL : %s\n" and "Nettadresse: %s\n" as you can see in the
[https://svn.apache.org/repos/asf/subversion/trunk/subversion/po/ po
files]. I had to switch to an en_US locale to make the "updatable check"
work.
Thanks.
--
Ticket URL: <http://trac.buildbot.net/ticket/2375>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list