Fixed readme. Creation from simple urls.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2024-04-13 18:54:35 -05:00
parent 9df1c1ca90
commit e290538d58
2 changed files with 13 additions and 4 deletions

View File

@ -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');

View File

@ -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)
]