Testing baselines with preliminar Gitea support.
This commit is contained in:
parent
9ac4985542
commit
e0c939b7d3
@ -0,0 +1,36 @@
|
|||||||
|
Class {
|
||||||
|
#name : #BaselineOfGrafoscopioUtils,
|
||||||
|
#superclass : #BaselineOf,
|
||||||
|
#category : #BaselineOfGrafoscopioUtils
|
||||||
|
}
|
||||||
|
|
||||||
|
{ #category : #baselines }
|
||||||
|
BaselineOfGrafoscopioUtils >> baseline: spec [
|
||||||
|
"Dependencies"
|
||||||
|
self fossil: spec.
|
||||||
|
|
||||||
|
"Packages"
|
||||||
|
spec project: 'Grafoscopio-Utils' with: [ spec requires: #('Fossil') ]
|
||||||
|
|
||||||
|
]
|
||||||
|
|
||||||
|
{ #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'
|
||||||
|
]
|
1
repository/BaselineOfGrafoscopioUtils/package.st
Normal file
1
repository/BaselineOfGrafoscopioUtils/package.st
Normal file
@ -0,0 +1 @@
|
|||||||
|
Package { #name : #BaselineOfGrafoscopioUtils }
|
Loading…
Reference in New Issue
Block a user