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
23
votes
4 answers

CouchDB versioning strategy

Would the following be a viable strategy for implementing versioning(using "example" as a sample document type): Have one original document where the type field is named example_original. Subsequent changes to the document all have type…
mac
  • 9,885
  • 4
  • 36
  • 51
23
votes
1 answer

What is the difference between "Legacy Version" and "Stable Version"?

I am using JQuery Mobile and there are two available versions: A stable version and a legacy version. I am not familiar with the latter one. What is a legacy version? or what is the difference with the stable version? Which one is recommended to…
tif
  • 1,109
  • 2
  • 12
  • 32
22
votes
21 answers

How can version changes to my documents without creating separate files?

A while ago, I was writing some code, but accidentally deleted some good code while I was deleting bad code. From then on I started creating versions of my files, I would name each file with the date and a version number. However, this is a pain in…
Neil
  • 223
  • 1
  • 4
22
votes
3 answers

Database Content Versioning

I am interested in keeping a running history of every change which has happened on some tables in my database, thus being able to reconstruct historical states of the database for analysis purposes. I am using Postgres, and this MVCC thing just…
user800576
22
votes
5 answers

What's the Swift equivalent of Objective-C's "#ifdef __IPHONE_11_0"?

I want to use Xcode 9 to add iOS 11 code to my project while keeping the option to compile the project with Xcode 8 which only supports iOS 10. In Objective-C I can do this by using a preprocessor directive to check if __IPHONE_11_0 is defined.…
Matthias Bauch
  • 89,811
  • 20
  • 225
  • 247
22
votes
6 answers

C#: how to set version number of assembly

I have written a DLL in C# using VS2005. Currently the DLL is showing a version number of 1.0.0.0. How do I set this version number to something different?
Craig Johnston
  • 5,303
  • 8
  • 27
  • 30
22
votes
4 answers

How to create a self-updating Node.js application?

I'd like to create an application with Node.js that periodically checks for updates and installs them if there are any. The basic components are clear to me: A web server (or an FTP server, a file system, ...) which contains the update packages A…
Golo Roden
  • 140,679
  • 96
  • 298
  • 425
22
votes
5 answers

Best way to combine Git with .NET when versioning

I'm currently working on a project (just me), and I already know how to handle versioning on it. I'm using the classic ... The problem I have is that I want to have tags in some of my commits pointing to the…
Oscar Mederos
  • 29,016
  • 22
  • 84
  • 124
21
votes
9 answers

How do you create a MANIFEST.MF that's available when you're testing and running from a jar in production?

I've spent far too much time trying to figure this out. This should be the simplest thing and everyone who distributes Java applications in jars must have to deal with it. I just want to know the proper way to add versioning to my Java app so that…
user16216
  • 229
  • 1
  • 3
  • 4
21
votes
3 answers

Can I pin docker API version : client version 1.38 is too new. Maximum supported API version is 1.37

Is there a way to pin docker API version using the golang client? (short of using dep for vendoring) code below fails with client version 1.38 is too new. Maximum supported API version is 1.37 This code ran fine until recently go version go1.9.5…
Scott Stensland
  • 26,870
  • 12
  • 93
  • 104
21
votes
1 answer

How to increment version numbers in GitHub Protected Branches?

I am looking for a good process to manage the version number of my project when my master branch has GitHub branch protection turned on. In an ideal world, when you merge to your 'release' branch your continuous integration server would run its…
JBCP
  • 13,109
  • 9
  • 73
  • 111
21
votes
2 answers

Is there a way to make git auto generate a version number file for a --version option?

I have a project that is moving out of the alpha phase and that I'm ready to start releasing regularly. I know GitHub has a 'magic' release button but I generally don't like 'magic' features that I don't know exactly what they…
os x nerd
  • 897
  • 1
  • 10
  • 18
21
votes
2 answers

Using agvtool with multiple .xcodeproject files in one directory

I have tried using agvtool for ios build versionining. It works great when there is a single .xcodeproj file in the directory. In my case, our project structure is such that it has 4 .xcodeproj files in a single directory. When firing agvtool…
user1728406
  • 257
  • 3
  • 6
21
votes
4 answers

What are your WebService Versioning best practices?

We have 2 separate products that need to communicate with each other via web services. What is the best-practice to support versioining of the API? I have this article from 2004 claiming there is no actual standard, and only best practices. Any…
Eran Medan
  • 44,555
  • 61
  • 184
  • 276
21
votes
5 answers

Web Services API Versioning

I offer a small Web Services API to my clients which I plan to evolve over time. So I need some sort of versioning, but I can't find any information about how you do something like that. Is there a best practice? How can I keep adding new…
Paul Izzy
  • 233
  • 1
  • 2
  • 4