Microsoft veteran reminds devs that version control won't number their releases

Posted

Version control and version numbering sound similar, but they do different jobs, Microsoft's Windows veteran Raymond Chen reminds us.

Writing on his The Old New Thing blog, Chen addressed a reader's confusion over a line in the README of the recently open sourced Comic Chat.

A glance at the version notes shows the line "v1.0-pre and v1.0 share the same internal version number (rup 206, 'Beta 2') but differ in ~99 of 111 shared source files." The same version number, but differences in the code? How can this be?

Chen recalled someone's incredulous response: "How can Microsoft have messed up the version numbering? Don't they use version control?"

Chen's response was straightforward: "Version control is not the same as version numbering.

"Version control is for recording an accurate history of the source code, and allowing developers to make changes to that source code in a coordinated manner.

"Version numbering is where you stamp a number into a file to declare 'This is version 1.0.' You have to put it in a place that the build process itself can access, such as a version resource or a manifest.

"In other words, version numbering is a release management problem, not a source control problem."

Now that's clear, what happened to Comic Chat? It seems like a "release management problem," judging by Chen's definition.

Comic Chat originated in Microsoft Research. Chen said his understanding was that its projects "are not often put in a situation where they require release management diligence at a level suitable for mass-market software."

Chen explained that research projects primarily serve other researchers, for whom identifying the latest code drop may be sufficient. In Comic Chat's case, the internal version number wasn't incremented before a public release.

He blamed release management rather than version control, while suggesting that the same developers probably handled both jobs. ®

offbeat