The Trunk: MonticelloConfigurations-mt.162.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.162.mcz

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

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

Name: MonticelloConfigurations-mt.162
Author: mt
Time: 4 June 2020, 10:45:11.536143 am
UUID: befbc166-bc90-5d44-84df-7eaf4c0ee203
Ancestors: MonticelloConfigurations-dtl.161

Adds a convenient way to get all packages that are dependent in the updates current update map.

MCMcmUpdater default dependentPackages.

=============== Diff against MonticelloConfigurations-dtl.161 ===============

Item was added:
+ ----- Method: MCMcmUpdater>>dependentPackages (in category 'private') -----
+ dependentPackages
+ "Answers all packages that are referenced in the update map."
+
+ | repo updateList |
+ repo := self getRepositoryFromRepositoryGroup.
+ updateList := self refreshUpdateMapFor: repo with: (self updateListFor: repo).
+ ^ updateList gather: [:assoc |
+ (repo versionNamed: assoc value) dependencies
+ collect: [:dep | dep package]]
+ !