-
Notifications
You must be signed in to change notification settings - Fork 85
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 #989 from tesonep/issue/988
issue/988
- Loading branch information
Showing
14 changed files
with
57 additions
and
39 deletions.
There are no files selected for viewing
15 changes: 0 additions & 15 deletions
15
...erg-Memory.package/IceRingWorkingCopy.class/instance/impactPackageChanges.currentNode..st
This file was deleted.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
Iceberg-Memory.package/IceRingWorkingCopy.class/instance/loadChangesInWorkingCopy..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 @@ | ||
private-changes | ||
loadChangesInWorkingCopy: aTree | ||
|
||
| visitor | | ||
visitor := IceRingWorkingCopyChangerVisitor on: self. | ||
|
||
self ignoreNotificationsDuring: [ | ||
aTree accept: visitor. | ||
] |
4 changes: 4 additions & 0 deletions
4
Iceberg-Memory.package/IceRingWorkingCopyChangerVisitor.class/instance/environment.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 | ||
environment | ||
|
||
^ self workingCopy environment |
4 changes: 4 additions & 0 deletions
4
Iceberg-Memory.package/IceRingWorkingCopyChangerVisitor.class/instance/packages.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 | ||
packages | ||
|
||
^ self workingCopy packages |
15 changes: 12 additions & 3 deletions
15
Iceberg-Memory.package/IceRingWorkingCopyChangerVisitor.class/instance/visitPackage..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 |
---|---|---|
@@ -1,6 +1,15 @@ | ||
visiting | ||
visitPackage: anIcePackageDefinition | ||
|
||
workingCopy | ||
impactPackageChanges: anIcePackageDefinition | ||
currentNode: currentNode | ||
| visitor | | ||
|
||
anIcePackageDefinition categories do: [ :categoryName | | ||
self workingCopy packages | ||
detect: [ :package | categoryName beginsWith: package name ] | ||
ifFound: [ :package | | ||
(self environment ensurePackageNamed: package name) | ||
addClassTag: categoryName ] | ||
ifNone: [ self environment ensurePackageNamed: categoryName ] ]. | ||
|
||
visitor := IceRingWorkingCopyChangerVisitor on: self workingCopy. | ||
currentNode childrenDo: [ :each | each accept: visitor ] |
4 changes: 4 additions & 0 deletions
4
Iceberg-Memory.package/IceRingWorkingCopyChangerVisitor.class/instance/workingCopy.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 | ||
workingCopy | ||
|
||
^ workingCopy |
2 changes: 1 addition & 1 deletion
2
Iceberg-TipUI.package/IceCheckoutAllPackages.extension/class/description.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
*Iceberg-TipUI | ||
description | ||
^ 'Checkout ALL packages in the repository, in alphabetical order' | ||
^ 'Checkout ALL packages in the repository' |
2 changes: 1 addition & 1 deletion
2
Iceberg-TipUI.package/IceCheckoutAlreadyLoadedPackages.extension/class/description.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
*Iceberg-TipUI | ||
description | ||
^ 'Checkout packages ALREADY LOADED in the image, in alphabetical order' | ||
^ 'Checkout packages ALREADY LOADED in the image' |
12 changes: 0 additions & 12 deletions
12
Iceberg.package/IceWorkingCopy.class/instance/impactPackageChanges.currentNode..st
This file was deleted.
Oops, something went wrong.
8 changes: 6 additions & 2 deletions
8
Iceberg.package/IceWorkingCopy.class/instance/loadChangesInWorkingCopy..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 |
---|---|---|
@@ -1,6 +1,10 @@ | ||
private-changes | ||
loadChangesInWorkingCopy: aTree | ||
|
||
| visitor | | ||
visitor := IceWorkingCopyPatcherVisitor on: self repository. | ||
aTree accept: visitor. | ||
|
||
self ignoreNotificationsDuring: [ | ||
aTree accept: (IceWorkingCopyPatcherVisitor on: self repository) | ||
] | ||
visitor load. | ||
] |
4 changes: 4 additions & 0 deletions
4
Iceberg.package/IceWorkingCopyPatcherVisitor.class/instance/initialize.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 @@ | ||
initialization | ||
initialize | ||
super initialize. | ||
loader := MCPackageLoader new |
3 changes: 3 additions & 0 deletions
3
Iceberg.package/IceWorkingCopyPatcherVisitor.class/instance/load.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,3 @@ | ||
loading | ||
load | ||
loader load |
11 changes: 7 additions & 4 deletions
11
Iceberg.package/IceWorkingCopyPatcherVisitor.class/instance/visitPackage..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 |
---|---|---|
@@ -1,6 +1,9 @@ | ||
visiting | ||
visitPackage: anIcePackageDefinition | ||
|
||
self repository workingCopy | ||
impactPackageChanges: anIcePackageDefinition | ||
currentNode: currentNode | ||
|
||
(self repository packageNamed: anIcePackageDefinition name) isLoaded | ||
ifFalse: [ ^ self ]. | ||
|
||
currentNode accept: (IceMCSnapshotPatchVisitor new | ||
patcher: loader; | ||
yourself). |
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