Project

General

Profile

Actions

Patch #4113

closed

Directory listing with CVS v1.11 patch

Patch #4113: Directory listing with CVS v1.11 patch

Added by alexander smishlajev about 17 years ago. Updated almost 5 years ago.

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

Description

Directory listing with CVS SCM uses rls command which was not available in CVS versons prior to 1.12.

Could the CVS adapter use cvs -q -n rlog -R to get the repository contents listing?


Files

cvs_adapter.rb.patch (4.07 KB) cvs_adapter.rb.patch alexander smishlajev, 2009-10-27 11:09

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

  • Status changed from New to Closed
  • Resolution set to Invalid

Closing this defect since RedmineRepositories clearly states that cvs 1.12 is required.
Feel free to submit a patch.

Updated by alexander smishlajev about 17 years ago Actions #2

Well, but the "stable" CVS version still is 1.11, and 1.11 is shipped with the latest production releases of FreeBSD.

The patch is attached.

I admit that the variant requiring CVS version 1.12 is much more effective. Perhaps Redmine could check the cvs version and then choose which code to run?

Updated by Jean-Philippe Lang about 17 years ago Actions #3

  • Tracker changed from Defect to Patch

Updated by Jean-Philippe Lang about 17 years ago Actions #4

  • Subject changed from Repository browsing fails with CVS v1.11 to Directory listing with CVS v1.11 patch
  • Category set to SCM
  • Status changed from Reopened to New

Updated by Gareth Sylvester-Bradley over 16 years ago Actions #5

FWIW, I've now been using this patch successfully for several months to enable repository browsing for our CVS 1.11 server. Thanks!

This week I just needed to tweak the regular expression that parses the revision info very slightly to play nice with patch #6090 to make downloading binary files from a CVS repository work when running Redmine on Windows.

Change line 65 from:

          re_loginfo = "revision ([0-9.]+)\s*\n"
to:
          re_loginfo = "revision ([0-9.]+)\s*\r?\n"

Updated by Go MAEDA almost 5 years ago Actions #6

  • Status changed from New to Closed

Closing this issue because CVS 1.11 is too old.

Actions

Also available in: PDF Atom