Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need to create the extra disk structure expected by tODE #4

Open
dalehenrich opened this issue May 23, 2023 · 3 comments
Open

need to create the extra disk structure expected by tODE #4

dalehenrich opened this issue May 23, 2023 · 3 comments
Assignees

Comments

@dalehenrich
Copy link
Member

tode directory:

lrwxrwxrwx 1 dhenrich smalltalk   62 Apr 18 15:50 tode -> /home/dhenrich/_homes/rogue/_home/sys/local/server/stones/gs_l
rogue:gs_l>ls tode
dirs.ston  home  homeComposition.ston  packages.ston  projectComposition.ston  projects  README.md  repos.ston	upgrade

and backup directory.

These tODE tests are failing:

###########
# Summary #
###########

TDProjectCommandTests
 ✗ #testProjectNew (33ms)
 ✗ #testProjectNewCreateClass (22ms)

TDGemStoneCommandTests
 ✗ #testBuDirectoryCommand (9ms)
 ✗ #testBuRestoreCommand (9ms)
@dalehenrich dalehenrich self-assigned this May 23, 2023
@dalehenrich
Copy link
Member Author

see also dalehenrich/tode#322

dalehenrich added a commit that referenced this issue May 30, 2023
dalehenrich added a commit that referenced this issue May 30, 2023
dalehenrich added a commit that referenced this issue May 31, 2023
…stry= --template=default_seaside --start gs_3.6.6 3.6.6
dalehenrich added a commit that referenced this issue May 31, 2023
dalehenrich added a commit that referenced this issue May 31, 2023
dalehenrich added a commit that referenced this issue May 31, 2023
…the stone directory (i.e., where a .GDKStoneSpec.ston file is located) the --registry and <stone-name> are not required
dalehenrich added a commit that referenced this issue Jun 1, 2023
….. remove from scripts and make sure the spots where GEMSTONE is needed are covered
dalehenrich added a commit that referenced this issue Jun 1, 2023
dalehenrich added a commit that referenced this issue Jun 1, 2023
dalehenrich added a commit that referenced this issue Jun 1, 2023
dalehenrich added a commit that referenced this issue Jun 2, 2023
…ode work to do ... clean up STONES_DATA_HOME definition ... can use customenv to run topaz in stone directory and run solo scripts
dalehenrich added a commit that referenced this issue Jun 3, 2023
…ted. need to create the the stone-specific metadata for tode and create the session description
dalehenrich added a commit that referenced this issue Jun 3, 2023
dalehenrich added a commit that referenced this issue Jun 4, 2023
…. however tODE GUI is not quite happy ... session description issues ...
@dalehenrich
Copy link
Member Author

Did a loadTode.stone with customenv sourced ... and tODE loads, however, using tODE client on remote machine, is logging in, but I get the following project list contents:

aTDMetacelloProjectBrowser
--------------------
|+ FileTree|            28ab532 ^ /tmp/performOnServerInJ9oRfq: 1: git: not found [/tmp/performOnServerInNGVdtp: 1: git: not found]    filetree:///export/bosch1/users/dhenrich/_issue_4/projects/filetree/repository
|+ GLASS1|              35636eb5 ^ /tmp/performOnServerInhIzrls: 1: git: not found [/tmp/performOnServerInWOwH1r: 1: git: not found]   filetree:///export/bosch1/users/dhenrich/_issue_4/projects/glass/repository
|+ Grease|              fbb749f ^ /tmp/performOnServerInn5yO6o: 1: git: not found [/tmp/performOnServerInvD5Tit: 1: git: not found]    filetree:///export/bosch1/users/dhenrich/_issue_4/projects/Grease/repository
|+ Metacello|           b688ffb3 ^ /tmp/performOnServerIn5lbD9q: 1: git: not found [/tmp/performOnServerInRMt4Xp: 1: git: not found]   filetree:///export/bosch1/users/dhenrich/_issue_4/projects/metacello-work/repository
|+ Ston|                733b886 ^ /tmp/performOnServerIn4uiF0o: 1: git: not found [/tmp/performOnServerIneTs6xq: 1: git: not found]    filetree:///export/bosch1/users/dhenrich/_issue_4/projects/ston/repository
|+ Tode|                188d3db71 ^ /tmp/performOnServerIn0r9Cts: 1: git: not found [/tmp/performOnServerInVvTVjs: 1: git: not found]  filetree:///export/bosch1/users/dhenrich/_issue_4/projects/tode/repository
|+ Zodiac|              1ead981 ^ /tmp/performOnServerInL9761r: 1: git: not found [/tmp/performOnServerInTti87o: 1: git: not found]    filetree:///export/bosch1/users/dhenrich/_issue_4/projects/zodiac/repository
|+ PharoCompatibility|                                                                                                                 filetree:///export/bosch1/users/dhenrich/_issue_4/projects/PharoCompatibility/repository
|+ RB|                  e8db8fa ^ /tmp/performOnServerInWkVl7o: 1: git: not found [/tmp/performOnServerInffUWys: 1: git: not found]    filetree:///export/bosch1/users/dhenrich/_issue_4/projects/rb/repository
|+ ZincHTTPComponents|  a459c510 ^ /tmp/performOnServerInIecN3o: 1: git: not found [/tmp/performOnServerInp5PF4q: 1: git: not found]   filetree:///export/bosch1/users/dhenrich/_issue_4/projects/zinc/repository
Gofer                   1.0.5.4 [release]                                                                                              http://seaside.gemtalksystems.com/ss/metacello

PharoCompatibility project is not loaded ... but it seems to be connected to a repository.

The repository paths are valid, but the extraction of the git information fails

dalehenrich added a commit that referenced this issue Jun 5, 2023
… tests are still failing ... need to revamp the tode_shared directory structure
dalehenrich added a commit that referenced this issue Jun 5, 2023
tODE comes up and can be used to work with code (haven't done this extensively),
however the project entry and object/filesystem access code is not functional ...
namely $GS_HOME/sys/default/client/tode-scripts/setUpSys does not run correctly ...

I suspect that there is code on the client that is executed during login
that properly initializes the server ... we've got a properly setup
TDSessionDescription, so we've got all the pieces ... just need to glue
them together properly.
dalehenrich added a commit that referenced this issue Jun 5, 2023
…class used by todeIt script to execute tode commands, so it will have most if not all of the magic needed to properly login ... then we'll see
dalehenrich added a commit that referenced this issue Jun 6, 2023
…dGetOpts, and TodeCommandError was the ticket (to loading cleanly)
dalehenrich added a commit that referenced this issue Jun 6, 2023
…t_stones structure to perform login using TDSessionDescription
dalehenrich added a commit that referenced this issue Jun 6, 2023
…ommands along to remote tODE image ... superDoit does not do well with passing args with embedded spaces, so going with plan B
dalehenrich added a commit that referenced this issue Jul 27, 2023
…jects which is not desirable ... command line handling for 'eval 3+4' is a bit funky at the moment ... but we're getting a resultgit commit -mIssue
dalehenrich added a commit that referenced this issue Jul 28, 2023
…) ... successful load of GsDevKit_stones-GLASS package
dalehenrich added a commit that referenced this issue Jul 28, 2023
dalehenrich added a commit that referenced this issue Jul 28, 2023
dalehenrich added a commit that referenced this issue Jul 28, 2023
…w more commands, before addressing the tODE test failures (run failing tests using --debugGem)
dalehenrich added a commit that referenced this issue Jul 30, 2023
…result is a fair accounting of the the command return value (printString of the object) ... the client forwarder calls may offer access to the actual objects ... worth chasing a bit more
dalehenrich added a commit that referenced this issue Jul 30, 2023
…whole tODE window implementation ... which is not really necessary ... todeIt.solo is to be used to perform operations using tODE commands ... and not provide an interactive experience
dalehenrich added a commit that referenced this issue Jul 30, 2023
dalehenrich added a commit that referenced this issue Aug 1, 2023
…tone ... and it does look like it is the REQUIRED script to populate the tode directory structure correctly ... --repair option is the ticket
@dalehenrich
Copy link
Member Author

Test status as of most recent commit (testProjectBrowse new failure):

--------------------
5 run, 2 passes, 0 expected defects, 0 failures, 3 errors, 0 unexpected passes
  5 tests
TDProjectCommandTests debug: #testProjectBrowse
TDProjectCommandTests debug: #testProjectNew
TDProjectCommandTests debug: #testProjectNewCreateClass

project list output (PharoCompatibility is still not loaded):

aTDMetacelloProjectBrowser
--------------------
|* Tode|              63ba9c9e6 [master]     filetree:///bosch1/users/dhenrich/_git/tode/repository
|FileTree|            28ab532 [gemstone2.4]  filetree:///bosch1/users/dhenrich/_git/filetree/repository
|GLASS1|              d9a8405c [master]      filetree:///bosch1/users/dhenrich/_git/glass/repository
Gofer                 1.0.5.4 [release]      http://seaside.gemtalksystems.com/ss/metacello
|Grease|              0edad88 [master]       filetree:///bosch1/users/dhenrich/_git/Grease/repository
|Metacello|           e3963155 [master]      filetree:///bosch1/users/dhenrich/_git/metacello-work/repository
|RB|                  9e7faee [master]       filetree:///bosch1/users/dhenrich/_git/rb/repository
|Ston|                daadc02 [gemstone]     filetree:///bosch1/users/dhenrich/_git/ston/repository
|ZincHTTPComponents|  90a436b4 [solo]        filetree:///bosch1/users/dhenrich/_git/zinc/repository
|Zodiac|              0cf6770 [gs_master]    filetree:///bosch1/users/dhenrich/_git/zodiac/repository
|PharoCompatibility|                         filetree:///bosch1/users/dhenrich/_git/PharoCompatibility/repository

dalehenrich added a commit that referenced this issue Aug 4, 2023
…up createStone/solo/deleteStone.solo (with tODE load part of createStone.solo) ... todeIt.solo eval 3+4 works ... now need to get the setUpSys_1, validateStoneSysteNodes.stone, setUpSys_2 sequence running; then resume attack on failing tests
dalehenrich added a commit that referenced this issue Aug 5, 2023
…esults in a properly structured tODE directory structure ... major progress
dalehenrich added a commit that referenced this issue Aug 7, 2023
…ctCommandTests>>testProjectNew fails because $GS_SERVER_STONES env var not defined
dalehenrich added a commit that referenced this issue Aug 7, 2023
…from a loadTode.stone called by a .solo script ...
dalehenrich added a commit that referenced this issue Aug 8, 2023
…ests are passing ... TDGemStoneCommandTests remaining
dalehenrich added a commit that referenced this issue Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant