1.2 Dev and Hudson

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

1.2 Dev and Hudson

Guillermo Polito
Marcus,

How are we building 1.2 dev?  Is it using always the last version of the ConfigurationOfPharo?  If not, how can we do it? :)

Once it's done, maybe we can do a #loadLast in the class side of the config like this:

>>loadLastStable
(self project version: 'xxx') load

And forget about updating the build script for each version...

Cheers!
Guille
Reply | Threaded
Open this post in threaded view
|

Re: 1.2 Dev and Hudson

Marcus Denker-4

On Dec 20, 2010, at 4:21 AM, Guillermo Polito wrote:

Marcus,

How are we building 1.2 dev?  Is it using always the last version of the ConfigurationOfPharo?  If not, how can we do it? :)


It does

"Dev image"
Gofer new
        squeaksource: 'MetacelloRepository';
        package: 'ConfigurationOfPharo';
        load.

((Smalltalk at: #ConfigurationOfPharo) project version: '1.2-beta2') perform: #silently: with: true; perform: #load.


So yes, right now we need to change the build script as soon as the version changes.


--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.

Reply | Threaded
Open this post in threaded view
|

Re: 1.2 Dev and Hudson

Mariano Martinez Peck
Yes, as Guille said, using #lastVersion  would be more interesting here:

"Dev image"
Gofer new
        squeaksource: 'MetacelloRepository';
        package: 'ConfigurationOfPharo';
        load.

((Smalltalk at: #ConfigurationOfPharo) project lastVersion) perform: #silently: with: true; perform: #load.


And even more, what about loading the baseline directly?

cheers

mariano

On Mon, Dec 20, 2010 at 8:45 AM, Marcus Denker <[hidden email]> wrote:

On Dec 20, 2010, at 4:21 AM, Guillermo Polito wrote:

Marcus,

How are we building 1.2 dev?  Is it using always the last version of the ConfigurationOfPharo?  If not, how can we do it? :)


It does

"Dev image"
Gofer new
        squeaksource: 'MetacelloRepository';
        package: 'ConfigurationOfPharo';
        load.

((Smalltalk at: #ConfigurationOfPharo) project version: '1.2-beta2') perform: #silently: with: true; perform: #load.


So yes, right now we need to change the build script as soon as the version changes.


--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.


Reply | Threaded
Open this post in threaded view
|

Re: 1.2 Dev and Hudson

Marcus Denker-4
In reply to this post by Marcus Denker-4

On Dec 20, 2010, at 9:31 AM, Mariano Martinez Peck wrote:

Yes, as Guille said, using #lastVersion  would be more interesting here:

"Dev image"
Gofer new
        squeaksource: 'MetacelloRepository';
        package: 'ConfigurationOfPharo';
        load.

((Smalltalk at: #ConfigurationOfPharo) project lastVersion) perform: #silently: with: true; perform: #load.


I will put that in.


And even more, what about loading the baseline directly?

It would be nice if we could load whatever so that if someone commits a bug-fix, the build
server picks that up on the next load :-)




--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.

Reply | Threaded
Open this post in threaded view
|

Re: 1.2 Dev and Hudson

Marcus Denker-4

On Dec 20, 2010, at 9:41 AM, Marcus Denker wrote:


On Dec 20, 2010, at 9:31 AM, Mariano Martinez Peck wrote:

Yes, as Guille said, using #lastVersion  would be more interesting here:

"Dev image"
Gofer new
        squeaksource: 'MetacelloRepository';
        package: 'ConfigurationOfPharo';
        load.

((Smalltalk at: #ConfigurationOfPharo) project lastVersion) perform: #silently: with: true; perform: #load.


I will put that in.

Done. next build will use that.


--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.

Reply | Threaded
Open this post in threaded view
|

Re: 1.2 Dev and Hudson

Tudor Girba
In Moose, we load the default baseline (this is a baseline that is meant to be changed) :). With the new Metacello, when you will have the symbolic versions, you should simply load that one.

Cheers,
Doru


On 20 Dec 2010, at 09:55, Marcus Denker wrote:

>
> On Dec 20, 2010, at 9:41 AM, Marcus Denker wrote:
>
>>
>> On Dec 20, 2010, at 9:31 AM, Mariano Martinez Peck wrote:
>>
>>> Yes, as Guille said, using #lastVersion  would be more interesting here:
>>>
>>> "Dev image"
>>> Gofer new
>>>         squeaksource: 'MetacelloRepository';
>>>         package: 'ConfigurationOfPharo';
>>>         load.
>>>
>>> ((Smalltalk at: #ConfigurationOfPharo) project lastVersion) perform: #silently: with: true; perform: #load.
>>>
>>
>> I will put that in.
>
> Done. next build will use that.
>
>
> --
> Marcus Denker  -- http://www.marcusdenker.de
> INRIA Lille -- Nord Europe. Team RMoD.
>

--
www.tudorgirba.com

"Next time you see your life passing by, say 'hi' and get to know her."




Reply | Threaded
Open this post in threaded view
|

Re: 1.2 Dev and Hudson

Guillermo Polito
In reply to this post by Marcus Denker-4
Great!

We have to be careful since #lastVersion seems to be deprecated, to use #bleedingEdge or something else I don't know...

Maybe it's just fine to rely on it by now.

On Mon, Dec 20, 2010 at 5:55 AM, Marcus Denker <[hidden email]> wrote:

On Dec 20, 2010, at 9:41 AM, Marcus Denker wrote:


On Dec 20, 2010, at 9:31 AM, Mariano Martinez Peck wrote:

Yes, as Guille said, using #lastVersion  would be more interesting here:

"Dev image"
Gofer new
        squeaksource: 'MetacelloRepository';
        package: 'ConfigurationOfPharo';
        load.

((Smalltalk at: #ConfigurationOfPharo) project lastVersion) perform: #silently: with: true; perform: #load.


I will put that in.

Done. next build will use that.


--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.


Reply | Threaded
Open this post in threaded view
|

Re: 1.2 Dev and Hudson

Dale Henrichs
On 12/20/2010 05:46 AM, Guillermo Polito wrote:
> Great!
>
> We have to be careful since #lastVersion seems to be deprecated, to use
> #bleedingEdge or something else I don't know...
>
> Maybe it's just fine to rely on it by now.

I don't plan on deprecating #lastVersion until the 1.0 release. With the
next release of Metacello you should start using symbolic versions:

   #bleedingEdge - for the latest code possible
   #development  - for the current version under development by
                   platform
   #stable       - for the current released (stable) version by
                   platform

Dale

>
> On Mon, Dec 20, 2010 at 5:55 AM, Marcus Denker <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>
>     On Dec 20, 2010, at 9:41 AM, Marcus Denker wrote:
>
>>
>>     On Dec 20, 2010, at 9:31 AM, Mariano Martinez Peck wrote:
>>
>>>     Yes, as Guille said, using #lastVersion  would be more
>>>     interesting here:
>>>
>>>     "Dev image"
>>>     Gofer new
>>>             squeaksource: 'MetacelloRepository';
>>>             package: 'ConfigurationOfPharo';
>>>             load.
>>>
>>>     ((Smalltalk at: #ConfigurationOfPharo) project lastVersion)
>>>     perform: #silently: with: true; perform: #load.
>>>
>>
>>     I will put that in.
>
>     Done. next build will use that.
>
>
>     --
>     Marcus Denker  -- http://www.marcusdenker.de
>     <http://www.marcusdenker.de/>
>     INRIA Lille -- Nord Europe. Team RMoD.
>
>


Reply | Threaded
Open this post in threaded view
|

Re: 1.2 Dev and Hudson

Guillermo Polito
In reply to this post by Marcus Denker-4
Ufa :(.

Dev build is broken, but I cannot reproduce it.

On Mon, Dec 20, 2010 at 5:55 AM, Marcus Denker <[hidden email]> wrote:

On Dec 20, 2010, at 9:41 AM, Marcus Denker wrote:


On Dec 20, 2010, at 9:31 AM, Mariano Martinez Peck wrote:

Yes, as Guille said, using #lastVersion  would be more interesting here:

"Dev image"
Gofer new
        squeaksource: 'MetacelloRepository';
        package: 'ConfigurationOfPharo';
        load.

((Smalltalk at: #ConfigurationOfPharo) project lastVersion) perform: #silently: with: true; perform: #load.


I will put that in.

Done. next build will use that.


--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.


Reply | Threaded
Open this post in threaded view
|

Re: 1.2 Dev and Hudson

Marcus Denker-4
In reply to this post by Marcus Denker-4

On Dec 21, 2010, at 3:17 AM, Guillermo Polito wrote:

Ufa :(.

Dev build is broken, but I cannot reproduce it.


The build 1.5 hours ago succeeded.

Marcus


--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.