Table of Contents

Getting the code

(Taken from SvnEGroups)
  • Download and install Subversion.
  • Download and install Eclipse.
  • Download and install Subclipse, an Eclipse plugin to access Subversion.
  • Request access to the Subversion UI/trunk/svn/EGroupsClient repository to either Hugo Hugosson or Manuel Guijarro.
  • Import the SSL Certificates (ask to Alvaro for the cacerts file) to $JAVA_HOME/jre/lib/security/
  • Import the eclipse project from: svn+ssh://svn/reps/ui/trunk/svn/EGroupsClient/.
    • In the Eclipse main window do: Import -> Other -> Checkout Projects from SVN

Installing the program

  • Download and untar the program, [https://twiki.cern.ch/twiki/pub/Main/SvnEgroups/EGroups-jar.tar.bz2][Egroups TAR]]
  • Import the SSL Certificates (ask to Alvaro (me) for the cacerts file) to $JAVA_HOME/jre/lib/security/ END

Usage

  • Command: Egroups
   Welcome to eGroups SVN utility v.1.0
usage: Egroups
 -A,--addEmails                     Add users by their email to an Egroup
 -a,--addUsers                      Add users to an Egroup
    --admEgroup <arg>               group administration Egroup of the
                                    Egroups
 -c,--cvsEgroups                    Create in batch the Egroups for the
                                    cvs actual projects
    --checkAuthz <arg>              Checks a single SVN's authz file
                                    integrity
    --checkEgroup                   Checks a single SVN's group integrity
    --checkSVN                      Check svn group integrity.
 -D,--changeDetails                 Change details of a group
 -d,--deleteEgroups                 Delete egroups
    --egrpDesc <arg>                Description of the egroup
 -G,--viewEgroup                    View the group's details
    --getUsers                      List sers using WinServices GET
    --getUsersSOAP                  List sers using WinServices SOAP
    --group <arg>                   The group
    --groupComment <arg>            Commentary of the Egroup
    --groupList <arg>               List of groups
    --groupOwner <arg>              group owner user of the Egroups
    --groupSelfSubscription <arg>   Group's selfSubscription policy
 -H,--longHelp <arg>                Prints an explanation of a command
 -h,--help                          Prints this help mensage
 -L,--listUsersAFS                  List AFS usernames of the Egroups
 -l,--listUsers                     List users of the Egroups
    --ldap                          Ldap query at public server
 -n,--newEgroup                     Create a new Egropup
    --noMails                       No mails sended
 -p,--passwordAuth <arg>            The password for authentication
    --pLdap                         Ldap query at private server
    --queryUser <arg>               The user for queries
 -r,--removeUsers                   Remove users of an Egroup
 -s,--svnEgroups                    Create in batch the Egroups for the
                                    svn actual projects
    --sendMailLibrarian             Sends or not a mail to the librarian
                                    in case of authz error
 -u,--userAuth <arg>                The user for authentication
    --userList <arg>                List of users
 -v                                 Verbosity
    --verbosityLevel <arg>          Level of verbosity, by default the
                                    lowest

Architecture

There are 4 entry points:
  1. svnEGroups. Creates the groups for all the svn projects.
  2. ldap. Queries the public ldap database.
  3. cernDc. Queries the private ldap database.
  4. newEGroup. Creates a new group, with the given users and name.

* architecture-0.1:
svnEGroups.png

-- AlvaroGonzalezAlvarez - 08 Dec 2008

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatbz2 EGroups-jar.tar.bz2 r3 r2 r1 manage 3757.9 K 2008-12-11 - 12:00 AlvaroGonzalezAlvarez Egroups Program
PDFpdf egroupsPresentation.pdf r1 manage 293.9 K 2008-12-11 - 11:46 AlvaroGonzalezAlvarez Egroups Presentation
PNGpng svnEGroups.png r1 manage 43.2 K 2008-12-10 - 14:34 AlvaroGonzalezAlvarez architecture-0.1
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r5 - 2009-08-05 - AlvaroGonzalezAlvarez
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback