MSS Code Factory 2.11: Mark Stephen Sobkow's Code Factory   

Prev Documentation Home Next

Building MSS Code Factory 2.11

In this chapter, I'll walk you through the steps required to clone MSS Code Factory 2.11 from github and then build the code. I presume you've already got a running basic MSS Code Factory installation, which implies the you have an msscf directory or symlink in your home directory.

For the sake of argument, we're building version 2.11.10109.

cd msscf/
#
# Clone the web documentation tree and the 2.11 projects
#
git clone https://github.com/msobkow/htdocs
git clone https://github.com/msobkow/cflib_2_11
git clone https://github.com/msobkow/cfcore_2_11
git clone https://github.com/msobkow/cfsec_2_11
git clone https://github.com/msobkow/cfint_2_11
git clone https://github.com/msobkow/cfbam_2_11
git clone https://github.com/msobkow/msscf_2_11
#
# Determine the next release number by checking the 2.10, 2.11, and 2.12
# web documentation for the maximum release number issued so far.
#
cd htdocs/
ls
cd msobkow.github.com/
ls
vi releases-2.10.html releases-2.11.html releases-2.12.html releases-2.11.html releases-2.12.html
#
# Now make notes about the 2.11 and 2.12 releases being planned for this next chunk of work.
# In this case, we're going to be doing releases 2.11.10109 and 2.12.11110.
#
vi releases-2.11.html releases-2.12.html
#
# Edit the version numbers in the code, and do a clean build
#
cd ..
EditVersions211.bash
CleanCFAll211.bash
BuildCFAll211.bash
#
# Once the build is clean, decorate the web documentation with HTML tags
# and check it in to git. Copy the comments to another file somewhere
# as well, so you can use them when checking in the 2.11 modifications.
#
cd htdocs/msscf.sourceforge.net/
ls
vi releases-2.11.html
vi releases-2.12.html
git add .
git commit
git tag -a 2.11.10109-init
git push ; git push --tags
#
# Now check in the 2.11 modifications
#
cd ../..
GitCFAll211.bash add .
GitCFAll211.bash commit --allow-empty
GitCFAll211.bash tag -a 2.11.10109-init
GitCFAll211.bash push ; GitCFAll211.bash push --tags
#
# If you're doing a full release and not just an initial snapshot
# as I just did, this is followed by:
#
ArchiveCFAll211.bash 10109
PackageCFAll211.bash 10109
#
# Then use your favourite file transfer tool to publish your
# 2.11 source archives and installers for download.
#
# Welcome to the power of scripting the command line... :)