Running without sources/changes ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Running without sources/changes ?

Sven Van Caekenberghe-2
Hi,

Does anyone know if we can still run Pharo (4) without sources and without changes ? Years ago there used to be an option to 'abandon changes' and/or 'abandon sources', IIRC. Can we still do that ? I can't find this option in System Settings. I want to run just a reduced image on a server.

Sven


Reply | Threaded
Open this post in threaded view
|

Re: Running without sources/changes ?

Max Leske
I tried that recently in a Pharo 1.3 image. ‘abandon sources’ et al don’t work. What does work however is

Smalltalk closeSourceFiles; openSourceFiles.

I use it to speed up some stuff we do (prevents a lot of IO operations).

I haven’t tried it in newer versions though.


Cheers,
Max

> On 03 Nov 2015, at 21:15, Sven Van Caekenberghe <[hidden email]> wrote:
>
> Hi,
>
> Does anyone know if we can still run Pharo (4) without sources and without changes ? Years ago there used to be an option to 'abandon changes' and/or 'abandon sources', IIRC. Can we still do that ? I can't find this option in System Settings. I want to run just a reduced image on a server.
>
> Sven
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Running without sources/changes ?

Marcus Denker-4
In reply to this post by Sven Van Caekenberghe-2

> On 03 Nov 2015, at 17:15, Sven Van Caekenberghe <[hidden email]> wrote:
>
> Hi,
>
> Does anyone know if we can still run Pharo (4) without sources and without changes ? Years ago there used to be an option to 'abandon changes' and/or 'abandon sources', IIRC. Can we still do that ? I can't find this option in System Settings. I want to run just a reduced image on a server.
>

No, in Pharo4 it does not work… we should have a look again, if we have the time.

What is clear is that we really need to find a better solution to .changes/.sources…

        Marcus


Reply | Threaded
Open this post in threaded view
|

Re: Running without sources/changes ?

Sven Van Caekenberghe-2

> On 04 Nov 2015, at 14:14, Marcus Denker <[hidden email]> wrote:
>
>
>> On 03 Nov 2015, at 17:15, Sven Van Caekenberghe <[hidden email]> wrote:
>>
>> Hi,
>>
>> Does anyone know if we can still run Pharo (4) without sources and without changes ? Years ago there used to be an option to 'abandon changes' and/or 'abandon sources', IIRC. Can we still do that ? I can't find this option in System Settings. I want to run just a reduced image on a server.
>>
>
> No, in Pharo4 it does not work… we should have a look again, if we have the time.
>
> What is clear is that we really need to find a better solution to .changes/.sources…
>
> Marcus

It would be good to have this functionality back, but it is not a high priority.

But in 4.0 even #cleanupForProduction did not work ...

It did not make that much size difference anyway, so again, no high priority.

Sven


Reply | Threaded
Open this post in threaded view
|

Re: Running without sources/changes ?

Marcus Denker-4

> On 08 Nov 2015, at 13:40, Sven Van Caekenberghe <[hidden email]> wrote:
>
>
>> On 04 Nov 2015, at 14:14, Marcus Denker <[hidden email]> wrote:
>>
>>
>>> On 03 Nov 2015, at 17:15, Sven Van Caekenberghe <[hidden email]> wrote:
>>>
>>> Hi,
>>>
>>> Does anyone know if we can still run Pharo (4) without sources and without changes ? Years ago there used to be an option to 'abandon changes' and/or 'abandon sources', IIRC. Can we still do that ? I can't find this option in System Settings. I want to run just a reduced image on a server.
>>>
>>
>> No, in Pharo4 it does not work… we should have a look again, if we have the time.
>>
>> What is clear is that we really need to find a better solution to .changes/.sources…
>>
>> Marcus
>
> It would be good to have this functionality back, but it is not a high priority.
>
> But in 4.0 even #cleanupForProduction did not work …

everything not tested does not work by definition. I am therefore skeptical every time
we want to deploy differently than we use the system every day…

- The artefact on the CI server has to be the artefact of release
- the artefact we use for development has to be the artefact of deployment.

        Marcus