An 3.9 image for developers

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

Re: An 3.9 image for developers

Klaus D. Witzel
Hi Damien,

on Fri, 15 Sep 2006 09:53:33 +0200, you wrote:
> Klaus D. Witzel a écrit :
>> Hi Cédrick,
>> This one is productivity gain par excellence. But as soon as the  
>> repositories go away and/or the dev.image gets older and/or  
>> incompatible, what will happen then? DNU's? frustration? confusion?
>
> It would be cool to keep squeak-dev.image up to date. That is why I'm  
> creating a script to do all the job. We should be able to create new  
> images automatically with new packages.

Kewl, really kewl 8-)

/Klaus


Reply | Threaded
Open this post in threaded view
|

Re: An 3.9 image for developers

cbeler
In reply to this post by Klaus D. Witzel

Hi ;)
>>
>>
>> For the packages...
>> maybe we could add FFI ? needed for external browser and OSProcess
>> ...  (not sure)
but only FFI maybe ? so it's a bit shorter to add platform dependant
packages...

RFB if added should be added before Seaside...
>
> Whatever DB it will be, it will also be always the wrong one. Who's
> using PostgreSQL anyways, I have not seen anybody using it, during the
> last 30 years (see: experience related).
well, I'm using it ;) but I was obliged to... I think, at least in the
MC repositories, we should find some databse support ?

What about XML support ? (I also was obliged too :) )

Cédrick



Reply | Threaded
Open this post in threaded view
|

Re: Re: An 3.9 image for developers

Lukas Renggli
> RFB if added should be added before Seaside...
> >
> > Whatever DB it will be, it will also be always the wrong one. Who's
> > using PostgreSQL anyways, I have not seen anybody using it, during the
> > last 30 years (see: experience related).
> well, I'm using it ;) but I was obliged to... I think, at least in the
> MC repositories, we should find some databse support ?
>
> What about XML support ? (I also was obliged too :) )

I doubt I will use an image with all those 200 cool preloaded packages ;-)

It would be preferable to have a developer image that lets the
developer select a bunch of packages the first time it is opened. It
then quickly installs the selected mc snapshots in the right order and
throws away the ones that are not needed for the particular image.

Just an idea ;-)

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch

Reply | Threaded
Open this post in threaded view
|

Re: An 3.9 image for developers

Damien Cassou-3
Lukas Renggli a écrit :

>> RFB if added should be added before Seaside...
>> >
>> > Whatever DB it will be, it will also be always the wrong one. Who's
>> > using PostgreSQL anyways, I have not seen anybody using it, during the
>> > last 30 years (see: experience related).
>> well, I'm using it ;) but I was obliged to... I think, at least in the
>> MC repositories, we should find some databse support ?
>>
>> What about XML support ? (I also was obliged too :) )
>
> I doubt I will use an image with all those 200 cool preloaded packages ;-)


I agree, it would be better to have a simple image with the tools used
by almost every developers.


> It would be preferable to have a developer image that lets the
> developer select a bunch of packages the first time it is opened. It
> then quickly installs the selected mc snapshots in the right order and
> throws away the ones that are not needed for the particular image.

An image for developers is useful only if it is ready to use. If the
developer should download it and install everything he needs, it is not
very useful.

We need a mix: Pre-install most used packages and ease installation of
others.


--
Damien Cassou


Reply | Threaded
Open this post in threaded view
|

Re: Re: An 3.9 image for developers

Lukas Renggli
> > It would be preferable to have a developer image that lets the
> > developer select a bunch of packages the first time it is opened. It
> > then quickly installs the selected mc snapshots in the right order and
> > throws away the ones that are not needed for the particular image.
>
> An image for developers is useful only if it is ready to use. If the
> developer should download it and install everything he needs, it is not
> very useful.

What I imagine is that you have all the necessary snapshots (instances
of MCSnapshot) in the development image already, you then only load
the necessary ones in the right order (that should be quite fast) and
then you throw away all those instances as they are not needed any
longer.

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch

Reply | Threaded
Open this post in threaded view
|

Re: An 3.9 image for developers

Damien Cassou-3
Lukas Renggli a écrit :

>> > It would be preferable to have a developer image that lets the
>> > developer select a bunch of packages the first time it is opened. It
>> > then quickly installs the selected mc snapshots in the right order and
>> > throws away the ones that are not needed for the particular image.
>>
>> An image for developers is useful only if it is ready to use. If the
>> developer should download it and install everything he needs, it is not
>> very useful.
>
> What I imagine is that you have all the necessary snapshots (instances
> of MCSnapshot) in the development image already, you then only load
> the necessary ones in the right order (that should be quite fast) and
> then you throw away all those instances as they are not needed any
> longer.

This is a good idea. But it only works for monticello packages, not for
squeakmap.


--
Damien Cassou


Reply | Threaded
Open this post in threaded view
|

Re: Re: An 3.9 image for developers

Lukas Renggli
> This is a good idea. But it only works for monticello packages, not for
> squeakmap.

Yes, but are there any packages remaining that are relevant and that
are not packaged with Monticello?

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch

Reply | Threaded
Open this post in threaded view
|

Re: An 3.9 image for developers

cbeler
In reply to this post by Damien Cassou-3

>>
>> What I imagine is that you have all the necessary snapshots (instances
>> of MCSnapshot) in the development image already, you then only load
>> the necessary ones in the right order (that should be quite fast) and
>> then you throw away all those instances as they are not needed any
>> longer.
me too :)
>
> This is a good idea. But it only works for monticello packages, not
> for squeakmap.
>
Yes but most packages have a Monticello repository...

I added the creation of a new category in the preference browser. And at
the end of the installation, a preference browser open on that category
so that we can choose.

some other ideas:

- if we say no to seaside, maybe we should dismiss magritte and pier
(even they can work with morpf - I think there will be problems ;) ) ?
so maybe we need a kind of dependency var in Themes ?

- what if we do install twice or if we want to add seaside refusing it
the first time? we can also have a problem during the install. Can we
have a recover fonction in a certain way - like if already installed,
skip it (this could be useful in cas a problem occur for a package, like
I add with Magritte) ?


Cédrick

ps: ImageConfigurator>>allThmes  should have #squeaDevImage instead of
squeakDevImageConfigurator...  didn't commit it as I wasn't sure

Reply | Threaded
Open this post in threaded view
|

Re: An 3.9 image for developers

cbeler
I chose
ImageConfigurator new install
>
> ps: ImageConfigurator>>allThmes  should have #squeaDevImage instead of
> squeakDevImageConfigurator...  didn't commit it as I wasn't sure
>
other small bugs...

- ImageConfigurator>>usabilityEnhancements is not defined

- if on a browser, we choose a new default one with the upper left icon,
RB is twice and once written RefractoringBrowser. In ImageConfigurator
squeakDevImageConfiguration   there is
    ...      
    addSqueakMapPackage: 'Tric-RefractoringBrowser';
    ...
RefractoringBrowser open an empty RB. Is it something normal ?


Cédrick

Reply | Threaded
Open this post in threaded view
|

Re: An 3.9 image for developers

Romain Robbes

Il giorno Sep 15, 2006, alle ore 4:32 PM, Cédrick Béler ha scritto:

I chose
ImageConfigurator new install

ps: ImageConfigurator>>allThmes  should have #squeaDevImage instead of squeakDevImageConfigurator...  didn't commit it as I wasn't sure

other small bugs...

- ImageConfigurator>>usabilityEnhancements is not defined

- if on a browser, we choose a new default one with the upper left icon, RB is twice and once written RefractoringBrowser. In ImageConfigurator squeakDevImageConfiguration   there is    ...         addSqueakMapPackage: 'Tric-RefractoringBrowser';
   ...
RefractoringBrowser open an empty RB. Is it something normal ?

Yes, it's a browser which shows only some packages, and not the entire image.
You can select which packages you want to display.

Romain



Cédrick


--
Romain Robbes





Reply | Threaded
Open this post in threaded view
|

Re: An 3.9 image for developers

cbeler

>
> Yes, it's a browser which shows only some packages, and not the entire
> image.
> You can select which packages you want to display.
>
really cool ;)
I wanted such a browser

Tahnks

Cédrick

Reply | Threaded
Open this post in threaded view
|

Re: An 3.9 image for developers

Brad Fuller
In reply to this post by Romain Robbes
Romain Robbes wrote:

>
>>
>> - if on a browser, we choose a new default one with the upper left
>> icon, RB is twice and once written RefractoringBrowser. In
>> ImageConfigurator squeakDevImageConfiguration   there is    ...      
>>   addSqueakMapPackage: 'Tric-RefractoringBrowser';
>>    ...
>> RefractoringBrowser open an empty RB. Is it something normal ?
>
> Yes, it's a browser which shows only some packages, and not the entire
> image.
> You can select which packages you want to display.
This is cool. Very handy.

It just looks like a typo, though, in the open... menu:
Refactoring Browser
Refractoring Browser

It'd be nice to better differentiate it. Like maybe
Refactoring Browser
Refactoring Browser - empty



Reply | Threaded
Open this post in threaded view
|

Re: An 3.9 image for developers

Brad Fuller
Brad Fuller wrote:

> Romain Robbes wrote:
>  
>>> - if on a browser, we choose a new default one with the upper left
>>> icon, RB is twice and once written RefractoringBrowser. In
>>> ImageConfigurator squeakDevImageConfiguration   there is    ...      
>>>   addSqueakMapPackage: 'Tric-RefractoringBrowser';
>>>    ...
>>> RefractoringBrowser open an empty RB. Is it something normal ?
>>>      
>> Yes, it's a browser which shows only some packages, and not the entire
>> image.
>> You can select which packages you want to display.
>>    
> This is cool. Very handy.
>
> It just looks like a typo, though, in the open... menu:
> Refactoring Browser
> Refractoring Browser
>
> It'd be nice to better differentiate it. Like maybe
> Refactoring Browser
> Refactoring Browser - empty
>  
Ah... this is one instance and if you select another "Refractoring
Browser" from the open... menu you get the same object, not another
instantiation.

BTW, I get a
MessageNotUnderstood: OrderedCollection>>removeAll

when selecting "hide all" from the menu
===============================

hideAll
    self current categories removeAll


Reply | Threaded
Open this post in threaded view
|

RE: An 3.9 image for developers

Gary Chambers
In reply to this post by Klaus D. Witzel
Is it planned that the VMs get corrected? ;-)

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]]On Behalf Of Klaus
> D. Witzel
> Sent: 14 September 2006 8:14 PM
> To: [hidden email]
> Subject: Re: An 3.9 image for developers
>
>
> Hi Gary,
>
> on Thu, 14 Sep 2006 20:58:01 +0200, you wrote:
> > Or perhaps this should be put in, due to VM differences:
> >
> > Preferences class>>swapMouseButtons
> > "If we are on windows, flip anyway so that we are compatible
> > with other oses."
> >
> > |answer|
> > answer := self
> > valueOfFlag: #swapMouseButtons
> > ifAbsent: [false].
> > SmalltalkImage current platformName = 'Win32'
>
> Good idea but, what happens when the VM is corrected (the dev.image will
> be downlodable for many years to come).
>
> /Klaus
>
> > ifTrue: [answer := answer not].
> > ^answer
> >
> >
> > Haven't got a Mac etc to see how their VMs behave :-(
> >
> > Added this ince I transfer my image between Windows/Linux environments
> > on a
> > daily basis!
>
>


Reply | Threaded
Open this post in threaded view
|

RE: Automatic Button Swap (was Re: An 3.9 image for developers)

Gary Chambers
In reply to this post by Bert Freudenberg
Note the "perhaps".
Also, in #setPlatformPreferences it will change the actual preference so
that when loaded on a different Vm it will be unable to determine what the
user's preference was in the first place!

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]]On Behalf Of Bert
> Freudenberg
> Sent: 14 September 2006 9:07 PM
> To: The general-purpose Squeak developers list
> Subject: Automatic Button Swap (was Re: An 3.9 image for developers)
>
>
> Klaus D. Witzel wrote:
> > Hi Gary,
> >
> > on Thu, 14 Sep 2006 20:58:01 +0200, you wrote:
> >> Or perhaps this should be put in, due to VM differences:
> >>
> >> Preferences class>>swapMouseButtons
> >>     "If we are on windows, flip anyway so that we are compatible
> >>     with other oses."
> >>
> >>     |answer|
> >>     answer := self
> >>         valueOfFlag: #swapMouseButtons
> >>         ifAbsent: [false].
> >>     SmalltalkImage current platformName = 'Win32'
> >
> > Good idea but, what happens when the VM is corrected (the
> dev.image will
> > be downlodable for many years to come).
> >
> > /Klaus
> >
> >>         ifTrue: [answer := answer not].
> >>     ^answer
>
> Please do *not* put such changes in obscure places. There is a
> well-defined place for that (#setPlatformPreferences).
>
> Besides, the actual button behavior depends also on the VM preferences
> (F2 menu on Windows). That's a much better place to adjust this to your
> liking.
>
> - Bert -
>


Reply | Threaded
Open this post in threaded view
|

RE: Automatic Button Swap (was Re: An 3.9 image for developers)

Gary Chambers
In reply to this post by Klaus D. Witzel
LOL!

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]]On Behalf Of Klaus
> D. Witzel
> Sent: 14 September 2006 9:29 PM
> To: [hidden email]
> Subject: Re: Automatic Button Swap (was Re: An 3.9 image for developers)
>
>
> On Thu, 14 Sep 2006 22:07:06 +0200, Bert Freudenberg wrote:
> > Klaus D. Witzel wrote:
> >> Hi Gary,
> >>  on Thu, 14 Sep 2006 20:58:01 +0200, you wrote:
> >>> Or perhaps this should be put in, due to VM differences:
> >>>
> >>> Preferences class>>swapMouseButtons
> ...
> > Please do *not* put such changes in obscure places. There is a
> > well-defined place for that (#setPlatformPreferences).
> >
> > Besides, the actual button behavior depends also on the VM preferences
> > (F2 menu on Windows). That's a much better place to adjust this
> to your
> > liking.
>
> Great, a dev.image (a COMPUTER :) which automagically adapts Automatic
> Button Swap to the platform it runs on, can't wait to see that in action
> (am surrounded by apple'rs at the Bernesian Squeak meetings ;-)
>
> Thank you Bert.
>
> > - Bert -
> >
> >
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: An 3.9 image for developers

Brad Fuller
In reply to this post by Damien Cassou-3
Damien Cassou wrote:

> Hi,
>
> I'm creating a ready-to-use image for developers based on Squeak
> 3.9-7057. This image will be published in ftp.squeak.org. I would like
> to know what are the tools you use as a developer. The package
> ImageForDevelopers (available on SqueakMap and SqueakSource) will be
> used to configure everything.
>
> A Wiki has been set up and you can modify it:
> http://damiencassou.seasidehosting.st/seaside/pier
>
> Developers responsible for one or more of this packages should tell me
> where is the best version for an integration or directly fill the wiki.
>
> Do you want other packages included ? Or preferences that should be set ?
>
> This is for you, please contribute
>
How about if you rename the image/changes to something different than
the release image name?
Little thing, I know. But, that way no one will mistake the "developer"
version for the release image.

--
brad fuller
sonaural: www.sonaural.com
personal: www.bradfuller.com
          www.oreillynet.com/pub/au/2184




Reply | Threaded
Open this post in threaded view
|

Re: An 3.9 image for developers

Damien Cassou-3
Brad Fuller a écrit :
> Damien Cassou wrote:
> How about if you rename the image/changes to something different than
> the release image name?
> Little thing, I know. But, that way no one will mistake the "developer"
> version for the release image.

Sure sure. Is there a way to do it programatically, from the image ?


--
Damien Cassou


Reply | Threaded
Open this post in threaded view
|

Re: An 3.9 image for developers

Ramon Leon-4
In reply to this post by Brad Fuller
> BTW, I get a
> MessageNotUnderstood: OrderedCollection>>removeAll
>
> when selecting "hide all" from the menu
> ===============================
>
> hideAll
>     self current categories removeAll

I ran into that as well, I just add this...

Collection>>removeAll
     self removeAll: self copy


Reply | Threaded
Open this post in threaded view
|

Re: An 3.9 image for developers

Klaus D. Witzel
Hi Ramon,

on Sat, 16 Sep 2006 17:10:25 +0200, you wrote:

>> BTW, I get a
>> MessageNotUnderstood: OrderedCollection>>removeAll
>>  when selecting "hide all" from the menu
>> ===============================
>>  hideAll
>>     self current categories removeAll
>
> I ran into that as well, I just add this...
>
> Collection>>removeAll
>      self removeAll: self copy

You won't like it globally. Just do, when you need it,

  aCollection removeAll: aCollection copy

and let #removeAll as is.

/Klaus


1234