Fixed readme. Creation from simple urls.
This commit is contained in:
parent
9df1c1ca90
commit
e290538d58
@ -1,7 +1,6 @@
|
|||||||
# ExoRepo
|
# ExoRepo
|
||||||
|
|
||||||
ExoRepo provides [syntactic sugar](https://en.wikipedia.org/wiki/Syntactic_sugar) for [Pharo's Iceberg](https://books.pharo.org/booklet-ManageCode/) to support repositories beyond GitLab, GitHub and
|
ExoRepo provides [syntactic sugar](https://en.wikipedia.org/wiki/Syntactic_sugar) for [Pharo's Iceberg](https://books.pharo.org/booklet-ManageCode/) to support repositories beyond GitLab, GitHub and Bitbucket, starting with Gitea/Forgejo.
|
||||||
Bitbucket.
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@ -10,7 +9,7 @@ Bitbucket.
|
|||||||
Run from a playground:
|
Run from a playground:
|
||||||
|
|
||||||
```smalltalk
|
```smalltalk
|
||||||
location := FileLocator localDirectory / 'iceberg' / 'Offray' / 'ExoRepo'.
|
location := FileLocator gtResource / 'Offray' / 'ExoRepo'.
|
||||||
(IceRepositoryCreator new
|
(IceRepositoryCreator new
|
||||||
location: location;
|
location: location;
|
||||||
remote: (IceGitRemote url: 'https://code.sustrato.red/Offray/ExoRepo.git');
|
remote: (IceGitRemote url: 'https://code.sustrato.red/Offray/ExoRepo.git');
|
||||||
|
@ -8,3 +8,13 @@ Class {
|
|||||||
MCGiteabRepository class >> basicDescription [
|
MCGiteabRepository class >> basicDescription [
|
||||||
^ 'gitea'
|
^ 'gitea'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
{ #category : #'as yet unclassified' }
|
||||||
|
MCGiteabRepository class >> basicFromUrl: aZnUrl [
|
||||||
|
^ self location: aZnUrl asString
|
||||||
|
]
|
||||||
|
|
||||||
|
{ #category : #accessing }
|
||||||
|
MCGiteabRepository class >> urlSchemes [
|
||||||
|
^ #(gitea)
|
||||||
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user