Changes between Version 5 and Version 6 of Doc/SCDB/Git


Ignore:
Timestamp:
Feb 24, 2010, 4:25:36 PM (16 years ago)
Author:
/O=GRID-FR/C=FR/O=CNRS/OU=LAL/CN=Michel Jouvin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/SCDB/Git

    v5 v6  
    3333}}}
    3434
    35 Note that this command can be fairly long to execute depending on the SCDB history. You may want to add `--username xxx` if a specific username must be used to access the SCDB repository.
     35Note that this command can be fairly long to execute depending on the SCDB history. Read `git-svn` help (`git help svn`) for a suggestion using an intermediate Git repository to improve the cloning time if several clones of the SVN repository should be done. You may want to add `--username xxx` if a specific username must be used to access the SCDB repository.
    3636
    3737''Note: `git svn` is using the standard (Perl) SVN API and is thus using the standard SVN credential cache when asked for authentication. You may want to ensure that there is an appropriate credential cached to avoid multiple password prompt. You also need to ensure there is no credential cached for your SVN server that doesn't allow proper access to the configuration database.''
     
    9797{{{
    9898mkdir external
    99 for rep in ant panc saxon svnkit scdb-ant-utils; do git clone -n -s . external/$rep; done
     99for rep in ant panc saxon svnkit scdb-ant-utils; do mkdir external/$rep; git clone -n -s . external/$rep; done
    100100}}}
    101101 * Go into each directory and do the following using the appropriate branch created previously:
     
    110110git checkout ant-1.7.1
    111111}}}
     112 * Add `external` to `.gitignore` in the main directory.
     113
     114''Note: on Windows, the `ln -s` command results in making a file copy as symlinks don't exist on this system. This means that to further update these repository clones may require to redo the `rm` + `ln -s` steps.'
    112115
    113116== Using Git for Everyday Operations == #GitEveryDay