-
Notifications
You must be signed in to change notification settings - Fork 10
Re-evaluate the logic used to increment nuspec version #4
Comments
I think should be the way to provide base version of packages. That because typings must be consistent with libraries created for. Each js library have its own version, and user must know what version of library provided by the typing. I think only the build number (4th part of version) should be incremented forever. Examples (x - build number): The way to provide this information might be some file with metadata inside typing folder with such information:
|
I totally agree that we should get some more info into DT, for re-use by toolings: Note 1: There is some overlap here with some earlier discussions (on DefinitelyTyped issues and TypeScript's forum). Note 2: I've worked with @Diullei on TSD and recently adopted and am rebuilding the project as DT git-api client and would like to use these meta data too. Some input for the discussion (already spend much thought on related issues :)
Keep in mind that the data is slightly dirty: users make mistakes and there is an endless stream of small fixes on every version. This issue also touches other growth-issues like these: DefinitelyTyped/DefinitelyTyped#428 |
The current versioning logic works like this.
if no version is found, starts off with
0.0.1
then0.0.2
...0.0.9
then0.1.0
Not sure if we should incrementing the minor (and eventually) major numbers - but I guess it'll-do for now.
Feels like we could potentially increment the build forever? -
0.0.1
...0.0.2445
?The text was updated successfully, but these errors were encountered: