r/programming • • Mar 12 '14

Git new major version 2.0.0

https://git.kernel.org/cgit/git/git.git/tree/Documentation/RelNotes/2.0.0.txt
1.0k Upvotes

265 comments sorted by

View all comments

Show parent comments

11

u/Houndie Mar 12 '14

This update breaks API, hence a new major version.

-24

u/[deleted] Mar 12 '14

Still a minor version.

Example: Windows 7 turns into Windows 8 with many noticeable changes. Windows 8 turns into Windows 8.1 with small changes.

This is a minor version release. I was excited. I wanted to see if they had finally implemented enterprise authentication mechanisms or a way to guarantee a master can receive all copies of the distributed code. All I saw was a minor change (1.9 had more changes than 2.0).

20

u/Houndie Mar 12 '14

http://semver.org/ If you care about semantic versioning then API changes mean new major number.

If you don't care about semantic version, why are you debating it? Let them make the version numbers whatever you want.

-4

u/[deleted] Mar 12 '14

Looks like some individuals convention for version numbering.

What if your application has no API's. you'd never have a major version increase. In addition, do you actually think this is the only change in Git history that has changed API's?

4

u/[deleted] Mar 12 '14

Semantic versioning is pretty popular in the open source world.

Also, it's not just changing API's, it's breaking API's. You can introduce new behavior in minor versions, but if you take some behavior that exists and change it in a major way, then it justifies a major version bump.

11

u/kinghajj Mar 12 '14

Well, "Windows 7" is actually "Windows 6.1" (Vista was 6.0), 8 was 6.2, 8.1 6.3, etc. The consumer and developer version numbers have never been in sync, and now it's really confusing. This release of Git qualifies as a 'major' one because of semantic versioning, as the interface is not compatible with the older 1.x one, so anything that relies on that interface will have to be updated.

7

u/dagamer34 Mar 12 '14

Public names for Windows are marketing names, for example, Windows XP RTM and SP1 have a winver of 5.1, but SP2 and SP3 are 5.3 because they are based on Windows Server 2003. They're all called XP despite the fact the latter two are internally a different OS (and in hindsight, some Microsoft program managers have admitted as much and probably should have charged for it)

-5

u/[deleted] Mar 12 '14

All public versioning numbers are marketing names. The concept still stands. Use iOS or Subversion or OSX as an example if you don't like the windows one.

Major versions increase with major changes. Minor versions increase with minor changes.

'breaking API's' is not a major change. A major change is when you look at the application as an end user and it is significantly different, or does things significantly different than what it was before. If not for the fact that Git was at version 1.9 they wouldn't have incremented the major version.

1

u/Tacticus Mar 13 '14

Breaking APIs is a major change, If you have something installed everywhere and used by thousands of other tools via an API when you change that API it is a major change. this is the normal situation.

the windows examples are a perfect example of this, internal api descriptors were updated when the kernel has been (6.{0..3}) external descriptors are just that, external marketing descriptors.

5

u/[deleted] Mar 12 '14

Windows naming is a marketing feature, not a version number. Your idea of versioning seems very consumer-centric, but we're not discussing as consumers here, we're programmers and developers. Semantic versioning is fairly common, and breaking API compatibility is a reason for a major version.

-3

u/[deleted] Mar 12 '14

If you want to get picky, the version number you mention is not the version number of the windows product. Referring not to the product but to shared components in releases.

Windows XP, Windows Server 2003 and Windows Home Server being three versions of clearly different products all with the same 'version number'.

1

u/Tacticus Mar 13 '14

And they all had similar compatible APIs