Skip to content

Commit

Permalink
Reorganize and reduce compatibility packages
Browse files Browse the repository at this point in the history
MCRepositoryGroup methods have been added in Squeak 6.0,
and they were ported back to Squeak 5.3. So the extensions are
only needed in Squeak 5.2 and below. Rename the package to
SquotCompatibility-Squeak52 accordingly.
Remove packages for Pharo and Squeak 6.0 since they are not used
and just add complexity at the moment.

Ref #349
  • Loading branch information
j4yk committed Jul 11, 2022
1 parent 4c2e349 commit 4097f80
Show file tree
Hide file tree
Showing 32 changed files with 12 additions and 71 deletions.
8 changes: 3 additions & 5 deletions .squot
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
OrderedDictionary {
'src/VersionControl.package' : #SquotCypressCodeSerializer,
'src/SquotCompatibility-Pharo.package' : #SquotCypressCodeSerializer,
'src/SquotCompatibility-SqueakCommon.package' : #SquotCypressCodeSerializer,
'src/SquotCompatibility-Squeak52.package' : #SquotCypressCodeSerializer,
'src/Squot.package' : #SquotCypressCodeSerializer,
'src/FileSystem-Git.package' : #SquotCypressCodeSerializer,
'src/Squit.package' : #SquotCypressCodeSerializer,
'src/BaselineOfSquot.package' : #SquotCypressCodeSerializer,
'src/SquotTonel-Core.package' : #SquotCypressCodeSerializer,
'src/SquotTonel-Tests.package' : #SquotCypressCodeSerializer,
'src/SquotCompatibility-Squeak50.package' : #SquotCypressCodeSerializer,
'src/SquotCompatibility-Squeak60.package' : #SquotCypressCodeSerializer,
'src/SquotCompatibility-SqueakCommon.package' : #SquotCypressCodeSerializer
'src/SquotTonel-Tests.package' : #SquotCypressCodeSerializer
}
2 changes: 1 addition & 1 deletion src/BaselineOfSquot.package/.squot-contents
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
SquotTrackedObjectMetadata {
#objectClassName : #PackageInfo,
#id : UUID [ '2e6bf85bea1d114fb70219ff89791241' ],
#objectsReplacedByNames : true,
#slotOverrides : { },
#objectsReplacedByNames : true,
#serializer : #SquotCypressCodeSerializer
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,22 +50,12 @@ baseline: spec
group: 'default' with: #('Squit' 'Squot' 'SquotTonel-Core');
group: 'tests' with: #('default' 'SquotTonel-Tests'). ].

spec for: #pharo do: [
spec package: 'SquotCompatibility-Pharo'.
spec package: 'Squot' with: [
spec includes: 'SquotCompatibility-Pharo']].

spec for: #'squeakCommon' do: [
spec package: 'SquotCompatibility-SqueakCommon'.
spec package: 'Squot' with: [
spec includes: 'SquotCompatibility-SqueakCommon']].

spec for: #'squeak5.x' do: [
spec package: 'SquotCompatibility-Squeak50'.
spec package: 'Squot' with: [
spec includes: 'SquotCompatibility-Squeak50']].

spec for: #'squeak6.x' do: [
spec package: 'SquotCompatibility-Squeak60'.
spec for: #(#'squeak5.0.x' #'squeak5.1.x' #'squeak5.2.x' "not for squeak5.3") do: [
spec package: 'SquotCompatibility-Squeak52'.
spec package: 'Squot' with: [
spec includes: 'SquotCompatibility-Squeak60']].
spec includes: 'SquotCompatibility-Squeak52']].
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"class" : {
},
"instance" : {
"baseline:" : "ct 10/30/2021 22:23",
"baseline:" : "jr 7/11/2022 17:59",
"projectClass" : "jr 5/4/2017 17:25" } }
7 changes: 0 additions & 7 deletions src/SquotCompatibility-Pharo.package/.squot-contents

This file was deleted.

2 changes: 0 additions & 2 deletions src/SquotCompatibility-Pharo.package/README.md

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions src/SquotCompatibility-Squeak50.package/.filetree

This file was deleted.

This file was deleted.

Empty file.
2 changes: 0 additions & 2 deletions src/SquotCompatibility-Squeak50.package/properties.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*SquotCompatibility-Squeak50-private
*SquotCompatibility-Squeak52-private
cacheAllFileNamesDuring: aBlock
^ (repositories
inject: aBlock
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*SquotCompatibility-Squeak50-testing
*SquotCompatibility-Squeak52-testing
isValid

^ repositories allSatisfy: #isValid
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
*SquotCompatibility-Squeak50
*SquotCompatibility-Squeak52
packageNamed: aString ifPresent: aBlock
^ packages at: aString ifPresent: aBlock
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SystemOrganization addCategory: #'SquotCompatibility-Squeak52'!
4 changes: 0 additions & 4 deletions src/SquotCompatibility-Squeak60.package/.filetree

This file was deleted.

5 changes: 0 additions & 5 deletions src/SquotCompatibility-Squeak60.package/.squot-contents

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Empty file.
2 changes: 0 additions & 2 deletions src/SquotCompatibility-Squeak60.package/properties.json

This file was deleted.

0 comments on commit 4097f80

Please sign in to comment.