Package versions do not have any sense on iceberg, where what has sense is the âprojectâ version. All packages point to a commit in repo.
Oh, I suspected that, but was unsure :) the thing is: you donât use configurations with iceberg projects, you use
baselines.
Now I got lost, I had understand that a ConfigurationOfXXX is my project definition and that Iceberg is just the Pharo VCS (in substitution of monticello). Iceberg is now my project? How do I configure my dependencies, groups and versions? The Metacello documentation in Deep in Pharo is deprecated for Iceberg? cheers, Vitor On Thu, Dec 21, 2017 at 9:02 AM, Esteban Lorenzano <estebanlm@gmail.com> wrote:
On 21 Dec 2017, at 11:03, Vitor Medina Cruz <vitormcruz@gmail.com> wrote:
Then in a Metacello configuration should I reference the hash git commit or a tag in a version method? For example, an extract from Deep in Pharo:
ConfigurationOfCoolToolSet>>version02: spec
<version: '0.2' imports: #('0.2-baseline' )> spec for: #common do: [ spec blessing: #beta. spec package: 'CoolToolSet-Core' with: 'CoolToolSet-Core-AlanJay.1'; package: 'CoolToolSet-Tests' with: 'CoolToolSet-Tests-AlanJay.1'; project: 'CoolBrowser default' with: '1.3'; project: 'CoolBrowser Tests' with: '1.3â].
the thing is: you donât use configurations with iceberg projects, you use baselines.
Esteban
In this case 'CoolToolSet-Core-AlanJay.1' would be changed by 'CoolToolSet-Core-<git_hash>'?
On Wed, Dec 20, 2017 at 6:09 PM, Stephane Ducasse <stepharo.self@gmail.com
wrote:
In iceberg you can specify - latest version when you do not specify anything - a version (but it should be a git tag so you should save you code with a tag - iceberg does not support it right now but you can do it with git) - the hash of your git commit.
Does it answer your question? Stef
On Wed, Dec 20, 2017 at 7:51 PM, Vitor Medina Cruz <vitormcruz@gmail.com> wrote:
Hello,
How are packages versions computed in Iceberg?
I am looking at the Metacello documentation at 'Deep in Pharo', it says I can define dependencies at package level and it uses the following format to identify versions: <dev_name.versionNumber>; which I think is a pattern used by Monticello, right? However, I can't figure what is the equivalent (if any) in Iceberg.
Thanks in Advance, Vitor