SVN Repository: https://svn-ccsm-models.cgd.ucar.edu/tools/proc_lnd

  1. setenv REPO https://svn-ccsm-models.cgd.ucar.edu/tools/proc_lnd
  2. svn co $REPO/lnd_diag/trunk ./my_sandbox
  3. Make changes to files
  4. Compare against repository: svn status
  5. Record changes in docs/ChangLog
    1. copy ChangeLog_template to ChangeLog.pending
    2. record changes in ChangeLog.pending
    3. cat ChangeLog.pending ChangeLog > Changelog.new
    4. mv ChangeLog.new ChangeLog
  6. Commit changes: svn commit -m "committing changes"
  7. Tag changes: svn copy $REPO/trunk $REPO/trunk_tags/lnd_diag4.0.10 -m "Tagging changes"

    Externals: adding new obs datasets (bluevista/blueice)

  1. check out obs_data trunk (external files): svn co $REPO/obs_data/trunk ./obs_data_trunk
  2. cd obs_data_trunk
  3. Add new datasets
  4. Update the ChangeLog under docs
  5. commit: svn commit -m "I am committing this"
  6. tag: svn copy $REPO/obs_data/trunk $REPO/obs_data/trunk_tags/obs_data_2.0 -m "tagging changes"

    Step 2 (lnd_diag)

  7. check out diagnostics trunk: svn co $REPO/lnd_diag/trunk ./lnd_diag_trunk
  8. cd lnd_diag_trunk
  9. Edit SVN_EXTERNAL_DIRECTORIES file to point to new obs_data tag
  10. set properties: svn propset svn:externals -F SVN_EXTERNAL_DIRECTORIES .
  11. commit: svn commit
  12. tag: svn copy $REPO/lnd_diag/trunk $REPO/lnd_diag/trunk_tags/lnd_diag3.1.5

    Notes

  • Properties are metadata attached to a file or directory. Externals utilize this property to populate external directories.
  • Web browsers can't see the properties, so CSEG added the file SVN_EXTERNAL_DIRECTORIES that can be see by web browsers for convenience.
  • No labels