This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 29922 - Can not add a CVSROOT for an unavailable server
Summary: Can not add a CVSROOT for an unavailable server
Status: VERIFIED WONTFIX
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 3.x
Hardware: Other Linux
: P3 blocker (vote)
Assignee: Gabriel Tichy
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2003-01-09 21:48 UTC by David-john Burrowes
Modified: 2007-01-04 17:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David-john Burrowes 2003-01-09 21:48:22 UTC
In the "CVS Connection Manager", if I click on Add and then 
fill in information for a CVSROOT, when I click OK it tries 
to log into that server.  if I can't log in, then it won't 
let me add the server.  It seems like I ought to be able to 
add a server even if I can't connect to it at the moment.
Comment 1 Ralph Krueger 2003-01-10 09:04:43 UTC
sorry, reassigning to code subcomponent , since it's not related to
the changelog module.
Comment 2 Martin Entlicher 2003-01-10 09:50:29 UTC
CVS Connection Manager is a GUI upon .cvspass file. You can not add an
entry into .cvspass file unless you can successfully login to the
server.

Why do you need it anyway? You can not work with that connection until
the server is up again?
Comment 3 Jiri Kovalsky 2003-01-10 09:58:16 UTC
I am of the same opinion. Verifying as won't fix, sorry.
Comment 4 David-john Burrowes 2003-01-13 22:13:35 UTC
True, I can't work with the server until it is up again.  On the other
hand, it is unkind to force the user to type the information in a
second time just because the server happens to be down at the time
that they entered the information.

I'm reopening this issue and would like to suggest that you talk with
the Human Interface engineer responsible for the VCS system and get
his opinion about what the right answer here is.

Thanks,
Comment 5 Jiri Kovalsky 2003-01-14 08:03:23 UTC
I am afraid David that it's not pure UI issue. If you give us wrong
password how can we find out that it's not correct ? Do you expect us
to write it to .cvspass file though ? I think this is why Martin
closed the bug.
Comment 6 Martin Entlicher 2003-01-14 08:50:44 UTC
Yes. The problem is, that the content of .cvspass file will not be
correct. There is no way to verify the password, so you might enter
the wrong information. You will run into the problems later when you
would use that server for cvs operations. They will all fail, because
the password will be wrong. You will have to go then to the "CVS
Connection Manager" again.

cvs login does not add the password into .cvspass file as well if the
server is not responding. So our GUI is consistent with the CVS
behavior.

Gabo, can you please write the HIE standpoint to this issue? Thanks.
Comment 7 dmladek 2003-02-10 11:09:31 UTC
I think I view what David wants tell us:-)

Well, if you're simply using command line ....
you'll write yust something like this:

  >$ cvs -d :pserver:USER@cvs.netbeans.org:/cvs login

and if the server is unavailable at this moment, the login' attempt
fails. But because you are using the most powerfull tool in the Word
(command-line;-) hance you could reach it every time you just think it
about, don't you?

so... There is a fact that the cvs binary client doens't support 
prewritting login informaton into .cvspass file, but the tool which is
handling it, it can remember it (like comman-line tool)
so thus our IDE should be at least the same powerfull tool in the Word
and shoudl provide such comfort like cmd-line offers itself.

And you don't need go far away... our ide could remember such stuffs
like a few of last recently used Working directory in mounting CVS
Wizards, etc...

So... What's the problem?


Comment 8 Martin Entlicher 2003-03-01 17:01:58 UTC
> our IDE should be at least the same powerfull tool in the Word and
shoudl provide
> such comfort like cmd-line offers itself.

I'm not sure about this. To fulfill this requirement, you would have
to have Previous and Next buttons in every dialog. This would polute
the UI, waste memory and complicate the whole functionality of the
IDE. IMHO in most cases this is not necessary.
The list of recently used working directories will not be necessary
after we get rid of the mounting process.

So I'm resolvig this as wontfix.
The main reason is, that we can not write the info into .cvspass file
until it's verified with the CVS server.

Comment 9 Jiri Kovalsky 2003-08-04 14:25:11 UTC
Okay, I am verifying this issue hoping that we convinced 
you David. If you still disagree, please try writing this 
request on nbui@netbeans.org mailing list.