#197 new

subversion don't support non-english environment and multi-line comments.

Reported by Sunteya | December 27th, 2009 @ 05:34 PM

I read the source code of the bob(0.5.0) and found that it supports svn as the scm.
So I updated the projects table scm to svn.
However, I found that the head method can not run on non-english environment. I modified the code so that it can run.

def head
  `LANG=en_US.UTF-8 && svn info #{uri}`.split("\n").detect { |l| l =~ /^Revision: (\d+)/ }

Secondly, I found that it can not read multi-line svn comments, that is my modified the code:

def metadata(rev)
  dump = `svn log --non-interactive --revision #{rev} #{uri}`.split("\n")
  meta = dump[1].split(" | ")

  { "id"        => rev,
    "message"   => dump[3, dump.length - 4].join(";\n"),
    "author"    => meta[1],
    "timestamp" => Time.parse(meta[2]) }

But it seems the current integrity (0.2.2) does not support multi-line comments display on web page.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Automated continuous integration server that doesn't suck.

Shared Ticket Bins

People watching this ticket