Feedback on Átila's Vision for D

Laurent Tréguier laurent.treguier.sink at gmail.com
Mon Oct 21 10:13:14 UTC 2019


On Monday, 21 October 2019 at 09:45:08 UTC, Jacob Carlborg wrote:
> On Friday, 18 October 2019 at 16:07:43 UTC, Atila Neves wrote:
>
>> I agree and support all of this. I know that dmd as a library 
>> right now can only be used from dub with `~master`. What is 
>> the technical reason stopping a version number again?
>
> Dub needs a Git tag and it needs to follow semantic versioning, 
> otherwise Dub will ignore it. The tags for the compiler do not 
> follow semantic versioning. There's no technical reason. It's 
> just that the compiler releases doesn't follow the semantic 
> versioning model. Any release can break anything, basically.
>
> I suggested a workaround until the compiler properly follows 
> the semantic versioning model. Which is to add two tags for 
> each new release. One that we already add today. The other one 
> would be explicitly intended only for the library and would be 
> `0.x.0` and we increment `x` by one for each release. Since the 
> `0.x.y` versions have special meaning, it's for the initial 
> development. Semantic versioning says:
>
> "Anything MAY change at any time. The public API SHOULD NOT be 
> considered stable."
>
> Nothing happened with that with that suggestion.
>
> --
> /Jacob Carlborg

+1 to this, it makes a lot more sense than my idea of simply 
dropping the 0 and having a fake semantic versioning that follows 
the current one.

When I tried using DMD as a library, as a workaround I had to set 
it up as a git submodule, with an explicit path for dub.


More information about the Digitalmars-d mailing list