プロジェクト

全般

プロフィール

Vote #64239

完了

Pb with CVS Server when CVSROOT does not contain user name

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
SCM_3
対象バージョン:
開始日:
2008/12/06
期日:
進捗率:

0%

予定工数:
category_id:
3
version_id:
2
issue_org_id:
2286
author_id:
3005
assigned_to_id:
0
comments:
2
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
5
ステータス-->[Closed]

説明

Depending on the CVS configuration, it is not mandatory to include a username in the CVSROOT.
For example, a valid CVSROOT is :ext:cvsservername:/cvsdatabase/projects1
With this CVSROOT format, redmine does not import correctly the information from CVS but does not report any error.
When configuring the CVSROOT with a username, :ext:username@cvsservername:/cvsdatabase/projects1, everything goes well.

The problem comes from the file name lib/redmine/scm/adapters/cvs_adapter.rb.
In the regulare expression line 137 root_url.gsub(/:.@[:]+:\d/, ''), the @ should be optional.


journals

I forget one char in the previous description.

The problem comes from the file name lib/redmine/scm/adapters/cvs_adapter.rb.
In the regular expression line 137 root_url.gsub(/^:.*[^:]+:\d*/, ''), the @ should be optional.
--------------------------------------------------------------------------------
Fixed in r2096. Thanks for pointing this out.
--------------------------------------------------------------------------------

Admin Redmine さんがほぼ2年前に更新

  • カテゴリSCM_3 にセット
  • 対象バージョン0.8_2 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0