
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+)/ }
$1.to_s
end
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]) }
end
But it seems the current integrity (0.2.2) does not support multi-line comments display on web page.
Comments and changes to this ticket
-
DorisFalk September 8th, 2020 @ 08:20 AM
Email is the most convenient way of transferring files from one place to the other. In the past when assignment masters there were no computers then at that time fax machines were used for the sharing of files which was very time-consuming. But the problem of people was solved with the invention of electronic email.
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.
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.