-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #189 from hpi-swa-lab/squeaksource
Add relevant packages to SqueakSource
- Loading branch information
Showing
15 changed files
with
109 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
...s/SBE-Extract.package/MCVersionNameAndMessageRequest.extension/instance/resumeMessage..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
*SBE-Extract-handling | ||
resumeMessage: aMessage | ||
|
||
^ self | ||
resumeMessage: aMessage | ||
excluding: #() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
6 changes: 6 additions & 0 deletions
6
SmalltalkSources/SBE-Extract.package/SBESqueaksource.class/class/extractToRepository..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
extracting | ||
extractToRepository: aMCRepository | ||
|
||
^ self | ||
extractToRepository: aMCRepository | ||
message: 'Updates sources.' |
14 changes: 14 additions & 0 deletions
14
...lkSources/SBE-Extract.package/SBESqueaksource.class/class/extractToRepository.message..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
extracting | ||
extractToRepository: aMCRepository message: message | ||
|
||
aMCRepository cacheAllFileNamesDuring: [ | ||
self packageNames do: [:packageName | | ||
| workingCopy version | | ||
workingCopy := MCWorkingCopy forPackage: (MCPackage new name: packageName). | ||
self assert: (workingCopy possiblyNewerVersionsIn: aMCRepository) isEmpty. | ||
version := [workingCopy newVersion] | ||
on: MCRepositoryRequest | ||
do: [:req | req resume: aMCRepository] | ||
on: MCVersionNameAndMessageRequest | ||
do: [:req | req resumeMessage: message]. | ||
aMCRepository storeVersion: version]]. |
6 changes: 6 additions & 0 deletions
6
SmalltalkSources/SBE-Extract.package/SBESqueaksource.class/class/extractToRepositorySBE60.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
extracting | ||
extractToRepositorySBE60 | ||
|
||
^ self extractToRepository: | ||
(MCRepositoryGroup default repositories | ||
detect: [:each | each description = 'http://www.squeaksource.com/SqueakByExample60']) |
9 changes: 9 additions & 0 deletions
9
SmalltalkSources/SBE-Extract.package/SBESqueaksource.class/class/knownIssues.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
as yet unclassified | ||
knownIssues | ||
self flag: #todos. | ||
" | ||
* At least I (ct) had problems writing to the Squeaksource, so I temporarily enabled global write access for writing | ||
* Version numbers are not always monotonically incremented. Not sure why this is, but deleting the files from the package cache and unloading the packages from the image helped me to reset most of the version numbers. | ||
* Might automate this later as part of the CI | ||
* Add support for upcoming editions in the future | ||
" |
4 changes: 4 additions & 0 deletions
4
SmalltalkSources/SBE-Extract.package/SBESqueaksource.class/class/packageNames.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
packageNames | ||
|
||
^ #('SBE-Environment' 'SBE-Monticello' 'SBE-Morphic' 'SBE-Quinto' 'SBE-Streams') |
9 changes: 9 additions & 0 deletions
9
SmalltalkSources/SBE-Extract.package/SBESqueaksource.class/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"class" : { | ||
"extractToRepository:" : "ct 6/12/2023 22:20", | ||
"extractToRepository:message:" : "ct 6/12/2023 22:19", | ||
"extractToRepositorySBE60" : "ct 6/12/2023 22:22", | ||
"knownIssues" : "ct 6/13/2023 09:42", | ||
"packageNames" : "ct 6/12/2023 22:11" }, | ||
"instance" : { | ||
} } |
14 changes: 14 additions & 0 deletions
14
SmalltalkSources/SBE-Extract.package/SBESqueaksource.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"category" : "SBE-Extract", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
], | ||
"name" : "SBESqueaksource", | ||
"pools" : [ | ||
], | ||
"super" : "Object", | ||
"type" : "normal" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.