ADMIRAL Mercurial repository save

From ImageWeb

Jump to: navigation, search

Saving Zakynthos LDAP configuration to Mercurial

We are assuming a local Mercurial repository on zoo-patmos, in directory /var/kvm/hg/admiral-jiscmrd.

  • Go to local Mercurial repository directory on zoo-patmos
ssh user@zoo-patmos.zoo.ox.ac.uk
...
cd /var/kvm/hg/admiral-jiscmrd
sudo su
...
  • Copy files from Zakynthos to local Mercurial repository
mkdir ldapconfig
scp admiral@zakynthos.zoo.ox.ac.uk:/etc/ldap/* ldapconfig
...
Remove key and certificate files, and clean up any temporary files, etc.
  • Add new files to local Mercurial repository
cd 
hg add
  • Commit changes to local Mercurial repository
hg commit -u user
  • Push changes to Google Code Mercurial repository
hg push
... 
(enter Google Code username and password, which can be seen by authorized committers logging in to Google Code and going to the project source tab)
Personal tools
Oxford DMP online
MIIDI
Claros