2020-07-18 21:34:44 +00:00
|
|
|
Class {
|
|
|
|
#name : #BaselineOfGrafoscopioUtils,
|
|
|
|
#superclass : #BaselineOf,
|
|
|
|
#category : #BaselineOfGrafoscopioUtils
|
|
|
|
}
|
|
|
|
|
|
|
|
{ #category : #baselines }
|
|
|
|
BaselineOfGrafoscopioUtils >> baseline: spec [
|
2020-07-18 21:49:11 +00:00
|
|
|
<baseline>
|
2020-07-18 21:34:44 +00:00
|
|
|
|
2020-07-18 21:49:11 +00:00
|
|
|
spec
|
|
|
|
for: #common
|
|
|
|
do: [
|
|
|
|
"Dependencies"
|
|
|
|
self fossil: spec.
|
2020-07-18 21:34:44 +00:00
|
|
|
|
2020-07-18 21:49:11 +00:00
|
|
|
"Packages"
|
2020-07-18 21:54:12 +00:00
|
|
|
spec package: 'Grafoscopio-Utils' with: [ spec requires: #('Fossil') ]
|
2020-07-18 21:49:11 +00:00
|
|
|
]
|
2020-07-18 21:34:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
{ #category : #'as yet unclassified' }
|
|
|
|
BaselineOfGrafoscopioUtils >> fossil: spec [
|
|
|
|
"I load the configuration of Fossil using a external Gitea repository."
|
|
|
|
"While more Git independient providers are implemented in Monticello, I will use Iceberg
|
|
|
|
to download the repository and load it from a local directory"
|
|
|
|
|
|
|
|
| location |
|
|
|
|
location := FileLocator localDirectory / 'iceberg' / 'Offray' / 'Fossil'.
|
|
|
|
(IceRepositoryCreator new
|
|
|
|
location: location;
|
|
|
|
remote: (IceGitRemote url: 'https://code.tupale.co/Offray/Fossil.git');
|
|
|
|
createRepository)
|
|
|
|
register.
|
|
|
|
|
|
|
|
Metacello new
|
|
|
|
repository: 'gitlocal://', location fullName;
|
|
|
|
baseline: 'Fossil';
|
|
|
|
load.
|
|
|
|
spec project: 'Fossil'
|
|
|
|
]
|