What do the numbers in a version typically represent (i.e. v1.9.0.1)?

后端 未结 28 1081
没有蜡笔的小新
没有蜡笔的小新 2020-11-30 16:51

Maybe this is a silly question, but I\'ve always assumed each number delineated by a period represented a single component of the software. If that\'s true, do they ever rep

28条回答
  •  难免孤独
    2020-11-30 17:17

    Here is what we use:

    1. First number = Overall system era. Changes every couple of years and typically represents a fundamental change in technology, or client features or both.
    2. Second number = database schema revision. An increment in this number requires a database migration and so is a significant change (or systems replicate and so changing the database structure requires a careful upgrade process). Resets to 0 if the first number changes.
    3. Third number = software only change. This can usually be implemented on a client by client basis as the database schema is unchanged. Resets to zero if the second number changes.
    4. Subversion version number. We populate this automatically on build using the TortoiseSVN tool. This number never resets but continually increments. Using this we can always recreate any version.

    This system is serving us well because every number has a clear and important function. I have seen other teams grappling with the major number/minor number question (how big a change is major) and I dont see the benefit to that. If you dont need to track database revisions just go to a 3 or 2 digit version number, and make life easier!

提交回复
热议问题