diff --git a/repository/BaselineOfBrea/BaselineOfBrea.class.st b/repository/BaselineOfBrea/BaselineOfBrea.class.st index 93e3862..009d582 100644 --- a/repository/BaselineOfBrea/BaselineOfBrea.class.st +++ b/repository/BaselineOfBrea/BaselineOfBrea.class.st @@ -16,44 +16,27 @@ BaselineOfBrea >> baseline: spec [ for: #common do: [ "Dependencies" - self grafoscopioUtils: spec. + self miniDocs: spec. spec - baseline: 'NeoJSON' with: [ spec repository: 'github://svenvc/NeoJSON/repository' ]; - baseline: 'Mustache' with: [ spec repository: 'github://noha/mustache/repository' ]; baseline: 'TaskIt' with: [ spec repository: 'github://pharo-contributions/taskit:v1.0' ] "[ spec repository: 'github://noha/taskit:add-all-future' ]" "Disabling Noha's Fork to make Brea installable.". "Packages" - spec package: 'Brea' with: [ spec requires: #('NeoJSON' 'Mustache' 'TaskIt' 'Grafoscopio-Utils') ]. + spec package: 'Brea' with: [ spec requires: #('MiniDocs' 'TaskIt') ]. ] ] { #category : #baselines } -BaselineOfBrea >> grafoscopioUtils: spec [ - "I load the configuration of this package 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 localRepo | - "Dependencies" - - "Local and remote repo definition" - location := FileLocator localDirectory / 'iceberg' / 'Offray' / 'GrafoscopioUtils'. - location exists ifFalse: [ - (IceRepositoryCreator new - location: location; - remote: (IceGitRemote url: 'https://code.tupale.co/Offray/GrafoscopioUtils.git'); - createRepository) - register - ]. - "Package loading" - localRepo := 'gitlocal://', location fullName. - Metacello new - repository: localRepo; - baseline: 'GrafoscopioUtils'; +BaselineOfBrea >> miniDocs: spec [ + | repo | + repo := ExoRepo new + repository: 'https://code.tupale.co/Offray/MiniDocs'. + repo + onConflict: [ :ex | ex useLoaded ]; + onUpgrade: [ :ex | ex useLoaded ]; + onDowngrade: [ :ex | ex useLoaded ]; + onWarningLog; load. - spec baseline: 'GrafoscopioUtils' with: [ spec repository: localRepo ]. - spec package: 'Grafoscopio-Utils' with: [ spec repository: localRepo ]. - + spec baseline: 'MiniDocs' with: [ spec repository: 'gitlocal://', repo local fullName ] ]