/[MITgcm]/MITgcm_contrib/ecco2_web/ecco2.jpl.nasa.gov/website_cvs_notes.txt
ViewVC logotype

Annotation of /MITgcm_contrib/ecco2_web/ecco2.jpl.nasa.gov/website_cvs_notes.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Wed Jul 2 21:38:50 2008 UTC (17 years ago) by dimitri
Branch: MAIN
Changes since 1.1: +18 -2 lines
File MIME type: text/plain
populating ecco2.jpl.nasa.gov

1 dimitri 1.1 Adding this directory and contents to CVS server:
2    
3 dimitri 1.2 ==> after creating MITgcm_contrib/ecco2_web/ecco2.jpl.nasa.gov
4     ==> not discussed here
5 dimitri 1.1
6     cd /home
7     cvs co -d web MITgcm_contrib/ecco2_web/ecco2.jpl.nasa.gov
8     cd web
9     cvs -q up
10 dimitri 1.2 cvs add *.html *.txt favicon.ico
11     cvs -q up
12     cvs commit
13    
14     ==> created a .cvsignore file for files or directories that
15     ==> that should not be visible to CVS
16     ==> make sure to remove file from .cvsignore prior to adding
17     ==> to CVS tree
18    
19     cvs -q up
20     cvs add .cvsignore meetings people products
21     cd meetings
22     cvs -q up
23     cvs add *
24     cd ..
25     cvs -q up
26 dimitri 1.1
27    
28    
29     ==============================================================
30    
31     Benji:
32     we used the following commands to add html files to the
33     MITgcm contrib CVS website :
34    
35    
36     web directory already in CVS:
37     /data1/pictures/www_ecco_group.org
38    
39    
40     create mirror:
41     /data5/ecco2_web_site/MITgcm_contrib/
42    
43     cvs co /MITgcm_contrib/highres_cube/README
44    
45     (important copies the CVS link on to data5)
46    
47     mkdir ecco2_web
48    
49     cvs -q up -> returns a question what to do.
50    
51     cvs add ecco2_web -> add the directory to repository
52     -> be sure if you want the directory name the way it is, it's messy to
53     delete them....
54    
55     repeat:
56    
57     cvs -q up -> ensures that you added the directory
58    
59     cp html files from skylla:/home/web/
60    
61    
62     cvs -q up -> asks for files
63    
64     cvs add *.html -> add all the files in the directory
65    
66     cvs -q up
67    
68     cvs commit -> returns prompt, enter text which appears on the website
69    
70     e.g. starting to populate ecco2_web
71    
72     -----------------------
73    
74     demonstrated how to change a file and add it to the repository:
75    
76     changed the file website_improvements.txt on skylla
77    
78     ask for update
79     cvs -q up -> returned prompt, that the file has changed.
80     cvs add filename
81     cvs commit -> enter text: changes in xyz
82    
83     cvs -q up or check website to see whether changes are online.
84    
85    
86     --------------------------
87    
88    
89    
90    
91    
92     Dimitris CVS Usage Notes
93    
94     =================================================================
95    
96     To check out a clean, latest, working copy
97     (Option -P is needed to remove empty directories):
98     cvs checkout -P MITgcm
99    
100     To do an update, use
101     cvs -q up -d -P
102     to get any new directories.
103    
104     To see what files have changed but without updating:
105     cvs -n update
106    
107     To check out and rename a directory
108     cvs co -d 2005 www.ecco-group.org/ecco_2005_pub.html
109     cvs co -d 2006 www.ecco-group.org/ecco_2006_pub.html
110     cvs co -d 2007 www.ecco-group.org/ecco_2007_pub.html
111     cvs co -d 2008 www.ecco-group.org/ecco_2008_pub.html
112    
113    
114     =================================================================
115    
116     JPL repository:
117    
118     To export a copy without CVS subdirectories:
119     cvs export -D today mitgcmuv
120    
121     To check out a clean, latest, working copy:
122     cvs checkout -P mitgcmuv
123    
124     To checkout or export latest copy from a branch:
125     cvs checkout -r branch_name mitgcmuv
126    
127     To checkout or export a particular version, e.g., that of
128     04/19/99 on branch c19-jpl-dimitri tagged R033099:
129     cvs checkout -D "04/20/99" -r c19-jpl-dimitri mitgcmuv
130     or
131     cvs checkout -r R033099 mitgcmuv
132    
133     To create a branch based the current revision in the working copy:
134     cvs tag -b branch_name
135     cvs update -r branch_name
136    
137     To add a file
138     cvs add file_name
139    
140     To add a binary file
141     cvs add -kb file_name
142    
143     To remove a file
144     cvs remove file_name
145    
146     To check for updates on working directory:
147     cvs update
148    
149     To merge with branch for first time:
150     cvs update -j other_branch
151    
152     For subsequent merges:
153     cvs update -j other_branch:date_of_last_merge -j other_branch
154    
155     To commit changes:
156     cvs commit
157    
158     To import a copy of the code on a vendor branch, merge changes in the main
159     trunk, and tag it (note [-W "... -k 'b'"] is for binary files):
160     cvs import -W "verification/exp2/SS* verification/exp2/*Lev* verification\
161     /exp2/t* verification/exp2/w* verification/exp5/E* verification/exp5\
162     /Q* verification/exp5/SS* verification/exp5/dQ* verification/exp5\
163     /*Lev* verification/exp5/w* -k 'b'" mitgcmuv c19-jpl c19_990824
164     cvs checkout -jc19-jpl:yesterday -jc19-jpl mitgcmuv
165     cvs commit
166     cvs tag c19_990824
167    

  ViewVC Help
Powered by ViewVC 1.1.22