Instructions for Subversion librarians

This page is intended for Subversion librarians (currently Hubert Degaudenzi, Marco Clemencic, Joel Closier, Marco Cattaneo, Loic Brarda). Documentation for Subversion users is available in SVNUsageGuidelines.

SVNUsageModel

The user categories and common actions are described in SVNUsageModel.

How to give write access

This is restricted action to LHCb Subversion librarians
  • Open the configuration page for the e-group lhcb-svn-writers
  • Select the tab Members
  • Add the new member using the dedicated form
    • be careful to add the member as "Account", since it may happen that the default account associated with the person is not the one he/she wants to use to access the repository
  • The access will be granted automatically by a cron job running twice per day

How to create a new project

See https://twiki.cern.ch/twiki/bin/view/LHCb/AddProject#For_the_Librarian

How to move a package to another project

You can use the script move_package:
$ move_package ThePackage NewProject

How to move a package to another project (obsolete)

  • Copy the package: svn copy -m "moving ThePackage to NewProject" svn+ssh://svn.cern.ch/reps/lhcb/OldProject/trunk/TheHat/ThePackage svn+ssh://svn.cern.ch/reps/lhcb/NewProject/trunk/TheHat/
  • Remove the old package: svn remove -m "ThePackage moved to NewProject" svn+ssh://svn.cern.ch/reps/lhcb/OldProject/trunk/TheHat/ThePackage
  • Update the packages property of svn:
    cd $User_release_area
    svn co -N svn+ssh://svn.cern.ch/reps/lhcb lhcb_repos
    svn pe packages lhcb_repos
    ALERT! It's mandatory to check out a fresh copy of lhcb_repos or update the working copy with svn update before editing the property.
    Move the package from the oldProject to the NewProject in the list, exit the editor and commit the changes
    svn ci -m "moved ThePackage from OldProject to NewProject in the list of packages" lhcb_repos
    rm -r lhcb_repos

-- MarcoClemencic - 16-Dec-2009

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r7 - 2013-06-26 - MarcoCattaneo
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb 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