ID: |
5363
|
Fixed in: |
|
Issue Date: |
2008-08-23 05:33 AEST
|
Owner: | CVS Support
|
Last Modified: | 2011-05-12 04:03 AEST | Reporter: | Glen Starrett
|
Current Est. | 0.0 hours
| % Complete: | 0.0
|
Status: | NEW /
|
Severity: | enhancement
|
Affected: | 2.5.03
|
Description: | extnt.ini directory parameter could be optional, or could support multiple matches
|
Actions:
|
2008-08-23 05:33 AEST by Glen Starrett - When using extnt.ini to connect, it requires the "directory" (repository) to be
set, and it has to match the repository passed as part of the CVSROOT used.
This information is redundant and shouldn't be required.
>>>>
c:\My_Documents>type "\Program Files\CVS Suite\CVSNT\extnt.ini"
[cvs.cvsnt.org]
protocol=sserver
hostname=cvs.cvsnt.org
directory=/usr/local/cvs
[me]
protocol=sspi
hostname=localhost
; directory=/test
c:\My_Documents>cvs -d :ext:me:/test ls
[extnt] directory not specified in [me] section of extnt.ini
c:\My_Documents>type "\Program Files\CVS Suite\CVSNT\extnt.ini"
[cvs.cvsnt.org]
protocol=sserver
hostname=cvs.cvsnt.org
directory=/usr/local/cvs
[me]
protocol=sspi
hostname=localhost
directory=/test
c:\My_Documents>cvs -d :ext:me:/test ls
Listing modules on server
CVSROOT
OtherStuff
Wproject
junk
stuff
<<<<
I thought for a minute it might be to allow multiple entries for the same host
name, but that doesn't work (e.g. if there are 2 host name sections named
identically with different "directory" entries, apparently only the first is
seen by extnt.exe) |
|
2008-08-28 10:39 AEST by Arthur Barrett - I'm not sure what the correct action 'should' be here, but I certainly agree that the current behaviour
seems odd.
All the documentation in the eBook does show the directory set in extnt.ini and also shows it matching
the CVSROOT though the fact that this is necessary is not clearly spelt out I think does not constitute a
bug.
Changing to "enhancement" and changing summary from "extnt.ini requires directory, and it requires it
to match CVSROOT" to "extnt.ini directory parameter could be optional, or could support multiple
matches".
I suggest that Tony is asked what he originally intended and also ask customers who use it what
function they would prefer or find most beneficial. My gut feel is
1) to make directory optional in extnt.ini
2) use the passed in /path/to/repo when it is not specified in extnt.ini
3) remove the requirement for the CVSROOT path element to correspond with the directory element
|
|
2008-08-29 07:37 AEST by Arthur Barrett - Tony adds:
The directory element is a necessary part of the extnt.ini because that
information isn't passed as part of the :ext: protocol (in fact pretty much all
you get is server name). extnt.exe actually does allow it to be passed in
(making the one in the .ini optional) but there's no actual way to do that from
a cvs client like eclipse (and running extnt from a cvsnt client is a bit
redundant).
It's just a limitation of what :ext: is - it's supposed to invoke ssh or rsh,
which doesn't require that information.
|
|
2011-05-12 05:03 AEST by Glen Starrett - Directory = Repository Alias, would be good to accept "alias" or "repository" as
the parameter for better consistency with the rest of the application. |
|