Login  Register

Re: unsolicited package-cache use

Posted by Dale Henrichs-3 on Jan 18, 2018; 2:22pm
URL: https://forum.world.st/unsolicited-package-cache-use-tp5060335p5063464.html

Hilaire,

Metacello just uses Monticello for loading and it is Monticello that is
using the package-cache ... if there were a way to turn of the
package-cache for Monticello I don't think that Metacello would know the
difference.

But, I am curious why you care whether or not package is used?

Is there a specific problem that you are having?

Dale

On 1/17/18 8:30 PM, Hernán Morales Durand wrote:

> Hi Hilaire,
>
> Which Pharo version?
> Have you found any solution to this?
> In Gofer there was #disablePackageCache, in Metacello I don't know,
> maybe experimenting with MetacelloLoaderPolicy but there are no class
> comments.
> Cheers,
>
> Hernán
>
>
> 2017-12-18 17:24 GMT-03:00 Hilaire <[hidden email]>:
>> If understood correctly, when using a tonel file repository to build up an
>> image, Pharo seems instead to take the sources from some package-cache,
>> which is out of sync, because the tonel file repo was updated from another
>> image, with a different cache. I guess I can trick the file system but it is
>> for the least very annoying, for the worst unreliable.
>>
>>
>>
>> Le 10/12/2017 à 18:16, Hilaire a écrit :
>>> I am using tonel format to install from and save to a local repository.
>>>
>>> How to prevent Monticello/Configuration/Metacello to save packages to the
>>> image package-cache dir?
>>>
>>> Even when installing from a configuration with repo on tonel file format,
>>> packages get created in the image package-cache directory.
>>>
>>> I have read there and there, Pharo gets confused and uses wrongly the
>>> package-cache versions and not the local repo.
>>
>> --
>> Dr. Geo
>> http://drgeo.eu
>>
>>
>>