Changes between Initial Version and Version 1 of Procedures/DeliveryCreation/rsync


Ignore:
Timestamp:
May 28, 2010 8:44:40 PM (9 years ago)
Author:
mggr
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Procedures/DeliveryCreation/rsync

    v1 v1  
     1------------------
     2
     3= R-Syncing =
     4 
     5Once the delivery has been checked (and corrected if necessary), the project directory (all of it, not just the delivery) should be r-synced back to the repository (the ~arsf/arsf_data/... copy). [[BR]]
     6[[BR]]Check there is enough room in the repository beforehand. If not, put a note in the ticket and remember to r-sync it when there is room and record on the ticket when you have done so.
     7
     8'''Before r-syncing, please tidy your project (use proj_tidy.sh) according to the layout detailed [wiki:Processing/FilenameConventions here] and delete any unnecessary files.'''
     9
     10 1. su to arsf
     11 1. cd to the relevant project directory under ~arsf/arsf_data/
     12 1. Run rsync -rptgoDv --dry-run <processing_directory>/ ./
     13e.g.
     14{{{
     15rsync -rptgoDv --dry-run /users/rsg/airborne/workspace/IPY09_10-2009_217_Russell/ ./  [--exclude "<pattern>"]
     16}}}   
     17   * Note trailing slashes on the <processing_directory>/ and ./ - these are important
     18
     19 4. If there are any files in the list that shouldn't be rsynced back (eg. screenshots in the wrong place, test scripts, SYMLINKS), either delete them or take them out of the rsync by adding --exclude "<pattern>" e.g. --exclude "leica/raw_laser" Then re-run the dry-run rsync and check that the files to be excluded are no longer in the list.
     20   * It is critical not to copy "eagle", etc symlinks back to the archive as you'll overwrite the raw data! The above command should not copy any symlinks over but DOUBLE CHECK the dry-run list.
     21   * Careful not to --exclude 'dem' else the dem directory in the delivery folder will not be rsynced. Use "--exclude '/dem'" instead.
     22   * Yes, we do need to script this, but very carefully..
     23 5. Once you're happy with the list of files to be copied to the repository, re-run the rsync command without the --dry-run argument - this will actually copy the files.
     24 6. Put a comment in the ticket to say where you've rsynced the files back to and on what date.
     25
     26----------------------------------------------
     27
     28The delivery is now ready to be [wiki:Procedures/EndUserDelivery sent].