From fc04a38204c7e183cf8a86a1c381e5e78a817c1f Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Thu, 16 Nov 2023 15:05:50 +0100 Subject: [PATCH] Avoid RPackage extension Iceberg extends RPackage to add #iceRepository but this method is used only once in some really specific code. RPackage will be renamed into Package so we will have to update Iceberg and I think it is not worth having an extension here --- Iceberg/Iceberg.class.st | 2 +- Iceberg/RPackage.extension.st | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 Iceberg/RPackage.extension.st diff --git a/Iceberg/Iceberg.class.st b/Iceberg/Iceberg.class.st index 3227b7b320..8927314c45 100644 --- a/Iceberg/Iceberg.class.st +++ b/Iceberg/Iceberg.class.st @@ -221,5 +221,5 @@ Iceberg class >> update [ #(Iceberg LGitRepository MCFileTreeGitRepository) do: [:className | Smalltalk at: className - ifPresent: [ :class | class package iceRepository pull ] ] + ifPresent: [ :class | ( self class repositoryForPackage:class package) pull ] ] ] diff --git a/Iceberg/RPackage.extension.st b/Iceberg/RPackage.extension.st deleted file mode 100644 index 1a6e62a79a..0000000000 --- a/Iceberg/RPackage.extension.st +++ /dev/null @@ -1,7 +0,0 @@ -Extension { #name : 'RPackage' } - -{ #category : '*Iceberg-Core' } -RPackage >> iceRepository [ - ^ Iceberg repositoryForPackage: self - -]