-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #161: add gemnetid line to generated
.topazini
file during cr…
…eateStone. The gemnetid specifies the name of the netldi to use when logging in. Makes it unnecessary to use `-l` whenever running `startTopaz`
- Loading branch information
1 parent
13a849a
commit 70a2e41
Showing
10 changed files
with
52 additions
and
25 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
...ckage/GsDevKitAbstractCommandLineHandler.class/instance/serverTodeSysLocalServerStones.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
serverTodeSysLocalServerStones | ||
^ self serverTodeSysLocalServer / 'stones' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...package/GsDevKitAbstractStoneCommandLineHandler.class/instance/createSysLocalStonesLn..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
actions | ||
createSysLocalStonesLn: stoneDirectory | ||
| sysLocalStonesStoneStoneNameDir todeLnName | | ||
todeLnName := 'tode'. | ||
sysLocalStonesStoneStoneNameDir := self serverTodeSysLocalServerStones / self stoneName. | ||
Transcript | ||
cr; | ||
tab; | ||
show: 'Creating ' , todeLnName , ' symbolic link to ' , sysLocalStonesStoneStoneNameDir pathString. | ||
OSProcess | ||
command: 'ln -sf ' , sysLocalStonesStoneStoneNameDir pathString , ' ' , (stoneDirectory / todeLnName) pathString |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 1 addition & 16 deletions
17
...ine.package/GsDevKitAbstractStoneCommandLineHandler.class/instance/createTopaziniFile..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,3 @@ | ||
actions | ||
createTopaziniFile: stoneDirectory | ||
| topaziniFile | | ||
Transcript | ||
cr; | ||
tab; | ||
show: 'Create .topazini file'. | ||
topaziniFile := stoneDirectory / '.topazini'. | ||
FileStream | ||
forceNewFileNamed: topaziniFile | ||
do: [ :stream | | ||
stream | ||
nextPutAll: 'SET GEMSTONE ' , self stoneName; | ||
lf; | ||
nextPutAll: 'set user ', self gemstoneUserId; | ||
lf; | ||
nextPutAll: 'set password ', self gemstonePassword; | ||
lf ] | ||
self createTopaziniFile: stoneDirectory sessionDescription: nil |
23 changes: 23 additions & 0 deletions
23
...tAbstractStoneCommandLineHandler.class/instance/createTopaziniFile.sessionDescription..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
actions | ||
createTopaziniFile: stoneDirectory sessionDescription: aSessionDescriptionOrNil | ||
| topaziniFile | | ||
Transcript | ||
cr; | ||
tab; | ||
show: 'Create .topazini file'. | ||
topaziniFile := stoneDirectory / '.topazini'. | ||
FileStream | ||
forceNewFileNamed: topaziniFile | ||
do: [ :stream | | ||
stream | ||
nextPutAll: 'SET GEMSTONE ' , self stoneName; | ||
lf; | ||
nextPutAll: 'set user ' , self gemstoneUserId; | ||
lf; | ||
nextPutAll: 'set password ' , self gemstonePassword; | ||
lf. | ||
aSessionDescriptionOrNil | ||
ifNotNil: [ | ||
stream | ||
nextPutAll: 'set gemnetid ' , aSessionDescriptionOrNil gemNRS; | ||
lf ] ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
shared/repos/todeClient/GsDevKit-CommandLine.package/monticello.meta/version
Large diffs are not rendered by default.
Oops, something went wrong.