[squeak-dev] MCM update script

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

[squeak-dev] MCM update script

Andreas.Raab
Folks -

I've set up a little test for the suggested MCM update script via
Monticello. In order to try it out, do the following:
* Get a copy of http://ftp.squeak.org/3.10/Squeak3.10-7159-basic.zip
* Fire up Monticello and point it at http://squeaksource.com/MCUpdateTest
* Load the latest MonticelloConfigurations package from there and ONLY
that package (the fixes included are a strict prerequisite for this to work)

Now run the following code:

        MCMcmUpdater updateFromRepositories: #(
                'http://squeaksource.com/MCUpdateTest'
        ).

This will go to the repository and discover that there is
update-ar.1.mcm and update-ar.2.mcm. It will load the first, find that
there is nothing to do, move on to the second. The second has actually
re-ordered the Exceptions and the Morphic package to allow for loading
of a modification enabling SystemProgressMorph to change its label. It
then uses the configuration to update all the remaining listed packages
(and you can see the effect of the updated label right away).

If we'd find that at some point the order needs to be changed to be able
to load a particular modification, we would just issue an update.mcm
with the new order.

Hope this illustrates what I am imagining for an update mechanism using
Monticello.

Cheers,
   - Andreas

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] MCM update script

Edgar J. De Cleene



On 7/1/09 4:10 AM, "Andreas Raab" <[hidden email]> wrote:

> Folks -
>
> I've set up a little test for the suggested MCM update script via
> Monticello. In order to try it out, do the following:
> * Get a copy of http://ftp.squeak.org/3.10/Squeak3.10-7159-basic.zip
> * Fire up Monticello and point it at http://squeaksource.com/MCUpdateTest
> * Load the latest MonticelloConfigurations package from there and ONLY
> that package (the fixes included are a strict prerequisite for this to work)
>
> Now run the following code:
>
> MCMcmUpdater updateFromRepositories: #(
> 'http://squeaksource.com/MCUpdateTest'
> ).
>
> This will go to the repository and discover that there is
> update-ar.1.mcm and update-ar.2.mcm. It will load the first, find that
> there is nothing to do, move on to the second. The second has actually
> re-ordered the Exceptions and the Morphic package to allow for loading
> of a modification enabling SystemProgressMorph to change its label. It
> then uses the configuration to update all the remaining listed packages
> (and you can see the effect of the updated label right away).
>
> If we'd find that at some point the order needs to be changed to be able
> to load a particular modification, we would just issue an update.mcm
> with the new order.
>
> Hope this illustrates what I am imagining for an update mechanism using
> Monticello.
>
> Cheers,
>    - Andreas

Ok, I start to try it.
Could I ask modify the load code updates in the Squeak Flap for pointing to
some Utilities loadMCM or some like this ?
So any could easily have his/her image up to date if wish.
We need huge feedback.

Edgar



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] MCM update script

Edgar J. De Cleene
In reply to this post by Andreas.Raab



On 7/1/09 4:10 AM, "Andreas Raab" <[hidden email]> wrote:

> Hope this illustrates what I am imagining for an update mechanism using
> Monticello.
>
> Cheers,
>    - Andreas

Yes, I try and like.
Digging in old backups for some case I can't solve earlier for ask how you
think could be solved.

Edgar



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] MCM update script

garduino
In reply to this post by Andreas.Raab
Hi Andreas:

I tried and seems to work smoothly......As a first view I like the idea.

Germán.


2009/7/1 Andreas Raab <[hidden email]>:

> Folks -
>
> I've set up a little test for the suggested MCM update script via
> Monticello. In order to try it out, do the following:
> * Get a copy of http://ftp.squeak.org/3.10/Squeak3.10-7159-basic.zip
> * Fire up Monticello and point it at http://squeaksource.com/MCUpdateTest
> * Load the latest MonticelloConfigurations package from there and ONLY that
> package (the fixes included are a strict prerequisite for this to work)
>
> Now run the following code:
>
>        MCMcmUpdater updateFromRepositories: #(
>                'http://squeaksource.com/MCUpdateTest'
>        ).
>
> This will go to the repository and discover that there is update-ar.1.mcm
> and update-ar.2.mcm. It will load the first, find that there is nothing to
> do, move on to the second. The second has actually re-ordered the Exceptions
> and the Morphic package to allow for loading of a modification enabling
> SystemProgressMorph to change its label. It then uses the configuration to
> update all the remaining listed packages (and you can see the effect of the
> updated label right away).
>
> If we'd find that at some point the order needs to be changed to be able to
> load a particular modification, we would just issue an update.mcm with the
> new order.
>
> Hope this illustrates what I am imagining for an update mechanism using
> Monticello.
>
> Cheers,
>  - Andreas
>
>

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] MCM update script

keith1y
In reply to this post by Andreas.Raab
Andreas Raab wrote:
> Folks -
>
> I've set up a little test for the suggested MCM update script via
> Monticello. In order to try it out, do the following:
> * Get a copy of http://ftp.squeak.org/3.10/Squeak3.10-7159-basic.zip
> * Fire up Monticello and point it at http://squeaksource.com/MCUpdateTest
> * Load the latest MonticelloConfigurations package from there and ONLY
> that package (the fixes included are a strict prerequisite for this to
> work)
Andreas,

I quite fancy using your update mechanism for my real-world work.

Are you going to merge this back into squeaksource.com/mc ?

Keith




Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: MCM update script

Andreas.Raab
Keith Hodges wrote:
> Are you going to merge this back into squeaksource.com/mc ?

A merge of the latest versions is now available as
MonticelloConfigurations-ar.53 in both, the mc repository as well as the
trunk.

Cheers,
   - Andreas

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: MCM update script

keith1y
Andreas Raab wrote:
> Keith Hodges wrote:
>> Are you going to merge this back into squeaksource.com/mc ?
>
> A merge of the latest versions is now available as
> MonticelloConfigurations-ar.53 in both, the mc repository as well as
> the trunk.
>
> Cheers,
>   - Andreas
Cool, however, the latest in mc is in pacakge Monticello.impl in the
Monticello-Configurations category

Keith

Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: MCM update script

Andreas.Raab
Keith Hodges wrote:
> Cool, however, the latest in mc is in pacakge Monticello.impl in the
> Monticello-Configurations category

And of course the version of MonticelloConfigurations that I found in
the mc repository needed a different Monticello version than what is in
trunk and consequently broke the trunk when I tried it (so I had to
revert to the previous version). Oh well ... I guess there's some
learning to do here ;-)

Cheers,
   - Andreas