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

gsUpgrader does not honor locked GLASS1 project on install ... #13

Closed
dalehenrich opened this issue Mar 17, 2015 · 2 comments
Closed

gsUpgrader does not honor locked GLASS1 project on install ... #13

dalehenrich opened this issue Mar 17, 2015 · 2 comments

Comments

@dalehenrich
Copy link
Member

The following loads glass from GitHub, despite the lock:

  GsDeployer
    bulkMigrate: [ 
      Metacello new
        baseline: 'GLASS1';
        repository: 'filetree://${gitRoot}/glass/repository';
        lock ].
  Gofer new
    package: 'GsUpgrader-Core';
    url: 'http://ss3.gemtalksystems.com/ss/gsUpgrader';
    load.
  (Smalltalk at: #'GsUpgrader') upgradeGLASS1
dalehenrich added a commit that referenced this issue Mar 17, 2015
Arrange to check if glass1 is locked ... if so, then get Metacello instance from registry ... otherwise install from default location...
dalehenrich added a commit that referenced this issue Mar 18, 2015
@dalehenrich
Copy link
Member Author

Getting a very odd ========>Server Stack: infinite loop when exiting the batchErrorHandlingDo: block ... apparent Error being thrown when aBlock is exiting ...

---Step 4 of tODE bootstrap process: execute installTode.ws
installTode.ws [0]
batchErrorHandlingDo: [0]
-----Upgrade tODE to latest 0.0.? tag
installTode.ws [1]
installTode.ws [2]
Fetched -> BaselineOfTode-dkh.41 --- github://dalehenrich/tode:v0.0.2/repository [4f14f22:v0.0.2] --- github://dalehenrich/tode:v0.0.2/repository
Loaded -> Tode-Server-TestTestTools-dkh.2 --- github://dalehenrich/tode:v0.0.2/repository [4f14f22:v0.0.2] --- cache
...finished baseline
installTode.ws [4]
Bulk migrate of 0 candidate classes 
    No instance migrations performed.
installTode.ws [5]
batchErrorHandlingDo: [4]
installTode.ws [6][03/23/2015 21:59:32.059 PDT]
  gci login: currSession 1  rpc gem processId 74999 

========>Server Stack: 

========>Server Stack: 

========>Server Stack: 
batchErrorHandlingDo: aBlock
  Transcript
    cr;
    show: 'batchErrorHandlingDo: [0]'.
  aBlock
    on: Error , Halt
    do: [ :ex | 
      Transcript
        cr;
        show: 'batchErrorHandlingDo: [1] ' , ex class printString.
      Transcript
        cr;
        show: 'batchErrorHandlingDo: [2] ' , (GsProcess stackReportToLevel: 50).
      Transcript
        cr;
        show: 'batchErrorHandlingDo: [3] ' , ex description.
      Transcript
        cr;
        show: '========>Server Stack: ' , ex description printString;
        cr;
        show: (GsProcess stackReportToLevel: 500).
      Transcript
        cr;
        show: '========>Client Stack: ';
        cr.
      ex pass ].
  Transcript
    cr;
    show: 'batchErrorHandlingDo: [4]'
"Fourth and final step in tODE installation process: install tODE."

Transcript cr; show: '---Step 4 of tODE bootstrap process: execute installTode.ws'.

Transcript cr; show: 'installTode.ws [0]'.
GsUpgrader batchErrorHandlingDo: [
  Transcript
    cr;
    show: '-----Upgrade tODE to latest 0.0.? tag'.
  GsDeployer bulkMigrate: [
Transcript cr; show: 'installTode.ws [1]'.
    [
Transcript cr; show: 'installTode.ws [2]'.
    Metacello new
      baseline: 'Tode';
      repository: 'github://dalehenrich/tode:0.0.?/repository';
      get;
      load: 'GemStone Dev'.
    ] on: Error , Halt do: [:ex |
Transcript cr; show: 'installTode.ws [3]'.
        GsFile gciLogServer: ex class printString ].
Transcript cr; show: 'installTode.ws [4]'.
 ] .
Transcript cr; show: 'installTode.ws [5]'.
].
Transcript cr; show: 'installTode.ws [6]'.

@dalehenrich dalehenrich reopened this Mar 24, 2015
@dalehenrich
Copy link
Member Author

Okay ... the:

========>Server Stack: 

========>Server Stack: 

========>Server Stack: 

is coming from TodeSession>>logStackRequested: and not related to GsUpgrader class>>batchErrorHandlingDo:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant