Community
Participate
Working Groups
Currently when a CVS user has no update access to a repository, he can't connect to this repository. Since this right is only needed to find module names, but not to work with the files stored in the repository, there should be a way to specify the module name explicitly. The best solution would be a CVS connection wizard (see following quote from the eclipse newsgroup). James Moody (James_Moody@oti.com) wrote: > An ideal solution would be a "Checkout" wizard into which you can type > the connection information and the name of the module to checkout, along > with an optional tag, and the Finish button would check out this module. > No browsing necessary, and this will work even if you don't have update > access. If you would like such a feature, please log a feature request > to bugzilla (dev.eclipse.org/bugs) in the VCM component. > > > Of course it would be useful only if an interesting portion of Eclipse users > > have to deal with CVS repositories that do not allow anonymous users to > > update. > > I think such a wizard as I describe would be useful for lots of people, > in the same way as having some of the basic cvs commands available in > the team menu are useful. It's a lot faster to type the module and tag > into a wizard and hit Finish than it is to navigate a (possibly slow) > tree which displays the repository, drill down into the right version, > find the module I want, and check it out. If you know what you want, > it's faster just to type it in.
Is update access only restricted at the root level of the repository. In other words, once a project is checked out, can the user perform updates to get the latest from HEAD?
I must admit that I'm a CVS dummy. What I know is that I have rights to checkout a specific module (HEAD or by tag) and even to checkin changes within that module (using WinCVS). So probably only the root level access is disallowed. My problems occur when I work on the open source (sub-)project http://edutella.jxta.org; if you are interested I could manage giving you a CVS account for testing purposes. Unfortunately I don't have any influence on CVS administration.
We have just released the ability to share a local project with an existing remote project. This will allow you to checkout your project by performing the following steps. 1) Create an empty local project (of the proper type) 2) Choose Team/Share Project 3) Select or enter your repository information 4) On the next wizard page enter the module path if it differs from the project name 5) Click finish 6) Select which tag to sync with (most likely HEAD) 7Z) cathc up to the incoming additions from the remotely existing project
With build 20020520 this works already for me with one minor annoyance: When I add a directory to the repository, it is added, but the add of the first file contained in the directory always fails. When I try again to add the files to the repository, the add succeeds. This may be a server problem, but I never get any problems when doing the same using the commmand line cvs. Let me add that I'm quite excited to be able using eclipse for cvs versioning now. This is a quantum leap in efficiency and convenience compared to plain cvs. Thanks for your efforts. This is a sample cvs console output: *** cvs add "src" "src/net" "src/net/jxta" "src/net/jxta/edutella" "src/net/jxta/edutel la/ecdm" Directory /cvs/edutella/src added to the repository Directory /cvs/edutella/src/net added to the repository Directory /cvs/edutella/src/net/jxta added to the repository Directory /cvs/edutella/src/net/jxta/edutella added to the repository 3 file(s) commited Processing log script arguments... Mailing the commit message to cvs@edutella.jxta.org (from wsjxta@jxta.org) Directory /cvs/edutella/src/net/jxta/edutella/ecdm added to the repository ok (took 0:01.182) *** *** cvs add - ko "src/net/jxta/edutella/ecdm/RDFReifiedStatement.java" "src/net/jxta/edutella /ecdm/EduLiteral.java" "src/net/jxta/edutella/ecdm/EduRule.java" "src/net/jxta/ edutella/ecdm/EduResultSet.java" "src/net/jxta/edutella/ecdm/EduResult.java" "s rc/net/jxta/edutella/ecdm/EduStatementLiteral.java" "src/net/jxta/edutella/ecdm /EduQuery.java" "src/net/jxta/edutella/ecdm/EduVariableBinding.java" "src/net/j xta/edutella/ecdm/ECDMException.java" "src/net/jxta/edutella/ecdm/RDFModel.java " "src/net/jxta/edutella/ecdm/EduResultTuple.java" "src/net/jxta/edutella/ecdm/ EduConditionLiteral.java" cvs [server aborted]: received broken pipe signal cvs server: Invalid reply from auth server (wsjxta) looking for (DONE) failed due to a server error (took 0:00.651) ***
It looks like the server is running a script on add. There are two possiblities here. Either the script doesn't like the "-ko" option or the script can't handle multiple commands being issued over the same connection (more likely since it would explain why it succeeded the next time). For the first, could you try a "cvs add -ko filename" with the command line client to ensure that it actually does work. For the second, perhaps we could investigate adding a preference which will use a single command to do all the adds.
add -ko works on the command line. Your guess that the server runs a script on add is most probably correct, because all changes to cvs are automatically mailed to a cvs mailing list. You may as well close this feature request; for me it works good enough, I just wanted to bring this behaviour to your attention.
We will keep it open to revisit post 2.0, since you kindly indicate you can manage with current behaviour.
(Correcting milestone to F2)
With F3 (maybe also earlier versions, I didn't try for a while) it isn't possible anymore to use 'Check Out As...'. 'Check out as Project' works, but this doesn't allow creation of a Java project. I wonder why CVS is handled differently here.
Reopening
*** This bug has been marked as a duplicate of 15490 ***