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 (14 years, 4 months 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_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.

----- First checkout a clean version of lon-capa that has just the tth module

cvs -d :pserver:XXXXXX@zaphod.lite.msu.edu:/home/cvs co loncapa
cd loncapa
cvs -d co modules
cd modules
rm -r [adfgjmprs]* cbi_scripts
cd ../..

----- Set the new tag

cvs tag version_2_6_X

----- bump the version

cd loncom/build

# only do this if version_2_6_X is not yet a branch
cvs tag -F -b version_2_6_X Makefile

cvs update -d -r version_2_6_X Makefile
vi Makefile
# change CVS_HEAD to 2.5.99.0
cvs commit Makefile
cd ../..

----- backport the Groups commenting out

cd loncom/interface

# only do this if version_2_6_X is not yet a branch
cvs tag -F -b version_2_6_X lonpickcourse.pm loncreatecourse.pm

cvs update -r version_2_6_X lonpickcourse.pm loncreatecourse.pm

cvs diff -u -r 1.63 -r 1.63.4.1 lonpickcourse.pm | patch
cvs diff -u -r 1.103 -r 1.103.2.1 loncreatecourse.pm | patch

cvs commit lonpickcourse.pm loncreatecourse.pm

cd ../..

----- check that all files are included

cd loncom/build
make build
make tardist
make clean
cd ../..
find -type f > all_files
cat MANIFEST all_files | grep -v CVS | sort | uniq -c | grep -v '^\s*2' > only_one
#read through only_one and add missing files to the loncapafiles.lpml


----- build the tarball

cd loncom/build
make build
scp <where the release notes are> ../../README
make tardist
cd ../..
scp loncapa-2.5.99.0.tar.gz root@install.loncapa.org:/home/loninst/public_html/versions/loncapa-2.5.99.0.tar.gz
ssh root@install.loncapa.org
cd /home/loninst/public_html/versions/

# install the tarball on test machines, when things break patch,
# move the version_2_6_X tag and repeat the above until the tarball is good.


----- Announce it

# tag with final release tag
cd loncapa
cvs tag version_2_5_99_0

# update the release fragment
cd loncapa/doc/build
vi release.frag
cvs commit release.frag

ssh zaphod.lite.msu.edu -l root
cd /home/loninst/public_html/versions
# if this is a testing release
   rm LATEST-TESTING-IS-*
   echo 'November 30 2007' > LATEST-TESTING-IS-2.5.99.0
   rm loncapa-testing.tar.gz
   ln -s loncapa-2.5.99.0.tar.gz loncapa-testing.tar.gz

# else if this is a full release
   rm LATEST-*
   echo 'November 30 2007' > LATEST-IS-2.6.0
   rm loncapa-testing.tar.gz
   rm loncapa-current.tar.gz
   ln -s loncapa-2.6.0.tar.gz loncapa-current.tar.gz

# rebuild website
su loninst
/home/loninst/auto/install_web_site_cronjob

# check that install.loncapa.org looks right
# send email to lon-capa-announce, lon-capa-admin


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>