2021-07-25 00:23:36 +00:00
|
|
|
# ExoRepo
|
|
|
|
|
2022-10-01 13:48:32 +00:00
|
|
|
ExoRepo provides syntactic sugar for [Pharo's Iceberg](https://books.pharo.org/booklet-ManageCode/) to support repositories beyond GitLab, GitHub and
|
2021-07-25 00:23:36 +00:00
|
|
|
Bitbucket.
|
|
|
|
|
2021-07-28 00:10:00 +00:00
|
|
|
## Installation
|
|
|
|
|
|
|
|
### from Gitea
|
|
|
|
|
|
|
|
Run from a playground:
|
2021-07-25 00:23:36 +00:00
|
|
|
|
|
|
|
```smalltalk
|
|
|
|
location := FileLocator localDirectory / 'iceberg' / 'Offray' / 'ExoRepo'.
|
|
|
|
(IceRepositoryCreator new
|
|
|
|
location: location;
|
|
|
|
remote: (IceGitRemote url: 'https://code.tupale.co/Offray/ExoRepo.git');
|
|
|
|
createRepository)
|
|
|
|
register.
|
|
|
|
|
|
|
|
Metacello new
|
|
|
|
repository: 'gitlocal://', location fullName;
|
|
|
|
baseline: 'ExoRepo';
|
|
|
|
load
|
2021-07-28 00:10:00 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### 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.
|
|
|
|
```
|