The Trunk: MonticelloConfigurations-mt.159.mcz

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

The Trunk: MonticelloConfigurations-mt.159.mcz

commits-2
Marcel Taeumel uploaded a new version of MonticelloConfigurations to project The Trunk:
http://source.squeak.org/trunk/MonticelloConfigurations-mt.159.mcz

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

Name: MonticelloConfigurations-mt.159
Author: mt
Time: 18 February 2020, 9:12:46.412015 am
UUID: 0f3711f1-35a6-2542-8c0a-2465bdc516ed
Ancestors: MonticelloConfigurations-dtl.158

Minor spelling/formatting fix in a progress label.

=============== Diff against MonticelloConfigurations-dtl.158 ===============

Item was changed:
  ----- Method: MCConfiguration>>updateFromRepositoriesWithoutCaching (in category 'updating') -----
  updateFromRepositoriesWithoutCaching
 
  | oldNames newNames sortedNames newDeps |
  oldNames := self dependencies collect: [:dep | dep versionInfo versionName].
  newNames := Dictionary new.
  self repositories
  do: [:repo |
  ProgressNotification signal: '' extra: 'Checking ', repo description.
  (repo possiblyNewerVersionsOfAnyOf: oldNames)
  do: [:newName | newNames at: newName put: repo]]
  displayingProgress: 'Searching new versions'.
 
  sortedNames := newNames keys asArray sort:
  [:a :b | a versionNumber > b versionNumber].
 
  newDeps := OrderedCollection new: self dependencies size.
  self dependencies
  do: [:dep |
  newDeps add: (sortedNames
  detect: [:each | each packageAndBranchName = dep packageAndBranchName]
  ifFound: [ :newName |
  | repo |
  repo := newNames at: newName.
  (self versionInfoNamed: newName for: dep from: repo)
  ifNil: [ dep ]
  ifNotNil: [ :info |
  MCVersionDependency package: dep package info: info ] ]
  ifNone: [ dep ]) ]
+ displayingProgress: 'Downloading new versions ...' translated.
- displayingProgress: 'downloading new versions'.
 
  self dependencies: newDeps.
  !