-
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 #419 from pharo-vcs/dev-0.5
fixes
- Loading branch information
Showing
26 changed files
with
120 additions
and
38 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
Iceberg-Libgit.package/IceLibgitLocalRepository.class/instance/setLongpaths.global..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,8 @@ | ||
accessing | ||
setLongpaths: aBoolean global: globalBoolean | ||
"set user.name and user.email properties. | ||
this could be a nonsense with other backends, but git has them and needs them :)" | ||
self withRepoDo: [ :repo | | config | | ||
config := repo config. | ||
globalBoolean ifTrue: [ config := config openGlobal ]. | ||
config setBoolean: 'core.longpaths' to: aBoolean ] |
1 change: 1 addition & 0 deletions
1
Iceberg-Metacello-Integration.package/IceBitbucketRepositoryType.class/README.md
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 @@ | ||
I resolve Bitbucket repositories |
3 changes: 3 additions & 0 deletions
3
Iceberg-Metacello-Integration.package/IceBitbucketRepositoryType.class/class/type.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,3 @@ | ||
accessing | ||
type | ||
^ 'bitbucket' |
11 changes: 11 additions & 0 deletions
11
Iceberg-Metacello-Integration.package/IceBitbucketRepositoryType.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,11 @@ | ||
{ | ||
"commentStamp" : "EstebanLorenzano 7/23/2017 13:18", | ||
"super" : "IceProviderRepositoryType", | ||
"category" : "Iceberg-Metacello-Integration", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "IceBitbucketRepositoryType", | ||
"type" : "normal" | ||
} |
20 changes: 1 addition & 19 deletions
20
Iceberg-Metacello-Integration.package/IceGithubRepositoryType.class/README.md
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,19 +1 @@ | ||
I resolve Github repositories. | ||
A github repositoy is composed of: | ||
|
||
github://username/repository[:commitish][/subdir] | ||
|
||
github - The github identifier | ||
username - The github user | ||
repository - The guthub repository | ||
commitish - an optional commitish (a branch, a tag, a commit id) | ||
subdir - an optional subdirectory where the packages exist. | ||
|
||
Example: | ||
------------ | ||
A script to install voyage using this would like more or less like this: | ||
|
||
Metacello new | ||
repository: 'github://pharo-nosql/voyage:master/mc'; | ||
baseline: 'Voyage'; | ||
load: 'mongo tests'. | ||
I resolve Github repositories |
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: 2 additions & 2 deletions
4
Iceberg-Metacello-Integration.package/IceGithubRepositoryType.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
1 change: 1 addition & 0 deletions
1
Iceberg-Metacello-Integration.package/IceGitlabRepositoryType.class/README.md
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 @@ | ||
I resolve Gilab repositories |
3 changes: 3 additions & 0 deletions
3
Iceberg-Metacello-Integration.package/IceGitlabRepositoryType.class/class/type.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,3 @@ | ||
accessing | ||
type | ||
^ 'gitlab' |
11 changes: 11 additions & 0 deletions
11
Iceberg-Metacello-Integration.package/IceGitlabRepositoryType.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,11 @@ | ||
{ | ||
"commentStamp" : "EstebanLorenzano 7/23/2017 13:18", | ||
"super" : "IceProviderRepositoryType", | ||
"category" : "Iceberg-Metacello-Integration", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "IceGitlabRepositoryType", | ||
"type" : "normal" | ||
} |
2 changes: 1 addition & 1 deletion
2
...tacello-Integration.package/IceMetacelloPharoPlatform.class/instance/createRepository..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
2 changes: 1 addition & 1 deletion
2
Iceberg-Metacello-Integration.package/IceMetacelloRepositoryType.class/class/allTypes.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 @@ | ||
accessing | ||
allTypes | ||
^ self allSubclasses | ||
^ self allSubclasses select: [ :each | each isAbstract not ] |
2 changes: 1 addition & 1 deletion
2
Iceberg-Metacello-Integration.package/IceMetacelloRepositoryType.class/class/for..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,5 +1,5 @@ | ||
instance creation | ||
for: aLocationString | ||
^ (self allSubclasses | ||
^ (self allTypes | ||
detect: [ :each | each isSuitableForLocation: aLocationString ]) | ||
location: aLocationString |
3 changes: 3 additions & 0 deletions
3
Iceberg-Metacello-Integration.package/IceMetacelloRepositoryType.class/class/isAbstract.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,3 @@ | ||
testing | ||
isAbstract | ||
^ self = IceMetacelloRepositoryType |
19 changes: 19 additions & 0 deletions
19
Iceberg-Metacello-Integration.package/IceProviderRepositoryType.class/README.md
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,19 @@ | ||
I 'm a base class to resolve provider-based repositories. | ||
A provider repositoy is composed of: | ||
|
||
provider://username/repository[:commitish][/subdir] | ||
|
||
provider - The provider identifier (e.g. github, bitbucket, etc.) | ||
username - The provider user | ||
repository - The provider repository | ||
commitish - an optional commitish (a branch, a tag, a commit id) | ||
subdir - an optional subdirectory where the packages exist. | ||
|
||
Example: | ||
------------ | ||
A script to install voyage using this would like more or less like this: | ||
|
||
Metacello new | ||
repository: 'github//pharo-nosql/voyage:master/mc'; | ||
baseline: 'Voyage'; | ||
load: 'mongo tests'. |
4 changes: 4 additions & 0 deletions
4
Iceberg-Metacello-Integration.package/IceProviderRepositoryType.class/class/isAbstract.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 @@ | ||
testing | ||
isAbstract | ||
^ super isAbstract | ||
or: [ self = IceProviderRepositoryType ] |
6 changes: 6 additions & 0 deletions
6
...rg-Metacello-Integration.package/IceProviderRepositoryType.class/instance/mcRepository.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,6 @@ | ||
accessing | ||
mcRepository | ||
| baseRepo | | ||
|
||
baseRepo := MCGitHubRepository location: self location. | ||
^ baseRepo getOrCreateIcebergRepository metacelloAdapter |
11 changes: 11 additions & 0 deletions
11
Iceberg-Metacello-Integration.package/IceProviderRepositoryType.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,11 @@ | ||
{ | ||
"commentStamp" : "<historical>", | ||
"super" : "IceMetacelloRepositoryType", | ||
"category" : "Iceberg-Metacello-Integration", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "IceProviderRepositoryType", | ||
"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
3 changes: 3 additions & 0 deletions
3
...g-Plugin-GitHub.package/IceGitHubPullRequestBrowser.class/instance/mergeBaseCommitFor..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,3 @@ | ||
accessing | ||
mergeBaseCommitFor: commitInfo | ||
^ commitInfo repository commitAt: (self mergeBaseFor: commitInfo) |
5 changes: 5 additions & 0 deletions
5
Iceberg-Plugin-GitHub.package/IceGitHubPullRequestBrowser.class/instance/mergeBaseFor..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,5 @@ | ||
accessing | ||
mergeBaseFor: commitInfo | ||
^ commitInfo repository | ||
mergeBaseBetween: commitInfo commitId | ||
and: self baseSHA |
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
8 changes: 8 additions & 0 deletions
8
Iceberg.package/IceCommitInfo.class/instance/compatibleTimestamp.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,8 @@ | ||
accessing | ||
compatibleTimestamp | ||
"I'm a timestamp as system: likes authorname MM/DD/YYYY HH:MM" | ||
^ String streamContents: [ :stream | | ||
stream | ||
<< self compatibleUsername | ||
<< ' ' | ||
<< self datetime asStringYMDHM ] |
5 changes: 5 additions & 0 deletions
5
Iceberg.package/IceRepository.class/instance/mergeBaseBetween.and..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,5 @@ | ||
accessing | ||
mergeBaseBetween: anId and: otherId | ||
^ self backend | ||
mergeBaseBetween: anId | ||
and: otherId |
6 changes: 3 additions & 3 deletions
6
Iceberg.package/Iceberg.class/class/icebergRepositoriesURLs.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,7 +1,7 @@ | ||
*Iceberg-Adapters | ||
icebergRepositoriesURLs | ||
^ { | ||
'[email protected]:npasserini/iceberg.git'. | ||
'[email protected]:npasserini/filetree.git'. | ||
'[email protected]:npasserini/LibGit.git' | ||
'[email protected]:pharo-vcs/iceberg.git'. | ||
'[email protected]:pharo-vcs/filetree.git'. | ||
'[email protected]:pharo-vcs/libgit2-pharo-bindings.git' | ||
} |