File:
[LON-CAPA] /
doc /
build /
release_process
Revision
1.2:
download - view:
text,
annotated -
select for diffs
Mon Jan 7 13:57:20 2008 UTC (17 years, 1 month ago) by
raeburn
Branches:
MAIN
CVS tags:
version_2_9_X,
version_2_9_99_0,
version_2_9_1,
version_2_9_0,
version_2_8_X,
version_2_8_99_1,
version_2_8_99_0,
version_2_8_2,
version_2_8_1,
version_2_8_0,
version_2_7_X,
version_2_7_99_1,
version_2_7_99_0,
version_2_7_1,
version_2_7_0,
version_2_6_X,
version_2_6_99_1,
version_2_6_99_0,
version_2_6_3,
version_2_6_2,
version_2_6_1,
version_2_12_X,
version_2_11_X,
version_2_11_6_msu,
version_2_11_6,
version_2_11_5_msu,
version_2_11_5,
version_2_11_4_uiuc,
version_2_11_4_msu,
version_2_11_4,
version_2_11_3_uiuc,
version_2_11_3_msu,
version_2_11_3,
version_2_11_2_uiuc,
version_2_11_2_msu,
version_2_11_2_educog,
version_2_11_2,
version_2_11_1,
version_2_11_0_RC3,
version_2_11_0_RC2,
version_2_11_0_RC1,
version_2_11_0,
version_2_10_X,
version_2_10_1,
version_2_10_0_RC2,
version_2_10_0_RC1,
version_2_10_0,
loncapaMITrelate_1,
language_hyphenation_merge,
language_hyphenation,
bz6209-base,
bz6209,
HEAD,
GCI_3,
GCI_2,
GCI_1,
BZ4492-merge,
BZ4492-feature_horizontal_radioresponse,
BZ4492-feature_Support_horizontal_radioresponse,
BZ4492-Support_horizontal_radioresponse
Some corrections.
1: ----- First checkout a clean version of lon-capa that has just the tth module
2:
3: cvs -d :pserver:XXXXXX@zaphod.lite.msu.edu:/home/cvs co loncapa
4: cd loncapa
5: cvs -d co modules
6: cd modules
7: rm -r [adfgjmprs]* cbi_scripts
8: cd ../..
9:
10: ----- Set the new tag
11:
12: cvs tag version_2_6_X
13:
14: ----- bump the version
15:
16: cd loncom/build
17:
18: # only do this if version_2_6_X is not yet a branch
19: cvs tag -F -b version_2_6_X Makefile
20:
21: cvs update -d -r version_2_6_X Makefile
22: vi Makefile
23: # change CVS_HEAD to 2.5.99.0
24: cvs commit Makefile
25: cd ../..
26:
27: ----- backport the Groups commenting out
28:
29: cd loncom/interface
30:
31: # only do this if version_2_6_X is not yet a branch
32: cvs tag -F -b version_2_6_X lonpickcourse.pm loncreatecourse.pm
33:
34: cvs update -r version_2_6_X lonpickcourse.pm loncreatecourse.pm
35:
36: cvs diff -u -r 1.63 -r 1.63.4.1 lonpickcourse.pm | patch
37: cvs diff -u -r 1.103 -r 1.103.2.1 loncreatecourse.pm | patch
38:
39: cvs commit lonpickcourse.pm loncreatecourse.pm
40:
41: cd ../..
42:
43: ----- check that all files are included
44:
45: cd loncom/build
46: make build
47: make tardist
48: make clean
49: cd ../..
50: find -type f > all_files
51: cat MANIFEST all_files | grep -v CVS | sort | uniq -c | grep -v '^\s*2' > only_one
52: #read through only_one and add missing files to the loncapafiles.lpml
53:
54:
55: ----- build the tarball
56:
57: cd loncom/build
58: make build
59: scp <where the release notes are> ../../README
60: make tardist
61: cd ../..
62: scp loncapa-2.5.99.0.tar.gz root@install.loncapa.org:/home/loninst/public_html/versions/loncapa-2.5.99.0.tar.gz
63: ssh root@install.loncapa.org
64: cd /home/loninst/public_html/versions/
65:
66: # install the tarball on test machines, when things break patch,
67: # move the version_2_6_X tag and repeat the above until the tarball is good.
68:
69:
70: ----- Announce it
71:
72: # tag with final release tag
73: cd loncapa
74: cvs tag version_2_5_99_0
75:
76: # update the release fragment
77: cd loncapa/doc/build
78: vi release.frag
79: cvs commit release.frag
80:
81: ssh zaphod.lite.msu.edu -l root
82: cd /home/loninst/public_html/versions
83: # if this is a testing release
84: rm LATEST-TESTING-IS-*
85: echo 'November 30 2007' > LATEST-TESTING-IS-2.5.99.0
86: rm loncapa-testing.tar.gz
87: ln -s loncapa-2.5.99.0.tar.gz loncapa-testing.tar.gz
88:
89: # else if this is a full release
90: rm LATEST-*
91: echo 'November 30 2007' > LATEST-IS-2.6.0
92: rm loncapa-testing.tar.gz
93: rm loncapa-current.tar.gz
94: ln -s loncapa-2.6.0.tar.gz loncapa-current.tar.gz
95:
96: # rebuild website
97: su loninst
98: /home/loninst/auto/install_web_site_cronjob
99:
100: # check that install.loncapa.org looks right
101: # send email to lon-capa-announce, lon-capa-admin
102:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>