Skip to content

Commit

Permalink
Merge branch 'candidate'
Browse files Browse the repository at this point in the history
  • Loading branch information
dalehenrich committed May 10, 2018
2 parents 135c5e0 + 1a3301e commit f890276
Show file tree
Hide file tree
Showing 24 changed files with 1,786 additions and 36 deletions.
24 changes: 19 additions & 5 deletions bin/packing
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ set -e
# one PDF file)
# 6. Archive the zip file and stage for delivery
#
# Alpha1: $ROWAN_PROJECTS_HOME/Rowan/bin/staging v0.0.2-alpha Alpha1.0
# Alpha1: $ROWAN_PROJECTS_HOME/Rowan/bin/packing v0.0.2-alpha Alpha1.0
#
rowan_tag="$1"
jadeite_tag="$2"
Expand Down Expand Up @@ -55,15 +55,29 @@ validate_tag() {
popd
padded_manifest_line "$label" "$theTag" "$theCommit"
}
clone_entire_git_repo() {
# clones the entire git repository including all branches
url="$1"
dir="$2"
# mkdir $dir
git clone --bare $url $dir/.git
pushd $dir
git config --bool core.bare false
git checkout master
popd
}

cd $ROWAN_PROJECTS_HOME/Rowan/packing

rm -rf Rowan Jade RowanSample1 RowanSample2 MANIFEST.TXT Jadeite_runtime_* *.zip

git clone [email protected]:dalehenrich/Rowan.git
git clone [email protected]:ericwinger/Jade.git
git clone [email protected]:dalehenrich/RowanSample1.git
git clone [email protected]:dalehenrich/RowanSample2.git
# Clone Rowan include all branches (complete copy of github repo)
clone_entire_git_repo [email protected]:dalehenrich/Rowan.git Rowan
# Clone Jade, avoid downloading old .exe files ... only need latest runtime dir
git clone --branch master --depth 1 [email protected]:ericwinger/Jade.git
# Clone entire RowanSample1 and RowanSample2 repos
clone_entire_git_repo [email protected]:dalehenrich/RowanSample1.git RowanSample1
clone_entire_git_repo [email protected]:dalehenrich/RowanSample2.git RowanSample2

# rm -rf MANIFEST.TXT Jadeite_runtime_* *.zip

Expand Down
47 changes: 47 additions & 0 deletions bin/rebuild_rowan
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@

set -e

./stopStone
cp product/bin/extent0.dbf extents
rm -rf tranlogs/*.dbf
./startStone

$GEMSTONE/bin/topaz -l << EOF
input $ROWAN_PROJECTS_HOME/Rowan/platforms/gemstone/topaz/3.2.15/install.tpz
errorCount
exit
EOF

$GEMSTONE/bin/topaz -l << EOF
login

run
true
ifTrue: [
#(
'file:$ROWAN_PROJECTS_HOME/Rowan/samples/RowanSample1.ston'
'file:$ROWAN_PROJECTS_HOME/Rowan/samples/RowanSample2.ston'
) do: [:url |
Rowan projectTools clone
cloneSpecUrl: url
gitRootPath: '$ROWAN_PROJECTS_HOME'
useSsh: true.
] ]
%
commit

run
false "set to true to load the projects into the image"
ifTrue: [
#(
'RowanSample1'
'RowanSample2'
) do: [:projectName |
Rowan projectTools load loadProjectNamed: projectName withConfiguration: 'Default'
] ]
%
commit

errorCount
exit
EOF
Loading

0 comments on commit f890276

Please sign in to comment.