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 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.
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.
## Installation
@ -10,7 +9,7 @@ Bitbucket.
Run from a playground:
```smalltalk
location := FileLocator localDirectory / 'iceberg' / 'Offray' / 'ExoRepo'.
location := FileLocator gtResource / 'Offray' / 'ExoRepo'.
(IceRepositoryCreator new
location: location;
remote: (IceGitRemote url: 'https://code.sustrato.red/Offray/ExoRepo.git');
@ -34,7 +33,7 @@ Metacello new
load.
```
## Usage
## Usage
To install the repository <https://code.tupale.co/Offray/TiddlyWikiPharo> run:

View File

@ -8,3 +8,13 @@ Class {
MCGiteabRepository class >> basicDescription [
^ 'gitea'
]
{ #category : #'as yet unclassified' }
MCGiteabRepository class >> basicFromUrl: aZnUrl [
^ self location: aZnUrl asString
]
{ #category : #accessing }
MCGiteabRepository class >> urlSchemes [
^ #(gitea)
]