> Hi Dale,
>
> 2011/1/12 Dale Henrichs <
dhenrich@vmware.com>:
> > Hern�n,
> >
> > It _is_ possible to write some scripts that could automate the checking:
> >
> > �ConfigurationOfXXX project updateProject
> >
> > loads the latest version of the mcz file for the configuration. Then you
> > could write a little script like:
> >
>
> Not so fast :)
> What would be nice is to
>
> A - Checking for new Configurations
> 1) Detect new uploaded ConfigurationOfXXX
>
> B - Checking for new package versions of existing Configurations
> 1) Detect new versions of loaded ConfigurationOfXXX
>
> 2) Inform the user
> 3) Ask the user if wants to load/update the ConfigurationOfXXX in background.
> 4) Ask the user if want to apply the new ConfigurationOfXXX for
> updating the XXX.
>
> Then people don't have to search ConfigurationOfXXX scripts over
> mailing lists and web pages.
>
> > �| project |
> > �project := ConfigurationOfXXX project.
> > �project updateProject
> > �project currentVersion < project latestVersion
> > � �ifTrue: [
> > � � �self inform: 'A new version of ConfigurationOXXX is available' ].
> >
> > to simplify the check for new versions a bit more...you could even automate
> > the load of the newer version if you were brave:)
> >
>
> I think brave souls were gone from earth long time ago :) but anyway
> this could be a dirty script to start
>
> [
> �| packageName pkgNames oldPkgsNames |
> �packageName := 'ConfigurationOf'.
> �pkgNames := OrderedCollection new.
> [ oldPkgsNames := pkgNames.
> �[ pkgNames := ( ScriptLoader new metacelloRepository allFileNames
> � � � � � � � select:[ : name | name beginsWith: packageName ]
> � � � � � � � thenCollect: [: v | v copyUpTo: $- ] ) asSet.
> � � � Transcript show: TimeStamp current.
> � � � pkgNames size > oldPkgsNames size
> � � � � � � � ifTrue: [Transcript
> � � � � � � � � � � � � � � � � � � � show: ' : New ConfigurationOf found : ' , ( pkgNames difference:
> oldPkgsNames ) asString; cr ]
> � � � � � � � ifFalse: [ Transcript
> � � � � � � � � � � � � � � � � � � � show: ' : No new ConfigurationOf were found'; cr ].
> � � � ]
> � � � on: Error
> � � � do: [ :ex | Transcript show: TimeStamp current; space; show: ex messageText ].
> � � � ( Delay forSeconds: 10 ) wait.
> � � � true ] whileTrue ] forkAt: Processor userBackgroundPriority. " 20 "
>
> then you may modify it for detecting new package versions, checking
> frequency, etc. I've seen there's a sort of Metacello UI...
>
> Hern�n
>
>
> > Dale
> >
> >
> > On 01/12/2011 01:56 PM, Hern�n Morales Durand wrote:
> >>
> >> Yes thanks.
> >> notice there are 80+ ConfigurationOf... in the MetacelloRepository and
> >> so many not listed there
> >>
> >> 2011/1/12 laurent laffont<
laurent.laffont@gmail.com>:
> >>>
> >>> Isn't what you're looking for ?
> >>>
http://book.pharo-project.org/book/PharoTools/
> >>> Laurent
> >>>
> >>> On Wed, Jan 12, 2011 at 8:44 PM, Hern�n Morales Durand
> >>> <
hernan.morales@gmail.com> �wrote:
> >>>>
> >>>> Ok if there are not, I think is a must, I spend a lot of time
> >>>> searching for the updated scripts or exporting/importing them in my
> >>>> images. What about creating a wiki page in the google project?
> >>>>
> >>>> Hern�n
> >>>>
> >>>> 2011/1/11 Hern�n Morales Durand<
hernan.morales@gmail.com>:
> >>>>>
> >>>>> Hi,
> >>>>>
> >>>>> Is there any page/tool where all the updated ConfigurationOf....
> >>>>> installing scripts are found?
> >>>>> Best regards,
> >>>>>
> >>>>> --
> >>>>> Hern�n Morales
> >>>>> Information Technology Manager,
> >>>>> Institute of Veterinary Genetics.
> >>>>> National Scientific and Technical Research Council (CONICET).
> >>>>> La Plata (1900), Buenos Aires, Argentina.
> >>>>> Telephone: +54 (0221) 421-1799.
> >>>>> Internal: 422
> >>>>> Fax: 425-7980 or 421-1799.
> >>>>>
> >>>>
> >>>
> >>
> >
> >
>