Updating a Baselibs Component: Difference between revisions

Initial add. Not yet wikified.
 
m Wikify first section
Line 1: Line 1:
== Process of Importing A New Component to Baselibs ==
== Process of Importing A New Component to Baselibs ==


1. In a temporary directory (ImportCheckout) checkout:
This example document will detail the process that was used importing NCO 4.2.3 into GMAO Baselibs.


  $ bcvs co Baselibs
=== Set up the new tag ===


2. Move into checkout:
In this case, we were adding NCO 4.2.3 to GMAO-Baselibs-3_3_0. So, the "internal" tag we went to was 3_3_1. In a temporary directory (say, ImportCheckout) you checkout Baselibs and tag relative so you know where you started from. You also make sure the tag you're making doesn't exist:


  $ cd /gpfsm/dswdev/mathomp4/Baselibs/ImportCheckout
  $ bcvs co Baselibs
   $ cd Baselibs/src
   $ cd Baselibs/src
3. Tag current state:
   $ bcvs tag -r GMAO-Baselibs-3_3_0 Internal-3_3_1-before-NCO-4_2_3
   $ bcvs tag -r GMAO-Baselibs-3_3_0 Internal-3_3_1-before-NCO-4_2_3
 
3b. Untag Internal-3_3_1 (just in case)
   $ bcvs tag -d Internal-3_3_1
   $ bcvs tag -d Internal-3_3_1


---------
=== Importing NCO 4.2.3 ===
NCO 4.2.3
---------


4. Move to /gpfsm/dswdev/mathomp4/Baselibs/NewImports
4. Move to /gpfsm/dswdev/mathomp4/Baselibs/NewImports