Questions tagged [versioning]

Software versioning is the process of assigning either unique version names or unique version numbers to unique states of computer software. Within a given version number category (major, minor), these numbers are generally assigned in increasing order and correspond to new developments in the software.

Software versioning is the process of assigning either unique version names or unique version numbers to unique states of computer software. Within a given version number category (major, minor), these numbers are generally assigned in increasing order and correspond to new developments in the software.

The following are some popular versioning software used:

  1. Git
  2. Subversion (SVN)
  3. Microsoft TFS
3122 questions
26
votes
3 answers

How I deal with Visual Studio solution and project files in Git?

I usually work with .NET using Git for versioning. In my team, we work in parallel and we often commit our code to integrate in the application. Everything is fine BUT the Visual Studio's solution and project files. We found two ways: Never commit…
balanza
  • 1,059
  • 1
  • 12
  • 34
26
votes
17 answers

Version numbering basics?

Suppose I have a web application with some basic functions. I want to market it. So I would like to assign a version number - something like 0.0.1. What I want to know is are there any constraints that should apply to that numbering system? Hope…
coderex
  • 27,225
  • 45
  • 116
  • 170
26
votes
8 answers

SVN Revision Version in .NET Assembly w/ out CC.NET

Is there any way to include the SVN repository revision number in the version string of a .NET assembly? Something like Major.Minor.SVNRev I've seen mention of doing this with something like CC.NET (although on ASP.NET actually), but is there any…
Adam Haile
  • 30,705
  • 58
  • 191
  • 286
25
votes
4 answers

Maven : Multimodule projects and versioning

What are the best practices for software versioning and multimodules projects with Maven? I mean, when I create a multimodules project with Maven, what is the best approach for the versioning? To use a single version for all the modules (defined in…
manash
  • 6,985
  • 12
  • 65
  • 125
25
votes
2 answers

rails 3 response format and versioning using vendor MIME type in the Accept header

Preamble: I investigated how to version an API and found several ways to do it. I decided to try peter williams' suggestion and created new vendor mime types to specify version and format. I could find no definitive write-up for doing this…
jay
  • 602
  • 5
  • 14
25
votes
4 answers

Microservice Versioning

What is the best practice to adapt for versioning in a Microservice Based Architecture, in terms of supporting multiple versioned deployment of the same service during runtime and how the consumers would be able to use different versions? 1) If we…
Divs
  • 1,578
  • 2
  • 24
  • 51
25
votes
6 answers

Version number of a dll in .NET

Given the following: string file = @"c:\somepath\somefile.dll"; How can I find the file and product version numbers of that DLL using .NET? The dll can be either native or managed. Thanks.
rein
  • 32,967
  • 23
  • 82
  • 106
24
votes
1 answer

Should I update my npm version or use the one node.js provides?

I have a project that uses node.js 14.16.0. Both me and my teammember use that version. I use npm 6.14.11 and my teammember uses npm 7.x.x. This results in the package-lock.json being different; the lockFileVersion property is 1 on my PC but 2 on…
S. ten Brinke
  • 2,557
  • 4
  • 25
  • 50
24
votes
4 answers

Displaying the build time-stamp in an application

I would like to display the time-stamp of when the application was built in an about box. This will allow me tracking different versions of the application. How can I retrieve this information in Java?
Artium
  • 5,147
  • 8
  • 39
  • 60
24
votes
1 answer

What does .RELEASE mean in Spring Framework versions

What does the .RELEASE ending to a file mean? e.g. org.springframework spring-context 3.0.0.RELEASE runtime
Tomeister
  • 675
  • 2
  • 9
  • 26
23
votes
1 answer

CMake: Get version from multiline text file

I have a file version.txt VERSION_MAJOR 1 VERSION_MINOR 1 VERSION_PATCH 3 I want to use cmake to add a definition for major, minor and patch. I've tries using file(STRING "version.txt" myvar) but this just puts the whole file in myvar. How do I…
Maggick
  • 763
  • 2
  • 10
  • 26
23
votes
1 answer

Newtonsoft Json.NET version incompatibility (DLL hell)

Newtonsoft.Json release incompatible versions with same strong name, only changing the File version. According to MSDN: Assemblies that have the same strong name should be identical. Because of this our application breaks if other applications,…
23
votes
7 answers

How do I get the version string I defined in the config.xml

How do I find out, which version my Cordova app is? I need that information to display it in an About screen. Is it possible to read the config.xml and get the version string, which i am already maintaining in this file?
Strubbl
  • 709
  • 4
  • 15
  • 31
23
votes
5 answers

How to apply several patches using hg command line when there is already uncommitted changes?

I use the following command to apply a patch in Mercurial, without committing it : hg import patch.diff --no-commit It works great, however if I try to apply several patches at once like this : hg import patch1.diff --no-commit hg import…
tigrou
  • 4,236
  • 5
  • 33
  • 59
23
votes
4 answers

How can I automatically update Perl modules' $VERSION with Git?

Let's say, a team of programmers is doing a web application in Perl and uses git to host their code. Now they have a small problem with versioning their modules: Perl::Critic and PBP both recommend a RCS-backed $VERSION variable in code git…
Nikolai Prokoschenko
  • 8,465
  • 11
  • 58
  • 97