[Glass] load filetree package from directory
Dale Henrichs
dale.henrichs at gemtalksystems.com
Fri Apr 18 14:44:42 PDT 2025
I realize that this still might not be what you are looking for ... since
clearly the example that I used does indeed have version info, I would
expect that using 'cypress.1' as the version name would work in my
example, but I will go ahead and give it a test ...
Dale
On Fri, Apr 18, 2025 at 2:37 PM Dale Henrichs <
dale.henrichs at gemtalksystems.com> wrote:
> This expression is working for me (it's what `mc load` ends up doing):
>
>> | repo |
>> repo := MCFileTreeRepository new directory: (ServerFileDirectory on:
>> '/home/dhenrich/_homes/rogue/_home/shared/repos/rb/repository').
>> Gofer new
>> version: 'AST-Core-dkh.105';
>> repository: repo;
>> load
>
> I think that the default repository is a MCDirectoryRepository and in that
> case a directory of .mcz files would be expected ...
>
> Dale
>
> On Fri, Apr 18, 2025 at 12:41 PM Dale Henrichs <
> dale.henrichs at gemtalksystems.com> wrote:
>
>> If you've got a tode image the following will work:
>>
>>> mc load AST-Core-dkh.105
>>> filetree:///home/dhenrich/_homes/rogue/_home/shared/repos/rb/repository
>>
>>
>> Gofer is used under the covers, but I need to eat some lunch before I dig
>> deeper :)
>>
>> Dale
>>
>> On Fri, Apr 18, 2025 at 10:28 AM Paul DeBruicker via Glass <
>> glass at lists.gemtalksystems.com> wrote:
>>
>>> Hi - In GemStone 3.6.8 how do I load a filetree package using a method?
>>>
>>> If it were a Monticello package I could do a
>>>
>>> MyClass>>#loadPackage
>>>
>>> Gofer new
>>> directory:'/path/to/mczRepo'
>>> package:'MyPackage';
>>> load
>>>
>>>
>>>
>>> I can't figure out how to do the same with filetree. Gofer doesn't know
>>> filetree and also because the Package version string in the filetree repo
>>> is always 'cypress.1' it won't load if there is an mcz with a higher
>>> version number already in the stone.
>>>
>>> Thanks
>>>
>>> Paul
>>>
>>>
>>> _______________________________________________
>>> 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/20250418/d4f4f8a3/attachment.htm>
More information about the Glass
mailing list