[Pkg] DeltaStreams: DeltaStreams-Converting-mtf.2.mcz

squeak-dev-noreply at lists.squeakfoundation.org squeak-dev-noreply at lists.squeakfoundation.org
Wed Aug 12 19:23:48 UTC 2009


A new version of DeltaStreams-Converting was added to project DeltaStreams:
http://www.squeaksource.com/DeltaStreams/DeltaStreams-Converting-mtf.2.mcz

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

Name: DeltaStreams-Converting-mtf.2
Author: mtf
Time: 12 August 2009, 3:23:47 pm
UUID: b8ac042f-f507-4947-b048-20a1c0cac827
Ancestors: DeltaStreams-Converting-mtf.1

split into a generic converter and one specific to Pharo

=============== Diff against DeltaStreams-Converting-mtf.1 ===============

Item was added:
+ ----- Method: DSPharoUpdateStreamConverter>>readSapphireRepoAsPharoRepo (in category 'as yet unclassified') -----
+ readSapphireRepoAsPharoRepo
+ "Hack the compiler to compile 'http://www.squeaksource.com/Sapphire' as 'http://www.squeaksource.com/Pharo'. Very evil. Allows us to file in changesets that reference the old Sapphire repository, which was renamed to Pharo"
+ 
+ 	"LeafNode sourceCodeAt: #key:"
+ 	LeafNode compile: 'key: object
+ 
+ 	object = ''http://www.squeaksource.com/Sapphire''
+ 		ifTrue: [key := ''http://www.squeaksource.com/Pharo''. ^ self].
+ 	object = ''http://www.squeaksource.com/Sapphire/''
+ 		ifTrue: [key := ''http://www.squeaksource.com/Pharo/''. ^ self].
+ 	key := object
+ ' classified: #'initialize-release'.
+ 	LeafNode >> #key: literalAt: 2 put: 'http://', 'www.squeaksource.com/Sapphire'.
+ 	LeafNode >> #key: literalAt: 4 put: 'http://', 'www.squeaksource.com/Sapphire/'.
+ 
+ 	ScriptLoader recompile: #repository.!

Item was added:
+ ----- Method: DSUpdateStreamConverter>>run (in category 'as yet unclassified') -----
+ run
+ 
+ 	Utilities updateFromServer!

Item was added:
+ DSUpdateStreamConverter subclass: #DSPharoUpdateStreamConverter
+ 	instanceVariableNames: ''
+ 	classVariableNames: ''
+ 	poolDictionaries: ''
+ 	category: 'DeltaStreams-Converting'!
+ 
+ !DSPharoUpdateStreamConverter commentStamp: 'mtf 8/12/2009 15:18' prior: 0!
+ I know how to convert the Pharo update stream to a deltastream!

Item was added:
+ ----- Method: DSUpdateStreamConverter class>>run (in category 'as yet unclassified') -----
+ run
+ 	self new run!

Item was added:
+ ----- Method: DSPharoUpdateStreamConverter>>run (in category 'as yet unclassified') -----
+ run
+ 
+ 	self readSapphireRepoAsPharoRepo.
+ 	super run!

Item was removed:
- ----- Method: DSUpdateStreamConverter>>convertPharoUpdates (in category 'as yet unclassified') -----
- convertPharoUpdates
- 
- 	self readSapphireRepoAsPharoRepo.
- 	Utilities updateFromServer!

Item was removed:
- ----- Method: DSUpdateStreamConverter>>readSapphireRepoAsPharoRepo (in category 'as yet unclassified') -----
- readSapphireRepoAsPharoRepo
- "Hack the compiler to compile 'http://www.squeaksource.com/Sapphire' as 'http://www.squeaksource.com/Pharo'. Very evil. Allows us to file in changesets that reference the old Sapphire repository, which was renamed to Pharo"
- 
- 	"LeafNode sourceCodeAt: #key:"
- 	LeafNode compile: 'key: object
- 
- 	object = ''http://www.squeaksource.com/Sapphire''
- 		ifTrue: [key := ''http://www.squeaksource.com/Pharo''. ^ self].
- 	object = ''http://www.squeaksource.com/Sapphire/''
- 		ifTrue: [key := ''http://www.squeaksource.com/Pharo/''. ^ self].
- 	key := object
- ' classified: #'initialize-release'.
- 	LeafNode >> #key: literalAt: 2 put: 'http://', 'www.squeaksource.com/Sapphire'.
- 	LeafNode >> #key: literalAt: 4 put: 'http://', 'www.squeaksource.com/Sapphire/'.!



More information about the Packages mailing list