Skip to content

Commit

Permalink
Issue #260: add two new tODE scripts that synchronize the filetree an…
Browse files Browse the repository at this point in the history
…d tonel script packages ... to be used during tODE-based development ... update the stone creation scripts to make sure that the tODE scripts are mounted into the tODE dev environment [ci skip]
  • Loading branch information
dalehenrich committed Oct 24, 2019
1 parent 9488274 commit 738e4ba
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ startStone $GEMSTONE_NAME # in 3.5.1 snapshot up above

$ROWAN_PROJECTS_HOME/GsDevKit_launcher/bootstrapping/gemstone/bin/bootstrap_install_scripts.tpz $GEMSTONE_NAME -lq

todeIt $GEMSTONE_NAME mount @/sys/stone/dirs/GsDevKit_launcher/shared/repos/GsDevKit_launcher/tode /home gsdevkit_launcher

Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ newExtent -t -s snapshots/extent0.tode.dbf $GEMSTONE_NAME

$ROWAN_PROJECTS_HOME/GsDevKit_launcher/bootstrapping/gemstone/bin/bootstrap_install_tode.tpz $GEMSTONE_NAME -lq
$ROWAN_PROJECTS_HOME/GsDevKit_launcher/bootstrapping/gemstone/bin/bootstrap_install_scripts.tpz $GEMSTONE_NAME -lq

todeIt $GEMSTONE_NAME mount @/sys/stone/dirs/GsDevKit_launcher/shared/repos/GsDevKit_launcher/tode /home gsdevkit_launcher

Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
TDScriptLeafNode{#name:'copyTonelScriptsToFiletree',#contents:'[ :topez :objIn :tokens :command :commandNode |
| opts args |
\"for help: ./copyTonelScriptsToFiletree -h\"
command
getOptsMixedLongShort: {#(\'help\' $h #\'none\')}
optionsAndArguments: [ :options :operands |
opts := options.
args := operands ].
opts
at: \'help\'
ifAbsent: [ GdkL_CopyScriptClasses copyTonelToFiletree ]
ifPresent: [ :ignored |
TDManPage
viewManPage:
\'NAME
copyTonelScriptsToFiletree - copyTonelScriptsToFiletree script utility template
SYNOPSIS
copyTonelScriptsToFiletree [-h|--help]
DESCRIPTION
Copy the tonel script classes to the filetree package.

To be used when manual edits have been made to the tonel scripts.
EXAMPLES
./copyTonelScriptsToFiletree --help
./copyTonelScriptsToFiletree -h
\'
topez: topez ] ]',#creationTime:DateAndTime['2019-10-24T10:18:08.695271015167236-07:00'],#modificationTime:DateAndTime['2019-10-24T10:25:39.14751696586609-07:00']}
37 changes: 37 additions & 0 deletions shared/repos/GsDevKit_launcher/tode/saveScripts.ston
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
TDScriptLeafNode{#name:'saveScripts',#contents:'[ :topez :objIn :tokens :command :commandNode |
| opts args |
\"for help: ./saveScripts -h\"
command
getOptsMixedLongShort: {#(\'help\' $h #\'none\')}
optionsAndArguments: [ :options :operands |
opts := options.
args := operands ].
opts
at: \'help\'
ifAbsent: [
\"
\t\tSave the filetree scripts package, then copy the script classes to the tonel package.
\t\tSince we are writing to a metadataless repository, the version name commit message are
\t\tnot written to disk.
\"
topez
evaluateCommandString:
\'mc save gsdevkit_launcher-Scripts gsdevkit_launcher-Scripts-xxx.0 filetree://$GS_HOME/shared/repos/GsDevKit_launcher/rowan/src `dummy message`\'.
GdkL_CopyScriptClasses copyFileTreeToTonel ]
ifPresent: [ :ignored |
TDManPage
viewManPage:
\'NAME
saveScripts - saveScripts script utility template
SYNOPSIS
saveScripts [-h|--help]
DESCRIPTION
Save the gsdevkit_launcher-Scripts package to the filetree script package and
copy the filetree classes to the tonel script package.

To be used after making in image changes to the script classes.
EXAMPLES
./saveScripts --help
./saveScripts -h
\'
topez: topez ] ]',#creationTime:DateAndTime['2019-10-24T10:08:21.52523899078369-07:00'],#modificationTime:DateAndTime['2019-10-24T10:28:21.8267650604248-07:00']}

0 comments on commit 738e4ba

Please sign in to comment.