44 lines
1009 B
Markdown
44 lines
1009 B
Markdown
# 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, starting with Gitea/Forgejo.
|
|
|
|
## Installation
|
|
|
|
### from Gitea
|
|
|
|
Run from a playground:
|
|
|
|
```smalltalk
|
|
location := FileLocator gtResource / 'Offray' / 'ExoRepo'.
|
|
(IceRepositoryCreator new
|
|
location: location;
|
|
remote: (IceGitRemote url: 'https://code.sustrato.red/Offray/ExoRepo.git');
|
|
createRepository)
|
|
register.
|
|
|
|
Metacello new
|
|
repository: 'gitlocal://', location fullName;
|
|
baseline: 'ExoRepo';
|
|
load
|
|
```
|
|
|
|
### from GitHub
|
|
|
|
Run from a playground:
|
|
|
|
```smalltalk
|
|
Metacello new
|
|
repository: 'github://offray/ExoRepo/';
|
|
baseline: 'ExoRepo';
|
|
load.
|
|
```
|
|
|
|
## Usage
|
|
|
|
To install the repository <https://code.tupale.co/Offray/TiddlyWikiPharo> run:
|
|
|
|
```smalltalk
|
|
ExoRepo new
|
|
repository: 'https://code.tupale.co/Offray/TiddlyWikiPharo';
|
|
load.
|
|
``` |