-
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.
Merge pull request #970 from guillep/issue/961
Fix configuration of remotes
- Loading branch information
Showing
11 changed files
with
29 additions
and
12 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
Iceberg-Plugin-GitHub.package/IceHttpsProtocol.extension/class/githubRequestUrlKey.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,4 @@ | ||
*Iceberg-Plugin-GitHub | ||
githubRequestUrlKey | ||
|
||
^ #'clone_url' |
3 changes: 3 additions & 0 deletions
3
Iceberg-Plugin-GitHub.package/IceHttpsProtocol.extension/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,3 @@ | ||
{ | ||
"name" : "IceHttpsProtocol" | ||
} |
4 changes: 4 additions & 0 deletions
4
Iceberg-Plugin-GitHub.package/IceSSHProtocol.extension/class/githubRequestUrlKey.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,4 @@ | ||
*Iceberg-Plugin-GitHub | ||
githubRequestUrlKey | ||
|
||
^ #'ssh_url' |
3 changes: 3 additions & 0 deletions
3
Iceberg-Plugin-GitHub.package/IceSSHProtocol.extension/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,3 @@ | ||
{ | ||
"name" : "IceSSHProtocol" | ||
} |
13 changes: 5 additions & 8 deletions
13
...g-Plugin-GitHub.package/IceTipGitHubRepositoryPanel.class/instance/getGitHubRepository.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,10 +1,7 @@ | ||
querying-github | ||
getGitHubRepository | ||
"It will retry 3 times" | ||
1 to: 3 do: [ :attempt | | ||
[ [ ^ IceGitHubAPI new | ||
beAnonymous; | ||
getRepository: self userName project: self projectName ] | ||
on: IceAuthenticationError do: [ "I will retry." ] ] | ||
on: LGitNoCredentialsProvided do: [ ^ nil ] ]. | ||
^ nil | ||
[ ^ IceGitHubAPI new | ||
beAnonymous; | ||
getRepository: self userName project: self projectName ] | ||
on: LGitNoCredentialsProvided | ||
do: [ ^ nil ] |
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
4 changes: 4 additions & 0 deletions
4
Iceberg-Plugin-GitHub.package/IceUrlProtocol.extension/class/githubRequestUrlKey.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,4 @@ | ||
*Iceberg-Plugin-GitHub | ||
githubRequestUrlKey | ||
"Return the key used in github REST responses to get the URL with the correct protocol" | ||
self subclassResponsibility |
3 changes: 3 additions & 0 deletions
3
Iceberg-Plugin-GitHub.package/IceUrlProtocol.extension/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,3 @@ | ||
{ | ||
"name" : "IceUrlProtocol" | ||
} |
2 changes: 1 addition & 1 deletion
2
Iceberg-TipUI.package/IceTipLocalRepositoryPanel.class/class/title.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 @@ | ||
specs | ||
title | ||
^ 'Add local repository' | ||
^ 'Import from existing clone' |
2 changes: 1 addition & 1 deletion
2
Iceberg-TipUI.package/IceTipLocalRepositoryPanel.class/instance/newRepository.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