Metacello / metacello

Metacello is a package management system for Smalltalk
MIT License
87 stars 43 forks source link

Improve semantic versioning dependency by allowing tag on the form of vX.Y.Z #485

Closed jecisc closed 6 years ago

jecisc commented 6 years ago

IIUC currently it is possible in Metacello to have this kind of dependency:

    spec
        baseline: 'Seaside3'
        with: [ spec repository: 'github://SeasideSt/Seaside:3.2.?/repository' ]

Where ? will match the latest patch.

I tried to use it but my problem is that my dependency use tag in the form of vX.Y.Z and not X.Y.Z. And Metacello did not recognized that.

I think it would be good for Metacello to manage both because some projects already use the vX.Y.Z form.

Does that sound good?

jecisc commented 6 years ago

I think my issue was not with the vX.Y.Z format.

My problem was that the version number was v1.0.2 and the pattern I used was v1.?.?. Instead, it should have been v1.? only.