[squeak-dev] The Inbox: SMLoader-cmm.77.mcz

commits at source.squeak.org commits at source.squeak.org
Wed May 22 21:30:38 UTC 2013


A new version of SMLoader was added to project The Inbox:
http://source.squeak.org/inbox/SMLoader-cmm.77.mcz

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

Name: SMLoader-cmm.77
Author: cmm
Time: 15 December 2011, 1:51:40.56 pm
UUID: 6ef92be0-2c18-4b85-84db-9832af388430
Ancestors: SMLoader-cmm.76

Force local cache refresh when saving a new package release.

=============== Diff against SMLoader-cmm.76 ===============

Item was changed:
  ----- Method: SMReleaseBrowser>>savePackageRelease: (in category 'private') -----
  savePackageRelease: downloadUrlString 
  	"We actually save the package-release to the users who is posting it, even if that is different than the owner."
- 	| response |
  	"Set sha1sum so it will be 'correct' until the next update from the SM server."
+ 	| response |
  	release
  		 downloadUrl: downloadUrlString ;
  		 sha1sum: nil.
  	response := smClient save: release.
  	(response isSuccess not or:
  		[ #('error' 'failed' ) anySatisfy:
  			[ : each | response content
  				includesSubstring: each
+ 				caseSensitive: false ] ]) ifTrue: [ self error: 'failed' ].
+ 	release
+ 		 removeFromLocalCache ;
+ 		 addToLocalCache!
- 				caseSensitive: false ] ]) ifTrue: [ self error: 'failed' ]!



More information about the Squeak-dev mailing list