-
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.
Fixes #58 - Registry should produce an anouncement when creating a re…
…pository. Renamed IceCreateRepositoryModel to IceCloneRepositoryModel. Allow for git SCP urls without a trailing '.git'. Slightly improving of error messages on wrong repository URLs.
- Loading branch information
1 parent
359fae9
commit 8676a9f
Showing
38 changed files
with
76 additions
and
15 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
|
@@ -3,11 +3,11 @@ initializeWidgets | |
remoteUrlLabel := self newLabel label: 'Remote URL'. | ||
remoteUrl := self newTextInput text: '[email protected]:'; autoAccept: true. | ||
|
||
localDirectoryLabel := self newLabel label: 'Local repository:'. | ||
localDirectoryLabel := self newLabel label: 'Local directory:'. | ||
localDirectory := self newLabel label: 'default location (iceberg-cache)'. | ||
changeLocationButton := self newButton label: 'Change'. | ||
|
||
subdirectoryLabel := self newLabel label: 'Subdirectory'. | ||
subdirectoryLabel := self newLabel label: 'Code subdirectory'. | ||
subdirectory := self newTextInput autoAccept: true. | ||
|
||
createButton := self newButton | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
2 changes: 1 addition & 1 deletion
2
Iceberg.package/IceExamples.class/class/exampleCreateRepository.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 @@ | ||
examples - repositories | ||
exampleCreateRepository | ||
IceCreateRepositoryModel new openWithSpec. | ||
IceCloneRepositoryModel new openWithSpec. |
4 changes: 2 additions & 2 deletions
4
Iceberg.package/IceRemoteScpRepository.class/instance/parseUrl.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
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
7 changes: 7 additions & 0 deletions
7
Iceberg.package/IceRepositoriesBrowser.class/instance/createLocalRepositoryAction.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,7 @@ | ||
action creators | ||
createLocalRepositoryAction | ||
^ GLMGenericAction new | ||
action: [ :presentation | self class createLocalRepository ifNotNil: [ presentation pane ]]; | ||
icon: GLMUIThemeExtraIcons glamorousAdd; | ||
shortcut: $a; | ||
title: 'Add local repository'; showTitle |
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
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,4 @@ | ||
registry | ||
reset | ||
Registry := nil | ||
Registry := nil. | ||
Iceberg announcer announce: IceRepositoryForgotten new. |
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,4 @@ | ||
registry | ||
forget | ||
self class registry remove: self ifAbsent: [ "Ignore" ] | ||
(self class registry remove: self ifAbsent: [ "Ignore" ]) | ||
ifNotNil: [ Iceberg announcer announce: IceRepositoryForgotten new ] |
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
Empty file.
14 changes: 14 additions & 0 deletions
14
Iceberg.package/IceRepositoryCreated.class/properties.json
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,14 @@ | ||
{ | ||
"category" : "Iceberg-Announcements", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
], | ||
"name" : "IceRepositoryCreated", | ||
"pools" : [ | ||
], | ||
"super" : "IceRepositoryRegistryModified", | ||
"type" : "normal" } |
Empty file.
14 changes: 14 additions & 0 deletions
14
Iceberg.package/IceRepositoryForgotten.class/properties.json
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,14 @@ | ||
{ | ||
"category" : "Iceberg-Announcements", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
], | ||
"name" : "IceRepositoryForgotten", | ||
"pools" : [ | ||
], | ||
"super" : "IceRepositoryRegistryModified", | ||
"type" : "normal" } |
Empty file.
14 changes: 14 additions & 0 deletions
14
Iceberg.package/IceRepositoryRegistryModified.class/properties.json
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,14 @@ | ||
{ | ||
"category" : "Iceberg-Announcements", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
], | ||
"name" : "IceRepositoryRegistryModified", | ||
"pools" : [ | ||
], | ||
"super" : "Announcement", | ||
"type" : "normal" } |
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 @@ | ||
utilities | ||
createRepository | ||
IceCreateRepositoryModel new openWithSpec | ||
IceCloneRepositoryModel new openWithSpec |
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 @@ | ||
accessing | ||
announcer | ||
^ IcebergAnnouncer ifNil: [ IcebergAnnouncer := Announcer new ] |
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