[squeak-dev] The Trunk: ReleaseBuilder-mt.217.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Nov 16 14:16:48 UTC 2021


Marcel Taeumel uploaded a new version of ReleaseBuilder to project The Trunk:
http://source.squeak.org/trunk/ReleaseBuilder-mt.217.mcz

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

Name: ReleaseBuilder-mt.217
Author: mt
Time: 16 November 2021, 3:16:47.475795 pm
UUID: 83ea78fb-e83f-ce44-97ba-56ba834f320a
Ancestors: ReleaseBuilder-mt.216

Do not add non-existent release repositories. Catch new NotFound error, which can be signaled since Monticello-ct.747.

=============== Diff against ReleaseBuilder-mt.216 ===============

Item was changed:
  ----- Method: ReleaseBuilder class>>assureReleaseRepositoryReadAccess: (in category 'manual') -----
  assureReleaseRepositoryReadAccess: repo
  
  	self releaseLocally ifTrue: [
  		(FileDirectory on: repo description) assureExistence.
  		^ true].
  	
+ 	[repo allFileNames] on: NetworkError, NotFound do: [
- 	[repo allFileNames] on: NetworkError do: [
  		self
  			inform: ('Release Builder - Manual Step Required\\Please create the release repository:\{1}\...and ensure that you have global read access to it.' withCRs
  				format: {repo description}).
  		^ false].
  	^ true!

Item was changed:
  ----- Method: ReleaseBuilder class>>releaseRepository (in category 'accessing') -----
  releaseRepository
  
  	(MCRepositoryGroup default repositories
  		detect: [:repo | repo description = self releaseRepositoryUrl]
  		ifNone: [MCRepository location: self releaseRepositoryUrl])
  			in: [:repo |
- 				MCRepositoryGroup default addRepository: repo.
  				(self assureReleaseRepositoryReadAccess: repo)
  					ifFalse: [ReleaseBuilderFailed signal: 'Could not build the release.'].
+ 				MCRepositoryGroup default addRepository: repo.
  				^ repo]!



More information about the Squeak-dev mailing list