Project

General

Profile

Actions

Patch #236

closed

Patch for remote cvs server and non-English cvs environment

Patch #236: Patch for remote cvs server and non-English cvs environment

Added by Choi Jong Yoon about 19 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-

Description

Hello.
I made a patch for cvs_adapter.rb

1. patch for remote cvs server
We installed Redmine to a server and this is not a cvs repository server.
so the cvsroot value is like below
:pserver::/home/cvsroot
so we should slice string before '/' in the line 145 of cvs_adapter.rb

this is not obliged to a user for local cvs repository, but is useful for user like me. :-)

2. patch for non-English User
When I want to insert the revision data to MySQL database, I should encode the non-English commit message to UTF-8.
This may be the problem of my environment(Korean), so please check the code !!

Thank you for reading.


Files

patch.txt (1.24 KB) patch.txt Choi Jong Yoon, 2008-02-03 11:01

Related issues 2 (0 open — 2 closed)

Related to Redmine - Defect #3196: Don't properly support encoding of repositories (git)ClosedToshi MARUYAMAActions
Related to Redmine - Defect #2890: CVS fetch changesets for latin1 charsetClosedActions

Updated by Jean-Philippe Lang about 19 years ago Actions #1

Hi,

Concerning 1, I used a different approach (the patch doesn't
work for a local CVS on windows).
I've tested it with a remove CVS, it now works fine as well.

Concerning 2, Setting.repositories_encodings can contain more
than encoding (comma separated). In this case, the patch doesn't
work as only one should be given to iconv.
I'll try to fix it later.

Thanks for the feedback.

Regards

Updated by Toshi MARUYAMA almost 16 years ago Actions #2

  • Category set to SCM

Updated by Toshi MARUYAMA over 15 years ago Actions #3

  • Status changed from New to Closed

I added feature #1735 until r4983.

Actions

Also available in: PDF Atom