[squeak-dev] The Inbox: ReleaseBuilder-ct.205.mcz
Christoph.Thiede at student.hpi.uni-potsdam.de
Thu Jan 9 07:47:17 UTC 2020
A problem with this implementation (both old and new) is that it appears to rely on the fact that no other packages are installed - which is true when creating a release from a fresh image, but wrong for many existing images. I don't know enough about the ReleaseBuilder: This code is only expected to be run on a CI server, is it? I won't be able to build the release locally without adding Trunk & Co. to all installed third-party packages? Do you think this would be worth a change?
| trunk |
trunk := MCRepository trunk.
^ MCWorkingCopy allManagers
collect: [:copy | copy repositoryGroup]
thenSelect: [:group | group repositories includes: trunk]
What would be the best approach for me to test this commit?
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von commits at source.squeak.org <commits at source.squeak.org>
Gesendet: Donnerstag, 9. Januar 2020 08:42:10
An: squeak-dev at lists.squeakfoundation.org
Betreff: [squeak-dev] The Inbox: ReleaseBuilder-ct.205.mcz
Christoph Thiede uploaded a new version of ReleaseBuilder to project The Inbox:
==================== Summary ====================
Time: 9 January 2020, 8:41:48.233248 am
Add The Inbox to all packages by default
=============== Diff against ReleaseBuilder-mt.204 ===============
Item was changed:
----- Method: ReleaseBuilder class>>addAdditionalRepositories (in category 'scripts - support') -----
+ self addGlobalRepository: self inboxRepository.
- MCRepositoryGroup default addRepository: self inboxRepository.
) collect: [:url |
MCRepositoryGroup default addRepository: (MCHttpRepository
Item was added:
+ ----- Method: ReleaseBuilder class>>addGlobalRepository: (in category 'scripts - support') -----
+ addGlobalRepository: anMCRepository
+ MCRepositoryGroup default addRepository: anMCRepository.
+ MCWorkingCopy allManagers
+ do: [ :each | each repositoryGroup:
+ (MCRepositoryGroup new
+ addRepository: anMCRepository ;
+ yourself) ].!
Item was changed:
----- Method: ReleaseBuilder class>>switchToNewRepository: (in category 'scripts - support') -----
+ switchToNewRepository: anMCRepository
- switchToNewRepository: anMCRepository
MCMcmUpdater defaultUpdateURL: anMCRepository description.
+ self addGlobalRepository: anMCRepository.!
- MCRepositoryGroup default addRepository: anMCRepository.
- MCWorkingCopy allManagers do:
- [ : each | each repositoryGroup:
- (MCRepositoryGroup new
- addRepository: anMCRepository ;
- yourself) ]!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev