[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-vcm-dev] Patch: default user names for cvs
|
I think that seeding the list of user names is a good thing and hard-coding
the values is a good start but a mechanism that allowed others to
contribute to the list would be useful. One possibility is an extension
point in the plugin.xml.
I am also interested in the "New->Standard Public Repository". Again, I
think it would be benificial if entries could be contributed to the list of
standard repositories through the plugin.xml or some other mechanism. If I
had this type of capability, I don't think I would need to have the user
name list seeded with anything but the user name (or, to put it another
way, the user name list could be seeded using the usernames from the
standard public repository list).
Michael
"James Moody"
<James_Moody@xxxxxxx> To: platform-vcm-dev@xxxxxxxxxxx
Sent by: cc:
platform-vcm-dev-admin@ Subject: Re: [platform-vcm-dev] Patch: default user names for cvs
eclipse.org
11/22/2002 08:49 AM
Please respond to
platform-vcm-dev
Also note that lots of repositories use "cvs" as the anonymous user
name... perhaps that should be added to your list as well.
Tom Tromey <tromey@xxxxxxxxxx>
Sent by: platform-vcm-dev-admin@xxxxxxxxxxx
11/21/02 11:20 PM
Please respond to platform-vcm-dev
To: platform-vcm-dev <platform-vcm-dev@xxxxxxxxxxx>
cc:
Subject: [platform-vcm-dev] Patch: default user names for
cvs
I find that I almost always use one of three user names when using
CVS: my current login, "anonymous", or "anoncvs". I've found the
appended patch convenient. It sets up defaults for the user name
combo in the new cvs repository wizard.
I'm working on a larger patch that adds a new menu item:
"New->Standard Public Repository". The idea here is that we can make
it very easy for the Eclipse user to check out a project from one of
the common public cvs repositories. Is this something you'd be
interested in?
Tom
Index:
src/org/eclipse/team/internal/ccvs/ui/wizards/ConfigurationWizardMainPage.java
===================================================================
RCS file:
/home/eclipse/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/ConfigurationWizardMainPage.java,v
retrieving revision 1.22
diff -u -r1.22 ConfigurationWizardMainPage.java
---
src/org/eclipse/team/internal/ccvs/ui/wizards/ConfigurationWizardMainPage.java
4 Sep 2002 20:16:35 -0000 1.22
+++
src/org/eclipse/team/internal/ccvs/ui/wizards/ConfigurationWizardMainPage.java
22 Nov 2002 04:03:32 -0000
@@ -290,6 +290,14 @@
}
}
String[] userNames =
settings.getArray(STORE_USERNAME_ID);
+ if (userNames == null) {
+ userNames
= new String[] {
+ System.getProperty("user.name"),
+ "anonymous",
+ "anoncvs"
+ };
+ settings.put(STORE_USERNAME_ID, userNames);
+ }
if (userNames != null) {
for (int
i = 0; i < userNames.length; i++) {
userCombo.add(userNames[i]);
_______________________________________________
platform-vcm-dev mailing list
platform-vcm-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-vcm-dev
_______________________________________________
platform-vcm-dev mailing list
platform-vcm-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-vcm-dev