Squeak 4.6: MonticelloConfigurations-dtl.139.mcz

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

Squeak 4.6: MonticelloConfigurations-dtl.139.mcz

commits-2
David T. Lewis uploaded a new version of MonticelloConfigurations to project Squeak 4.6:
http://source.squeak.org/squeak46/MonticelloConfigurations-dtl.139.mcz

==================== Summary ====================

Name: MonticelloConfigurations-dtl.139
Author: dtl
Time: 10 October 2015, 9:49:50.558 pm
UUID: 2f42a23f-99ef-48d0-a0eb-9ec51dd31cde
Ancestors: MonticelloConfigurations-topa.138

Fix default update map name access so preference is displayed correctly

=============== Diff against MonticelloConfigurations-dtl.137 ===============

Item was changed:
  ----- Method: MCMcmUpdater class>>default (in category 'instance creation') -----
  default
  "The default instance for system updates. Uses a default update map
  name that may be set as a preference to enable a specific update stream
  for a repository."
 
  ^ self updaters
  at: self defaultUpdateURL
+ ifAbsentPut: [self updateMapNamed: 'update' ]!
- ifAbsentPut: [self updateMapNamed: self updateMapName]!

Item was changed:
  ----- Method: MCMcmUpdater class>>initialize (in category 'class initialization') -----
  initialize
  "MCMcmUpdater initialize"
  DefaultUpdateURL ifNil:[
  DefaultUpdateURL := MCHttpRepository trunkUrlString.
  ].
+ "Call
+ MCMcmUpdater resetUpdaters
+ manually if necessary"!
- Updaters := nil.
- !

Item was added:
+ ----- Method: MCMcmUpdater class>>resetUpdaters (in category 'class initialization') -----
+ resetUpdaters
+
+ Updaters := nil.!

Item was changed:
  ----- Method: MCMcmUpdater class>>updateMapName (in category 'preferences') -----
  updateMapName
  "The default update map name"
 
  <preference: 'Update map name'
  category: 'updates'
  description: 'Base name for the update maps'
  type: #String>
 
+ ^ self default updateMapName
+ !
- ^ 'update'!


Reply | Threaded
Open this post in threaded view
|

Re: Squeak 4.6: MonticelloConfigurations-dtl.139.mcz

Tobias Pape
Nevermind :D

On 11.10.2015, at 01:51, [hidden email] wrote:

> David T. Lewis uploaded a new version of MonticelloConfigurations to project Squeak 4.6:
> http://source.squeak.org/squeak46/MonticelloConfigurations-dtl.139.mcz
>
> ==================== Summary ====================
>
> Name: MonticelloConfigurations-dtl.139
> Author: dtl
> Time: 10 October 2015, 9:49:50.558 pm
> UUID: 2f42a23f-99ef-48d0-a0eb-9ec51dd31cde
> Ancestors: MonticelloConfigurations-topa.138
>
> Fix default update map name access so preference is displayed correctly
>
> =============== Diff against MonticelloConfigurations-dtl.137 ===============
>
> Item was changed:




Reply | Threaded
Open this post in threaded view
|

Re: Squeak 4.6: MonticelloConfigurations-dtl.139.mcz

David T. Lewis
On Sun, Oct 11, 2015 at 08:15:13AM +0200, Tobias Pape wrote:
> Nevermind :D
>


Actually it is still not right. It does not properly handle the case of
changing update maps e.g. from 'update' to 'update.V3'. Currently the
dictionary of updaters is indexed only by repository URL. It probably
should be done by URL + update map name.

Dave



> On 11.10.2015, at 01:51, [hidden email] wrote:
>
> > David T. Lewis uploaded a new version of MonticelloConfigurations to project Squeak 4.6:
> > http://source.squeak.org/squeak46/MonticelloConfigurations-dtl.139.mcz
> >
> > ==================== Summary ====================
> >
> > Name: MonticelloConfigurations-dtl.139
> > Author: dtl
> > Time: 10 October 2015, 9:49:50.558 pm
> > UUID: 2f42a23f-99ef-48d0-a0eb-9ec51dd31cde
> > Ancestors: MonticelloConfigurations-topa.138
> >
> > Fix default update map name access so preference is displayed correctly
> >
> > =============== Diff against MonticelloConfigurations-dtl.137 ===============
> >
> > Item was changed:
>
>
>