[Glass] Fwd: GsDevkit gsUpgrader using local clones

Johan Brichau johan at yesplan.be
Sat Feb 26 04:43:57 PST 2022


Thanks Dale.
Thats a good gotcha. I was always using load&lock instead of lock&load…. 

I do notice the same sequence where an explicit load of for Grease in the Tode setup script is necessary, which I had to apply as well. 

About the package being loaded from github: I was on a quest to get a full local load and wondered if there was some easy trick I missed. I can definitely live with it. 


Johan (sent from my mobile)

> On 25 Feb 2022, at 20:00, Dale Henrichs via Glass <glass at lists.gemtalksystems.com> wrote:
> 
> 
> Oops, missed reply to GLASS list ...
> 
> ---------- Forwarded message ---------
> From: Dale Henrichs <dale.henrichs at gemtalksystems.com>
> Date: Fri, Feb 25, 2022 at 10:59 AM
> Subject: Re: [Glass] GsDevkit gsUpgrader using local clones
> To: Johan Brichau <johan at yesplan.be>
> 
> 
>> Is the only solution to load and lock those projects *before* by loading from your own clones
> Technically it is not necessary to "load and lock". If you look at the scripts used to load tODE into GsDevKit_home[1], you can see that after running GsUpgrader[2] (the first step), it is only necessary to lock the relevant cloned repositories before doing a load.
> 
> Dale
> 
> [1] https://github.com/GsDevKit/GsDevKit_home/blob/master/sys/default/client/server-bootstrap-scripts/loadMetacello.ws#L1 
> [2] https://github.com/GsDevKit/GsDevKit_home/blob/master/sys/default/client/server-bootstrap-scripts/upgradeGLASS.ws#L1
> 
>> On Fri, Feb 25, 2022 at 5:56 AM Johan Brichau via Glass <glass at lists.gemtalksystems.com> wrote:
>> Perhaps a more general question to this is: it’s easy to load a BaselineOf from a local clone but what about the references in that BaselineOf to other projects? 
>> Is the only solution to load and lock those projects *before* by loading from your own clones?
>> 
>> Johan
>> 
>>> On 25 Feb 2022, at 13:48, Johan Brichau <johan at yesplan.be> wrote:
>>> 
>>> Hi,
>>> 
>>> I am using gsUpgrader https://github.com/GsDevKit/gsUpgrader to load GLASS1 both in virgin Gemstone 3.4.5 extents and right before application load for upgrades.
>>> 
>>> I want to change the loading to using local cloned repositories for the upgrades, which I got largely done by subclassing GsUpgrader and changing the repository descriptions for glass, grease and metacello to local filetree clones.
>>> However, the execution of ‘upgradeGLASS’ still hits GitHub for the repository github://dalehenrich/filetree:gemstone2.4/repository during the load of MetacelloPreview. See load for `upgradeGLASS` using local clones below.
>>> 
>>> I tried adding a local clone for that GitHub repository as well and load and lock the BaselineOfFileTree right before the loading of MetacelloPreview, but that just leads to a metacello load conflict further on.
>>> 
>>> Is there a way to prevent hitting GitHub for that package?
>>> 
>>> 
>>> —— load excerpt below:
>>> 
>>> (Smalltalk at: #GsUpgraderForYesplan28) upgradeGLASSForYesplan28.
>>> %
>>> --transcript--'======================'
>>> --transcript--'=====Installing patchForGsDevKitIssue60: HTTPSocket'
>>> --transcript--'======================'
>>> --transcript--'=====Installing patchForGsDevKitIssue60: MCPlatformSupport class'
>>> --transcript--'======================'
>>> --transcript--'=====Detected version >=1.0-beta.9.2.2 [ConfigurationOfGLASS] of GLASS'
>>> --transcript--'======================'
>>> --transcript--'=====Upgrading GLASS to 1.0-beta.9.3'
>>> --transcript--'======================'
>>> --transcript--'=====Using repositoryOverride: aMCDirectoryRepository(/home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache)'
>>> --transcript--'Loading 1.0-beta.32.3 of ConfigurationOfMetacello...'
>>> --transcript--'Project: FileTree stable'
>>> --transcript--' [1.0.6.1]'
>>> --transcript--'Project: Monticello 0.243'
>>> --transcript--' [0.244.3]'
>>> --transcript--'Fetched -> MonticelloFileTree-Core.gemstone24-dkh.164 --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache'
>>> --transcript--'Project: GsMonticello 0.244.2'
>>> --transcript--'Project: Gofer stable'
>>> --transcript--' [1.0.5.1]'
>>> --transcript--'Fetched -> Metacello-Base-dkh.109 --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache'
>>> --transcript--'Fetched -> Metacello-Core-dkh.695 --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache'
>>> --transcript--'Fetched -> Metacello-MC-dkh.680 --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache'
>>> --transcript--'Fetched -> Metacello-Platform.gemstone-dkh.33 --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache'
>>> --transcript--'Fetched -> Metacello-ToolBox-dkh.134 --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache'
>>> --transcript--'Project: GsCore 0.247'
>>> --transcript--' [0.250]'
>>> --transcript--'Fetched -> Metacello-GitHub-dkh.29 --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache'
>>> --transcript--'Loaded -> MonticelloFileTree-Core.gemstone24-dkh.164 --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache --- cache'
>>> --transcript--'Loaded -> Metacello-Base-dkh.109 --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache --- cache'
>>> --transcript--'Loaded -> Metacello-Core-dkh.695 --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache --- cache'
>>> --transcript--'Evaluated -> Metacello-MC >> gemstone10beta24PreLoadDoIt'
>>> --transcript--'Loaded -> Metacello-MC-dkh.680 --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache --- cache'
>>> --transcript--'Warning: This package depends on the following classes:
>>>   ExecutableBlock
>>> You must resolve these dependencies before you will be able to load these definitions:
>>>   ExecutableBlock>>valueSupplyingMetacelloAnswers:
>>> '
>>> --transcript--'Loaded -> Metacello-Platform.gemstone-dkh.33 --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache --- cache'
>>> --transcript--'Evaluated -> Metacello-Platform >> gemstone10beta311PostLoadDoIt'
>>> --transcript--'Loaded -> Metacello-ToolBox-dkh.134 --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache --- cache'
>>> --transcript--'Loaded -> Metacello-GitHub-dkh.29 --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache --- cache'
>>> --transcript--'Evaluated -> 1.0-beta.32.3 [ConfigurationOfMetacello] >> metacelloPrimeRegistry'
>>> --transcript--'...finished 1.0-beta.32.3'
>>> --transcript--'======================'
>>> --transcript--'=====Upgrading Gofer to #stable'
>>> --transcript--'Loading 1.0.5.4 of ConfigurationOfGofer...'
>>> --transcript--'Fetched -> Gofer-Core.gemstone-dkh.138 --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache'
>>> --transcript--'Starting atomic load'
>>> --transcript--'Loaded -> Gofer-Core.gemstone-dkh.138 --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache --- cache'
>>> --transcript--'Finished atomic load'
>>> --transcript--'...finished 1.0.5.4'
>>> --transcript--'Loading 1.0-beta.9.3 of ConfigurationOfGLASS...'
>>> --transcript--'Fetched -> ConfigurationOfGsOB-dkh.96 --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache'
>>> --transcript--'Loaded -> ConfigurationOfGsOB-dkh.96 --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache --- cache'
>>> --transcript--'Fetched -> ConfigurationOfGoferProjectLoader-dkh.22 --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache'
>>> --transcript--'Loaded -> ConfigurationOfGoferProjectLoader-dkh.22 --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache --- cache'
>>> --transcript--'Project: Gofer 1.0.5.3'
>>> --transcript--' [1.0.5.4]'
>>> --transcript--'Project: Core 0.249'
>>> --transcript--' [0.250]'
>>> --transcript--'Project: Monticello 0.244.3'
>>> --transcript--'Project: Metacello previewBootstrap'
>>> --transcript--' [1.0-beta.32.3]'
>>> --transcript--'Project: FileTree stable'
>>> --transcript--' [1.0.6.1]'
>>> --transcript--'Project: Monticello 0.243'
>>> --transcript--'Project: GsMonticello 0.244.2'
>>> --transcript--'Project: Gofer stable'
>>> --transcript--' [1.0.5.4]'
>>> --transcript--'Project: Gofer Project Loader 1.0-alpha2.2'
>>> --transcript--'Project: Gofer Core 1.0.2.1'
>>> --transcript--'Project: OB 0.242.2'
>>> --transcript--'Fetched -> ConfigurationOfGsMisc-dkh.120 --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache'
>>> --transcript--'Loaded -> ConfigurationOfGsMisc-dkh.120 --- /home/yesplan/gsUpgrader/caches/upgradeGLASS/monticello//package-cache --- cache'
>>> --transcript--'Project: Announcements 0.240.1'
>>> --transcript--' [0.243]'
>>> --transcript--'Project: Change-Notification 0.241'
>>> --transcript--'Project: Monticello 0.243'
>>> --transcript--'Project: Release Support 0.243'
>>> --transcript--'Project: Grease 1.0.7.2'
>>> --transcript--'Project: System-Digital-Signatures 0.241.1'
>>> --transcript--'Project: SMTPMail 0.241.1'
>>> --transcript--'Project: UTF8 0.241.1'
>>> --transcript--'Project: SqueakCommon 0.9.4'
>>> --transcript--'Project: Grease 1.0.7.1'
>>> --transcript--'Evaluated -> 1.0-beta.32.3 [ConfigurationOfMetacello] >> metacelloPrimeRegistry'
>>> --transcript--'Evaluated -> 1.0-alpha2.2 [ConfigurationOfGoferProjectLoader] >> postLoadLoader'
>>> --transcript--'...finished 1.0-beta.9.3'
>>> --transcript--'Fetched -> BaselineOfMetacello-dkh.85 --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository'
>>> --transcript--'Loaded -> BaselineOfMetacello-dkh.85 --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository'
>>> --transcript--'Loading baseline of BaselineOfMetacello...'
>>> --transcript--'Fetched -> BaselineOfFileTree-dkh.4 --- github://dalehenrich/filetree:gemstone2.4/repository --- github://dalehenrich/filetree:gemstone2.4/repository'
>>> --transcript--'Loaded -> BaselineOfFileTree-dkh.4 --- github://dalehenrich/filetree:gemstone2.4/repository --- github://dalehenrich/filetree:gemstone2.4/repository'
>>> --transcript--'Project: FileTree baseline'
>>> --transcript--'Fetched -> MonticelloFileTree-Core-dkh.204 --- github://dalehenrich/filetree:gemstone2.4/repository --- github://dalehenrich/filetree:gemstone2.4/repository'
>>> --transcript--'Fetched -> MonticelloFileTree-FileDirectory-Utilities-dkh.15 --- github://dalehenrich/filetree:gemstone2.4/repository --- github://dalehenrich/filetree:gemstone2.4/repository'
>>> --transcript--'Project: Gofer stable'
>>> --transcript--' [1.0.5.4]'
>>> --transcript--'Fetched -> Metacello-Base-dkh.123 --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository'
>>> --transcript--'Fetched -> Metacello-Core-dkh.807 --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository'
>>> --transcript--'Fetched -> Metacello-MC-dkh.722 --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository'
>>> --transcript--'Fetched -> Metacello-Platform.gemstone-dkh.56 --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository'
>>> --transcript--'Fetched -> Metacello-GS3x-Platform-dkh.1 --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository'
>>> --transcript--'Fetched -> Metacello-ToolBox-dkh.139 --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository'
>>> --transcript--'Fetched -> Metacello-FileTree-dkh.36 --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository'
>>> --transcript--'Fetched -> Metacello-GitBasedRepository-dkh.13 --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository'
>>> --transcript--'Fetched -> Metacello-Bitbucket-dkh.5 --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository'
>>> --transcript--'Fetched -> Metacello-GitHub-dkh.44 --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository'
>>> --transcript--'Loaded -> MonticelloFileTree-Core-dkh.204 --- github://dalehenrich/filetree:gemstone2.4/repository --- cache'
>>> --transcript--'Loaded -> MonticelloFileTree-FileDirectory-Utilities-dkh.15 --- github://dalehenrich/filetree:gemstone2.4/repository --- cache'
>>> --transcript--'Loaded -> Metacello-Base-dkh.123 --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository --- cache'
>>> --transcript--'Loaded -> Metacello-Core-dkh.807 --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository --- cache'
>>> --transcript--'Loaded -> Metacello-MC-dkh.722 --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository --- cache'
>>> --transcript--'Loaded -> Metacello-Platform.gemstone-dkh.56 --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository --- cache'
>>> --transcript--'Evaluated -> Metacello-Platform >> gemstone10beta311PostLoadDoIt'
>>> --transcript--'Loaded -> Metacello-GS3x-Platform-dkh.1 --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository --- cache'
>>> --transcript--'Loaded -> Metacello-ToolBox-dkh.139 --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository --- cache'
>>> --transcript--'Loaded -> Metacello-FileTree-dkh.36 --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository [4174d12:yesplan] --- cache'
>>> --transcript--'Loaded -> Metacello-GitBasedRepository-dkh.13 --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository [4174d12:yesplan] --- cache'
>>> --transcript--'Loaded -> Metacello-Bitbucket-dkh.5 --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository [4174d12:yesplan] --- cache'
>>> --transcript--'Loaded -> Metacello-GitHub-dkh.44 --- filetree:///home/yesplan/gsUpgrader/caches/upgradeGLASS/metacelloPreview/metacello-work-1.0.0-beta.32.18/repository [4174d12:yesplan] --- cache'
>>> --transcript--'priming registry from image. See https://github.com/dalehenrich/metacello-work/issues/197'
>>> --transcript--'Evaluated -> baseline [BaselineOfMetacello] >> reprimeRegistryIssue197'
>>> --transcript--'...finished baseline'
>>> --transcript--'Migrated 0 instances for 10 classes.'
>>> [53688065 sz:19 cls: 53687809 GsUpgraderForYesplan28 class] GsUpgraderForYesplan28
>> 
>> _______________________________________________
>> Glass mailing list
>> Glass at lists.gemtalksystems.com
>> https://lists.gemtalksystems.com/mailman/listinfo/glass
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> https://lists.gemtalksystems.com/mailman/listinfo/glass
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/archives/glass/attachments/20220226/5ed9bf3c/attachment-0001.htm>


More information about the Glass mailing list