[squeak-dev] The Trunk: Installer-Core-cmm.407.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Jul 2 19:58:43 UTC 2016

Chris Muller uploaded a new version of Installer-Core to project The Trunk:

==================== 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: '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 ifNil: [self defaultLocalRepository]!
- 	^ localRepository ifNil: [ Installer monticello directory: FileDirectory default / 'mc' ]!

More information about the Squeak-dev mailing list