Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-vcm-dev] Patch: default user names for cvs

Interesting.   I had wanted this at one point because I could never spell
"anonymous" correctly :)

On a related note, we had at one point "Connect to dev.eclipse.org" as a
New Connection menu item, which basically primes all the fields in the
connection dialog.  But, we pulled it for 2.0 (and 2.0.1/2.0.2) because its
confusing to the end user when someone like WSAD encorporates our base into
their products.

But I always thought it would be cool to be able to prime the list with
'favorite' places (dev.eclipse.org, source forge, etc).  This goes a little
beyond what Tom's suggested but they seem close in motivation.  An
externalized list that could be primed via a product.ini (or whatever)
would be cool and allow interesting repackaging opportunities.

A find a primed "favorite places" list a bit more compeling that a primed
user name list, but the later is good too.

Kevin




                                                                                                                        
                      "Michael Valenta"                                                                                 
                      <Michael_Valenta@xxxxxx         To:      platform-vcm-dev@xxxxxxxxxxx                             
                      m>                              cc:                                                               
                      Sent by:                        Subject: Re: [platform-vcm-dev] Patch: default user names for cvs 
                      platform-vcm-dev-admin@                                                                           
                      eclipse.org                                                                                       
                                                                                                                        
                                                                                                                        
                      11/22/2002 09:20 AM                                                                               
                      Please respond to                                                                                 
                      platform-vcm-dev                                                                                  
                                                                                                                        
                                                                                                                        




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




_______________________________________________
platform-vcm-dev mailing list
platform-vcm-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-vcm-dev






Back to the top