The Trunk: Installer-Core-cmm.407.mcz

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

The Trunk: Installer-Core-cmm.407.mcz

commits-2
Chris Muller uploaded a new version of Installer-Core to project The Trunk:
http://source.squeak.org/trunk/Installer-Core-cmm.407.mcz

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

Name: Installer-Core-cmm.407
Author: cmm
Time: 2 July 2016, 2:58:33.524279 pm
UUID: 1d241bec-9f9c-4678-8692-3cf3f50c26e6
Ancestors: Installer-Core-cmm.406

When the user specifies to #useLocalRepository for configuration, but hasn't overridden their 'localRepository', calculate the #defaultLocalRepository based on the availability of a personal SqueakSource server (for history on one's own proprietary code), or not.

=============== Diff against Installer-Core-cmm.406 ===============

Item was added:
+ ----- Method: Installer class>>defaultLocalRepository (in category 'repository-overrides') -----
+ defaultLocalRepository
+ "Check for a personal, Magma-indexed SqueakSource server first, if none running, the the 'mc' directory in the current directory."
+ | localSqueaksource |
+ localSqueaksource := Installer monticello http: '<a href="http://localhost:8888'">http://localhost:8888'.
+ ^ localSqueaksource mc isIndexed
+ ifTrue: [localSqueaksource]
+ ifFalse: [Installer monticello directory: FileDirectory default / 'mc']!

Item was changed:
  ----- Method: Installer class>>localRepository (in category 'repository-overrides') -----
  localRepository
+ ^ localRepository ifNil: [self defaultLocalRepository]!
- ^ localRepository ifNil: [ Installer monticello directory: FileDirectory default / 'mc' ]!