[Glass] Upgrade Grease behind firewall

Dale Henrichs via Glass glass at lists.gemtalksystems.com
Mon Jun 27 11:37:30 PDT 2016


I thought that you had already done a $GS_HOME/bin/createStone? ... I 
guess not.

The difference between http://ss3.gemtalksystems.com/ss/gsUpgrader and 
github://GsDevKit/Seaside31:gs_master/repository is that you are going 
to be using https (via curl) ... What is the exact error message?

What did you have to do to make the http: stuff work?

Presumably you need to work some magic to poke holes in the firewall for 
ssh ... if you need to use proxies, there are ways to use proxies from 
within GsDevKit...

As an alternative, you should be able to load Seaside3 from a git 
repository (clone outside your firewall and scp/rsynch inside your 
firewall and then lock the repository) and pretty much avoid ssh access 
altogether...  if you've got tODE installed, there are fewer 
manual/moving parts to make this work, but I don't know what you are 
actually attempting to do, so I can't give too much detailed advice at 
this point in time ...

Dale

On 06/27/2016 10:46 AM, BrunoBB via Glass wrote:
> Hi,
>
> Sorry for so many mails...
>
> we have sort out the problem with (is working now):
> Gofer new
>    package: 'GsUpgrader-Core';
>    url: 'http://ss3.gemtalksystems.com/ss/gsUpgrader';
>    load.
> (Smalltalk at: #GsUpgrader) upgradeGrease.
>
> Now the problem is with:
> GsDeployer deploy: [
>    Metacello new
>      baseline: 'Seaside3';
>      repository: 'github://GsDevKit/Seaside31:gs_master/repository';
>      onLock: [:ex | ex honor];
>      load: 'CI' ].
>
> Trying to install Seaside generate the following error:
> UserDefinedError (AbstractException) >> _signalWith: @6 line 25
> UserDefinedError (AbstractException) >> signal @2 line 47
> MetacelloGemStonePlatform (Object) >> error: @6 line 7
> [] in  ExecBlock2 (MetacelloGemStonePlatform) >>
> downloadJSON:eTagsCache:eTagsKey:username:pass: @13 line 39
> [] in  ExecBlock1 (MetacelloGemStonePlatform) >>
> downloadJSON:eTagsCache:eTagsKey:username:pass: @3 line 90
> LookupError (AbstractException) >> _executeHandler: @4 line 8
> LookupError (AbstractException) >> _signalWith: @1 line 1
> LookupError (AbstractException) >> signal @2 line 47
> Dictionary (Object) >> _error:args: @16 line 11
> Dictionary (AbstractDictionary) >> _errorKeyNotFound: @2 line 5
> Dictionary >> at: @6 line 8
> [] in  ExecBlock2 (MetacelloGemStonePlatform) >>
> downloadJSON:eTagsCache:eTagsKey:username:pass: @3 line 53
> MetacelloGemStonePlatform >> extractHTTPHeader:do: @34 line 26
> [] in  ExecBlock0 (MetacelloGemStonePlatform) >>
> downloadJSON:eTagsCache:eTagsKey:username:pass: @9 line 50
> ExecBlock0 (ExecBlock) >> on:do: @3 line 44
> [] in  ExecBlock1 (MetacelloGemStonePlatform) >>
> downloadJSON:eTagsCache:eTagsKey:username:pass: @3 line 89
> [] in  ExecBlock0 (FileDirectory) >> readOnlyFileNamed:do: @3 line 4
> ExecBlock0 (ExecBlock) >> ensure: @2 line 12
> ServerFileDirectory (FileDirectory) >> readOnlyFileNamed:do: @5 line 4
> MetacelloGemStonePlatform >> downloadJSON:eTagsCache:eTagsKey:username:pass:
> @18 line 43
> MCGitHubRepository >> downloadJSONTags @14 line 5
> MCGitHubRepository (MCGitBasedNetworkRepository) >>
> resolveProjectVersionPattern: @10 line 8
> MCGitHubRepository (MCGitBasedNetworkRepository) >> projectVersion: @11 line
> 15
> MCGitHubRepository (MCGitBasedNetworkRepository) >>
> projectPath:projectVersion:repoPath: @3 line 3
> MCGitHubRepository class (MCGitBasedNetworkRepository class) >>
> parseLocation:version: @48 line 36
> MCGitHubRepository class (MCGitBasedNetworkRepository class) >>
> location:version: @2 line 2
> MCGitHubRepository class (MCGitBasedNetworkRepository class) >> location: @2
> line 2
> [] in  ExecBlock1 (MetacelloPlatform) >> createRepository: @6 line 31
> SmalltalkProxy >> at:ifPresent: @11 line 7
> MetacelloGemStonePlatform (MetacelloPlatform) >> createRepository: @20 line
> 28
> MetacelloGemStonePlatform >> createRepository: @54 line 45
> MetacelloMCBaselineProject (MetacelloMCProject) >> createRepository: @3 line
> 3
> MetacelloRepositorySpec >> createRepository @4 line 3
> [] in  ExecBlock0 (MetacelloCommonMCSpecLoader) >>
> repositoriesFrom:ignoreOverrides: @3 line 9
> Array (SequenceableCollection) >> detect:ifNone: @12 line 10
> [] in  ExecBlock1 (MetacelloCommonMCSpecLoader) >>
> repositoriesFrom:ignoreOverrides: @5 line 9
> OrderedCollection (Collection) >> do: @6 line 10
> MetacelloEnsureFetchingMCSpecLoader (MetacelloCommonMCSpecLoader) >>
> repositoriesFrom:ignoreOverrides: @15 line 7
> MetacelloEnsureFetchingMCSpecLoader (MetacelloCommonMCSpecLoader) >>
> repositoriesFrom: @2 line 3
> MetacelloPackageSpec >> explicitLoadUsing: @24 line 15
> MetacelloPackageSpec >> ensureLoadUsing: @3 line 2
> MetacelloMCBaselineOfProjectSpec (MetacelloMCProjectSpec) >>
> ensureLoadUsing: @15 line 13
> [] in  ExecBlock0 (MetacelloMCBaselineOfProjectSpec) >> ensureLoadUsing: @3
> line 5
> ExecBlock0 (ExecBlock) >> on:do: @3 line 44
> MetacelloMCBaselineOfProjectSpec >> ensureLoadUsing: @3 line 6
> MetacelloMCBaselineOfProjectSpec (MetacelloMCProjectSpec) >>
> ensureLoadedForDevelopmentUsing: @36 line 39
> [] in  ExecBlock1 (MetacelloMCVersionSpecLoader) >> load @3 line 8
> OrderedCollection (Collection) >> do: @6 line 10
> MetacelloMCVersionSpecLoader >> load @9 line 7
> MetacelloMCVersion >> executeLoadFromArray: @10 line 7
> [] in  ExecBlock1 (MetacelloMCVersion) >> fetchRequiredFromArray: @3 line 11
> [] in  ExecBlock0 (MetacelloPlatform) >>
> useStackCacheDuring:defaultDictionary: @3 line 9
> ExecBlock0 (ExecBlock) >> on:do: @3 line 44
> MetacelloGemStonePlatform (MetacelloPlatform) >>
> useStackCacheDuring:defaultDictionary: @10 line 10
> [] in  ExecBlock0 (MetacelloMCVersion) >> fetchRequiredFromArray: @7 line 11
> ExecBlock0 (ExecBlock) >> ensure: @2 line 12
> [] in  ExecBlock0 (MetacelloMCVersion) >> fetchRequiredFromArray: @3 line 12
> MetacelloGemStonePlatform (MetacelloPlatform) >> do:displaying: @2 line 3
> MetacelloMCVersion >> fetchRequiredFromArray: @18 line 7
> [] in  ExecBlock0 (MetacelloMCVersion) >> doLoadRequiredFromArray: @4 line
> 10
> ExecBlock0 (ExecBlock) >> ensure: @2 line 12
> MetacelloMCVersion >> doLoadRequiredFromArray: @23 line 16
> String >> loadRequiredForMetacelloMCVersion: @3 line 3
> MetacelloMCVersion >> load: @2 line 3
> [] in  ExecBlock0 (MetacelloScriptEngine) >>
> load:onProjectDownGrade:onProjectUpgrade: @11 line 16
> ExecBlock0 (ExecBlock) >> on:do: @3 line 44
> [] in  ExecBlock0 (MetacelloScriptEngine) >> handleNotificationsForAction:
> @7 line 6
> ExecBlock0 (ExecBlock) >> on:do: @3 line 44
> [] in  ExecBlock0 (MetacelloScriptEngine) >> handleNotificationsForAction:
> @5 line 14
> ExecBlock0 (ExecBlock) >> on:do: @3 line 44
> [] in  ExecBlock0 (MetacelloScriptEngine) >> handleNotificationsForAction:
> @3 line 20
> ExecBlock0 (ExecBlock) >> on:do: @3 line 44
> MetacelloScriptEngine >> handleNotificationsForAction: @3 line 24
> [] in  ExecBlock0 (MetacelloScriptEngine) >>
> load:onProjectDownGrade:onProjectUpgrade: @3 line 5
> ExecBlock0 (ExecBlock) >> ensure: @2 line 12
> MetacelloProjectRegistration class >> copyRegistryRestoreOnErrorWhile: @9
> line 14
> MetacelloScriptEngine >> load:onProjectDownGrade:onProjectUpgrade: @3 line 3
> MetacelloScriptEngine >> load: @2 line 3
> MetacelloScriptEngine (Object) >> perform:withArguments: @1 line 1
> [] in  ExecBlock1 (MetacelloScriptExecutor) >> execute: @12 line 15
> [] in  ExecBlock1 (MetacelloScriptApiExecutor) >> executeString:do: @6 line
> 6
> Array (Collection) >> do: @6 line 10
> MetacelloScriptApiExecutor >> executeString:do: @7 line 4
> String >> execute:against: @2 line 2
> MetacelloScriptApiExecutor (MetacelloScriptExecutor) >> execute: @7 line 9
> Metacello >> execute:args: @9 line 5
> Metacello >> load: @2 line 2
> [] in  Executed Code  @6 line 6
> [] in  ExecBlock0 (GsDeployer) >> deploy: @9 line 8
> ExecBlock0 (ExecBlock) >> on:do: @3 line 44
> [] in  ExecBlock0 (GsDeployer) >> deploy: @3 line 9
> [] in  ExecBlock0 (MCPlatformSupport class) >>
> commitOnAlmostOutOfMemoryDuring: @4 line 7
> ExecBlock0 (ExecBlock) >> ensure: @2 line 12
> MCPlatformSupport class >> commitOnAlmostOutOfMemoryDuring: @7 line 8
> [] in  ExecBlock0 (GsDeployer) >> mcPlatformSupportDo: @3 line 10
> ExecBlock0 (ExecBlock) >> ensure: @2 line 12
> GsDeployer >> mcPlatformSupportDo: @11 line 10
> GsDeployer >> deploy: @3 line 3
> GsDeployer class >> autoMigrate: @3 line 12
> GsDeployer class >> deploy: @2 line 12
> Executed Code  @2 line 1
> GsNMethod class >> _gsReturnToC @1 line 1
>
>
>
>
> --
> View this message in context: http://forum.world.st/Upgrade-Grease-behind-firewall-tp4903625p4903688.html
> Sent from the GLASS mailing list archive at Nabble.com.
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass



More information about the Glass mailing list