• Home
  • About 404TS
  • Contact

404 Tech Support

Where IT Help is Found

  • Articles
    • Code
    • Entertainment
    • Going Green
    • Hardware, Gadgets, and Products
    • Management
    • Network
    • News
    • Operating Systems
    • Security and Privacy
    • Software
    • System Administration
    • Talking Points
    • Tech Solutions
    • Web
    • Webmaster
  • Reviews
  • Media
    • Infographics
    • Videos
  • Tech Events
  • Tools
    • How do I find my IP address?
    • Browser and plugin tests
  • Get a Technical Consultation
You are here: Home / Articles / Code / When it comes to version numbers, the most important thing is to pick a system

When it comes to version numbers, the most important thing is to pick a system

2017-05-09

If you write enough scripts, eventually you will need to update one to fix a bug or introduce a new feature. How do you keep track of which version of the script is out there? You add a version number to your product. If you look around the web, there are plenty of ideas on how versioning should work. It’s best to consider your environment (version control software) first and then pick a system that works for you. Many of them can feel pretty arbitrary as some count the number of changes implemented and others try to estimate the significance of those changes. It’s not like the next version after 0.9 becomes 1.0 rather than version 0.10. I mean, unless you’re Firefox trying to catch up to Chrome.

Some developers will incorporate the date (like month and year) to designate the version while others will use “point” releases to divide between major and minor releases, down to maintenance releases and builds. The latter is a common system with each decimal indicating Major release, minor release, maintenance release (like a bugfix), and optionally the build number or a number specific to source control. The system I have adopted is a point release system.

A.B.C.D

A = Major change (a complete rewrite or adding a GUI to a script, a change the clearly distinguishes this version)
B = Moderate change (adding or removing a significant feature or functionality)
C = Minor change (a significant bug fix, or adding, removing, or changing a minor feature or functionality)
D = Service change (a small bug fix or insignificant change)

In this system, the biggest change denotes the change in version number. For example, adding a significant feature would change a script from its current version of 1.2.1.0 to 1.3.0.0. The minor bug fix that follows would bring it up to 1.3.0.1

This is a system that works for my scripts as they’re pretty simple but it has room to grow for complexity though it may not satisfy everything that a more formal development needs. The most important thing is to pick a system, document it, and implement it.

You can see a variety of existing schemes on the Wikipedia page for Software Versioning and a lot more thought on the topic from the Semantic Versioning site.

Filed Under: Code

Trending

  • Data Dealer game illustrates the personal info market
    In Entertainment, Security and Privacy
  • DuckDuckGo explains Do Not Track
    In Security and Privacy
  • Elon Musk’s journey
    In Infographics

Latest Media Posts

Multifunctional Video Conversion Tools – Wondershare Video Converter

Multifunctional Video Conversion Tools – Wondershare Video Converter

The WannaCry Post-Mortem

The WannaCry Post-Mortem

  • Popular
  • Latest
  • Today Week Month All
  • Microsoft Word: “This modification is not allowed because the selection is locked.” Microsoft Word: "This modification is not allowed because the selection is locked."
  • How to edit the message subject in Outlook 2016 How to edit the message subject in Outlook 2016
  • What is the AllJoyn Router Service on Windows 10? What is the AllJoyn Router Service on Windows 10?
  • Increase IIS Private Memory Limit to improve WSUS availability Increase IIS Private Memory Limit to improve WSUS availability
  • Scan-To-Email with Office 365 from a multifunction copier or printer Scan-To-Email with Office 365 from a multifunction copier or printer
  • 5 Factors To Look At When Choosing Web Hosting 5 Factors To Look At When Choosing Web Hosting
  • How managers can improve their team’s written communication skills How managers can improve their team’s written communication skills
  • Online Casino Technology – How Does It All Work? Online Casino Technology – How Does It All Work?
  • Virtual Assistant Devices Will Reshape Your Life in 2019 Virtual Assistant Devices Will Reshape Your Life in 2019
  • The 5 Most Common Problems with PC Gaming The 5 Most Common Problems with PC Gaming
Ajax spinner

Upcoming Tech Events

There are no upcoming events at this time.

Elevator Pitch

404 Tech Support documents solutions to IT problems, shares worthwhile software and websites, and reviews hardware, consumer electronics, and technology-related books.

Subscribe to 404TS articles by email.

Follow Us

  • Facebook
  • Google+
  • RSS
  • Twitter
  • YouTube

Recent Posts

  • 5 Factors To Look At When Choosing Web Hosting
  • How managers can improve their team’s written communication skills
  • Online Casino Technology – How Does It All Work?

Search

FTC Disclaimer

404TechSupport is an Amazon.com affiliate; when you click on an Amazon link from 404TS, the site gets a cut of the proceeds from whatever you buy. This site also uses Skimlinks for smart monetization of other affiliate links.
Use of this site requires displaying and viewing ads as they are presented.

Copyright © 2019 · 404TechSupport.com