[Pharo-dev] Dependencies between git projects ?

Sven Van Caekenberghe sven at stfx.eu
Tue May 7 10:21:45 EDT 2019


I normally specify my dependencies between git projects like this:

BaselineOfP3 >> baselineOf: spec
  <baseline>
  spec
    for: #common
    do: [
      spec baseline: 'NeoJSON' with: [ spec repository: 'github://svenvc/NeoJSON:master/repository' ].
      baseline: 'ZTimestamp' with: [ spec repository: 'github://svenvc/ztimestamp:master/repository' ].
      spec baseline: 'Glorp' with: [ spec repository: 'github://pharo-rdbms/glorp:master/'].
      spec package: 'P3' with: [ spec requires: #('NeoJSON' 'ZTimestamp') ].
      spec package: 'P3-Tests' with: [ spec requires: #('P3') ].
      spec package: 'P3-Glorp' with: [ spec requires: #('P3' 'Glorp') ].
      spec group: 'default' with: #('P3' 'P3-Tests').
      spec group: 'core' with: #('P3').
      spec group: 'glorp' with: #('P3-Glorp') ]

Today I (finally, duh) realised that the github:// syntax actually requires a valid GitHub user. Since I do this with all my (public) projects, it obviously works (for others too), but still, is it actually 'wrong' ?

Sven




More information about the Pharo-dev mailing list