[Pkg] Installer: Installer-Core-mtf.208.mcz

squeaksource-noreply at iam.unibe.ch squeaksource-noreply at iam.unibe.ch
Tue Jul 1 04:55:19 UTC 2008


A new version of Installer-Core was added to project Installer:
http://www.squeaksource.com/Installer/Installer-Core-mtf.208.mcz

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

Name: Installer-Core-mtf.208
Author: mtf
Time: 30 June 2008, 9:55:13 pm
UUID: f8e2ebcb-df96-4dfa-9b17-5a5b7628baf4
Ancestors: Installer-Core-mtf.207

Abstain from setting the creation template when loading stuff from Monticello. It is incorrect, and breaks on the latest monticello

=============== Diff against Installer-Core-mtf.207 ===============

Item was changed:
  ----- Method: Installer>>mcThing (in category 'monticello') -----
  mcThing
  
  	| loader files fileToLoad  version  count |
  
  	loader := self classMCVersionLoader new.
  	
  	1 to: self packages size do: [ :n |
  
  		self logCR: 'finding ', self package asString, '...'.
  		"several attempts to read files - repository readableFileNames sometimes fails"
  		count := 0. fileToLoad := nil.
  	
  		[count := count + 1.
  		 (fileToLoad = nil) and:[ count < 5 ] ] 
  			whileTrue: [
  							files := mc readableFileNames asSortedCollection: self mcSortFileBlock.
  							fileToLoad := files detect: self mcDetectFileBlock ifNone: [ nil ].
  		].
  
  		version := mc versionFromFileNamed: fileToLoad.
  		(version isKindOf: MCConfiguration) ifFalse:[
  			version workingCopy repositoryGroup addRepository: mc].
- 		mc creationTemplate: mc asCreationTemplate.
  		self log: ' found ', version fileName, '...'.
  
    		loader addVersion: version.
  
  		packages removeFirst.
  	].
  
  	^ loader
  !



More information about the Packages mailing list