Skip to content

Commit

Permalink
Merge pull request #1836 from jecisc/remove-dead-code
Browse files Browse the repository at this point in the history
Remove dead code from Iceberg
  • Loading branch information
Ducasse authored Aug 3, 2024
2 parents 1f698e8 + 3969d1a commit 5e982cb
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 117 deletions.
12 changes: 0 additions & 12 deletions Iceberg/IceMetacelloRepositoryAdapter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@ IceMetacelloRepositoryAdapter >> canUpgradeTo: anMCGitBasedRepository [
and: [ self repoPath = anMCGitBasedRepository repoPath and: [ self projectVersion = anMCGitBasedRepository projectVersion ]]
]

{ #category : 'accessing' }
IceMetacelloRepositoryAdapter >> commitIdFor: aWorkingCopy ifFound: aBlock [

self flag: #pharoTodo. "Do nothing?"
]

{ #category : 'accessing' }
IceMetacelloRepositoryAdapter >> description [

Expand Down Expand Up @@ -95,12 +89,6 @@ IceMetacelloRepositoryAdapter >> hash [
^ self description hash
]

{ #category : 'compatibility' }
IceMetacelloRepositoryAdapter >> isCache [
"User for Kommiter and Versionner"
^ false
]

{ #category : 'compatibility' }
IceMetacelloRepositoryAdapter >> isRemote [
"User for Komitter"
Expand Down
6 changes: 0 additions & 6 deletions Iceberg/IcePackage.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,6 @@ IcePackage >> currentCommits [
^ workingCopy referenceCommits
]

{ #category : 'accessing' }
IcePackage >> directoryName [

^ self repository directoryNameForPackage: self
]

{ #category : 'comparing' }
IcePackage >> hash [
^ self name hash
Expand Down
7 changes: 0 additions & 7 deletions Iceberg/MCAddition.extension.st

This file was deleted.

5 changes: 0 additions & 5 deletions Iceberg/MCDefinition.extension.st
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
Extension { #name : 'MCDefinition' }

{ #category : '*Iceberg-Changes' }
MCDefinition >> addAnalysisToPackageChangeSet: aPackageChangeSet change: aChange [
aPackageChangeSet addChange: aChange
]

{ #category : '*Iceberg-changes' }
MCDefinition >> isFileDefinition [

Expand Down
6 changes: 0 additions & 6 deletions Iceberg/MCGitHubRepository.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ MCGitHubRepository class >> commitIdFor: aWorkingCopy [

]

{ #category : '*Iceberg-Adapters' }
MCGitHubRepository >> commitIdFor: aMCWorkingCopy ifFound: aBlockClosure [
(aMCWorkingCopy repositoryGroup includes: self)
ifTrue: [ aBlockClosure value: self commitId ]
]

{ #category : '*Iceberg-Adapters' }
MCGitHubRepository >> httpsUrl [
^ 'https://github.com/', projectPath, '.git'
Expand Down
15 changes: 0 additions & 15 deletions Iceberg/MCModification.extension.st

This file was deleted.

11 changes: 0 additions & 11 deletions Iceberg/MCOrganizationDefinition.extension.st

This file was deleted.

13 changes: 0 additions & 13 deletions Iceberg/MCPatchOperation.extension.st

This file was deleted.

6 changes: 0 additions & 6 deletions Iceberg/MCPostscriptDefinition.extension.st

This file was deleted.

7 changes: 0 additions & 7 deletions Iceberg/MCRemoval.extension.st

This file was deleted.

6 changes: 0 additions & 6 deletions Iceberg/MCRepository.extension.st

This file was deleted.

6 changes: 0 additions & 6 deletions Iceberg/MCVersion.extension.st

This file was deleted.

17 changes: 0 additions & 17 deletions Iceberg/MCWorkingCopy.extension.st
Original file line number Diff line number Diff line change
@@ -1,23 +1,6 @@
Extension { #name : 'MCWorkingCopy' }

{ #category : '*Iceberg' }
MCWorkingCopy >> ancestry: anAncestry [

ancestry := anAncestry
]

{ #category : '*Iceberg' }
MCWorkingCopy >> info [
^ self versionInfo
]

{ #category : '*Iceberg-Adapters' }
MCWorkingCopy >> loadedVersion [
self ancestors do: [ :ancestor |
(self repositoryGroup
versionWithInfo: ancestor
ifNone: [ MCRepositoryGroup default versionWithInfo: ancestor ifNone: [] ])
ifNotNil: [ :version | ^ version ]
].

]

0 comments on commit 5e982cb

Please sign in to comment.