Skip to content

Commit

Permalink
Remove WorkingCopy spotter entries
Browse files Browse the repository at this point in the history
Those entries are the only remanent calling some GUI of Monticello. I propose to remove them especially since they are written in Morph and dealing with low level stuff such as manipulating the cursor
  • Loading branch information
jecisc committed Nov 13, 2023
1 parent 6764eeb commit b89455a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 39 deletions.
3 changes: 2 additions & 1 deletion src/NewTools-MethodBrowsers/MessageListPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,8 @@ MessageListPresenter >> packageOf: anItem [

{ #category : 'private' }
MessageListPresenter >> protocolNameForItem: anItem [
^ anItem category ifNil: [ '' ]

^ anItem protocolName ifNil: [ '' ]
]

{ #category : 'actions' }
Expand Down
38 changes: 0 additions & 38 deletions src/NewTools-Spotter-Extensions/MCWorkingCopy.extension.st
Original file line number Diff line number Diff line change
@@ -1,18 +1,5 @@
Extension { #name : 'MCWorkingCopy' }

{ #category : '*NewTools-Spotter-Extensions' }
MCWorkingCopy >> spotterAllRepositoriesFor: aStep [
<stSpotterOrder: 20>
aStep listProcessor
title: 'All other repositories';
allCandidates: [ MCRepositoryGroup default repositories \ self repositoryGroup repositories ];
itemName: [ :item | item description ];
actLogic: [ :item :step |
step exit.
self spotterCommit: self in: item ];
filter: StFilterSubstring
]

{ #category : '*NewTools-Spotter-Extensions' }
MCWorkingCopy >> spotterAncestorsFor: aStep [
<stSpotterOrder: 2>
Expand All @@ -23,18 +10,6 @@ MCWorkingCopy >> spotterAncestorsFor: aStep [
filter: StFilterSubstring
]

{ #category : '*NewTools-Spotter-Extensions' }
MCWorkingCopy >> spotterCommit: workingCopy in: aRepository [
| newVersion |

newVersion := workingCopy newVersionIn: aRepository.
newVersion ifNil: [ ^ self ].
Cursor wait showWhile: [
[ aRepository storeVersion: newVersion.
aRepository storeDependencies: newVersion ]
ensure: [ (MCVersionInspector new version: newVersion) show ]]
]

{ #category : '*NewTools-Spotter-Extensions' }
MCWorkingCopy >> spotterMonticelloPackageFor: aStep [
<stSpotterOrder: 21>
Expand All @@ -60,16 +35,3 @@ MCWorkingCopy >> spotterPackageFor: aStep [
itemIconName: [ :item | #package ];
filter: StFilterSubstring
]

{ #category : '*NewTools-Spotter-Extensions' }
MCWorkingCopy >> spotterPackageRepositoriesFor: aStep [
<stSpotterOrder: 10>
aStep listProcessor
title: 'Package repositories';
allCandidates: [ self repositoryGroup repositories ];
itemName: [ :item | item description ];
actLogic: [ :item :step |
step exit.
self spotterCommit: self in: item ];
filter: StFilterSubstring
]

0 comments on commit b89455a

Please sign in to comment.