Questions tagged [versioning]

Versioning is the way changes to programs deemed worthy of release are notated.

Filter by
Sorted by
Tagged with
140
votes
9answers
15k views

Maintain hundreds of customized branches over master branch

Currently we have one master branch for our PHP application in a shared repository. We have more than 500 clients who are subscribers of our software, most of whom have some customization for ...
131
votes
6answers
105k views

How do you achieve a numeric versioning scheme with Git?

My organization is considering moving from SVN to Git. One argument against moving is as follows: How do we do versioning? We have an SDK distribution based on the NetBeans Platform. As the SVN ...
107
votes
13answers
67k views

What “version naming convention” do you use? [closed]

Are different version naming conventions suited to different projects? What do you use and why? Personally, I prefer a build number in hexadecimal (e.g 11BCF), this should be incremented very ...
61
votes
7answers
6k views

At what point is version control needed? [duplicate]

I work in embedded systems. Right now, my organization has two full-time programmers and two occasional programmers. It's rare that the same project is worked on by two programmers. All code is stored ...
57
votes
4answers
10k views

Why is Java version 1.X referred to as Java X?

I saw that Java 1.2 is also known as Java 2. Do "Java 1.x" and "Java x" (for example "Java 1.6" and "Java 6") refer to the same version of Java? And if yes, why the need for this duality?
55
votes
12answers
78k views

What exactly is the build number in MAJOR.MINOR.BUILDNUMBER.REVISION

What I think about Build Numbers is that whenever a new nightly build is created, a new BUILDNUMBER is generated and assigned to that build. So for my 7.0 version application the nightly builds will ...
47
votes
9answers
27k views

How to maintain different, customized versions of the same software for multiple clients

we have multiple clients with different needs. Although our software is modularized to a degree, it's almost certain that we need to adjust every module's business logic here and there a little for ...
42
votes
16answers
17k views

Date as software version number

Software developers don't typically use date as version number, though YYYYMMDD format (or its variances) looks solid enough to use. Is there anything wrong with that scheme? Or does it apply to ...
40
votes
7answers
44k views

When do you change your major/minor/patch version number?

Possible Duplicate: What “version naming convention” do you use? Do you change your major/minor/patch version numbers right before you release or right after? Example: You just ...
35
votes
14answers
13k views

Should you version web applications?

I've recently had a discussion with a coworker about versioning web applications. I don't think you need it at all, and if you just want a sanity check to confirm your latest release is live, I think ...
34
votes
3answers
6k views

What does it mean by atomic commit for a versioning system?

One of the reasons why programmers prefer SVN over CVS is the former allows atomic commits ? What does this mean ?
34
votes
2answers
16k views

Why is build.number an “abuse” of semantic versioning?

I was explaining a proposed build system (Gradle/Artifactory/Jenkins/Chef) to one of our senior architects, and he made a comment to me that I sort of disagree with, but am not experienced enough to ...
22
votes
3answers
3k views

Semantic versioning for desktop applications [duplicate]

I can easily follow the Semantic Versioning recommendations if I develop a library or API, but what if the developed product is a website or a desktop application? When would you increment a major ...
22
votes
2answers
3k views

Is it good practice to store software version numbers in VCS?

A product version, such as v1.0.0.100, represents not only a unique production release of software, but helps identify feature sets and hotfix stages for said product. Right now I see two ways to ...
22
votes
5answers
7k views

When should I increment version number?

I didn't learn programming at school and I do not work as a (professional) developer, hence a lot of basics are not quite clear to me. This question tries to clarify one of them. Now let's suppose ...
22
votes
5answers
7k views

How do you evolve & version an interface?

Say you have an interface IFoo: public interface IFoo { void Bar(string s); int Quux(object o); } In version 2 of your API, you need to add a method Glarg to this interface. How do you do so ...
21
votes
5answers
22k views

What is your application versioning strategy? [duplicate]

I would be interested to get the SO community's opinions on the best application versioning strategy. My questions: How do you keep track of your application's version number? Do you have a formal ...
20
votes
4answers
7k views

What is the best way to handle product versioning and branching of long term projects?

In a general sense, for long term projects that may have multiple releases during the products life cycle and require support of previous products, what is the best way to handle product versions and ...
18
votes
10answers
3k views

[YYYY].[MM].[DD].[hh][mm] vs. [major].[minor].[revision] [duplicate]

Possible Duplicate: What “version naming convention” do you use? I am currently debating between the traditional versioning convention [major].[minor].[revision] and my own, almost ...
18
votes
2answers
907 views

Semantic versioning when fixing an important bug

I currently manage a library which has a lot of public usage, and I had a question about semantic versioning. I want to refactor one fairly important part of the library which is implemented ...
17
votes
4answers
16k views

Handling database schema changes when pushing new versions

During times of heavy development, the database schema changes both rapidly and continuously, and by the time our weekly push to the beta build comes around, the schema has changed so much that the ...
16
votes
2answers
6k views

Does Semantic Versioning allow 4 components in version numbers?

All examples of semantic versioning I've seen show 3 components in use. No more than 2 period characters. At $DAYJOB, we use 4 components in our release numbers: 5.0.1.2 Does Semantic Versioning ...
16
votes
4answers
943 views

Is fast major version bumping an evidence of poor design?

I started a job as junior programmer a few months ago. The system we are working on has been in production for ~2 years. I wasn't involved in the begging of the system and the design. One thing I ...
15
votes
5answers
896 views

How to treat bugs that users thought were a feature?

Question: What is the proper way to address a bug that an end-user thought was a feature? Elaboration: I'm guessing that if a large percentage of users expected it as a feature, it should be left "...
15
votes
3answers
2k views

Versioning REST APIs. Each API has its own version

It's very common to specify the version of REST APIs in the URL, specifically at the beginning of path, i.e. something like: POST /api/v1/accounts GET /api/v1/accounts/details However, I haven't ...
15
votes
5answers
14k views

Looking for best practice for version numbering of dependent software components

We are trying to decide on a good way to do version numbering for software components, which are depending on each other. Let's be more specific: Software component A is a firmware running on an ...
15
votes
2answers
5k views

Version number as a part of a file name

I see that some software have the version number included as a part of their file name, while others do not. I am more used to the latter type, and I think that is more popular, but I see the former ...
15
votes
1answer
8k views

What does CR mean in version numbers?

Hibernate has CR postfix in their releases for the 4.0 version of hibernate, for example 4.0.0.CR7. What does the CR part mean? When would I use this kind of release numbering?
14
votes
1answer
166k views

Summary of differences between Java versions? [closed]

What are the major differences in between Java version in terms of software development? Where can one find a summary of the most important changes related to programming? The Release Notes such as ...
13
votes
3answers
2k views

package and version strategies in a multi repository environment

We are a small-ish firm with multiple teams who manage their own git repositories. This is a web platform and each team's artifacts are deployed at the end of the day for nightly tests. We are trying ...
12
votes
10answers
1k views

Why does it seem so hard for non programmers to understand versioning? [duplicate]

In the past I have worked with designers, BAs and project managers, all who regularly produce project artifacts, yet very really do they understand the concept of versioning. When I try to explain it ...
12
votes
6answers
3k views

Branching and versioning strategy for shared libraries

These posts seem related, but my brain is starting to melt, trying to think this through :P My employer has just started using source control, primarily because before they hired more developers, the ...
12
votes
3answers
11k views

Patterns for Versioning Relational Data in a MySQL database?

I am trying to find an approach for a project, where A user can edit records, and be able to see past versions of those records. Here is a simlified example schema, using a list: TABLE list ( id ...
12
votes
2answers
9k views

git, maven and jenkins - versioning, dev and release builds workflow

What is the preferred way to do the following with git, maven and jenkins: I am developping an application, which I would like to maintain "dev" and "release" branches. I would like jenkins to build ...
11
votes
5answers
2k views

Forked a project, where do my version numbers start?

I have forked a project and have changed lots of it. This fork isn't just a small feature change here and a buried bug fix there, its a pretty substantial change. Only most of the core code is shared. ...
10
votes
4answers
5k views

Semantic versioning in Agile

Let's say I have 14 days sprint iterations where I have several stories for new features, few improvements and some bugs to fix. I also deploy those changes when they are ready, I'm not waiting for ...
10
votes
7answers
10k views

What's the best way to version a multi-component project

I have a program which is built of 5 major components. I find the standard version numbering too limiting because I would like to see what version each compoment is at. Has anyone found an easy way ...
10
votes
1answer
2k views

Avoid dependency version conflicts?

Any Java project that uses my jar, will almost certainly have an additional dependency on another jar, which my jar also contains as a dependancy. Problem is, that other jar has multiple versions. ...
9
votes
2answers
4k views

Git Staging: When to stage? What to do if modification occurs afterwards

I'm rather new to the broad world of Git. I have read the manual and have been practicing but I am confused about few aspects of it, which I couldn't figure out after searching for. I'm wondering: ...
9
votes
1answer
1k views

Versioning APIs

Suppose that you have a large project supported by an API base. The project also ships a public API that end(ish) users can use. Sometimes you need to make changes to the API base that supports ...
9
votes
2answers
2k views

Bump version before kicking off new development or when tagging a release, which is better?

Some projects bump version before kicking off a new development, while the other projects bump version when tagging a release. Which approach is better? If version number not changed at the start ...
9
votes
4answers
1k views

Handling changes in a event-driven microservice architecture

I'm doing an research-project where I'm researching the options to handle changes in an event-driven microservice architecture. So, let's say we got an application where we got four different ...
8
votes
5answers
456 views

Ways to version user generated documents

I have an online document which essentially gets stored to the database as XML string. I'm thinking about a way to implement versioning of the document for the user. So that user can go back to ...
8
votes
3answers
240 views

Providing users with program revision history information?

One limitation of a program that I maintain is that the end-users often don't know what changes have been made. To remedy this I would like to show my users a simplified list of changes made to their ...
8
votes
2answers
8k views

Event sourcing, replaying and versioning

I am designing a system that uses Event Sourcing, CQRS and microservices. I am lead to understand this isn't an uncommon pattern. A key feature of the service needs to be the ability to rehydrate/...
8
votes
3answers
2k views

What is the logic for setting the version numbers in an app?

I would like to know what's the logic for setting the versions in an application that you're developing? I mean from 1.0 to 1.1 or 1.7 to 2.0
8
votes
3answers
5k views

How to manage/control software versions? [duplicate]

I'm facing a problem to create a version control outline for several already existing software parts for my company. Until now no one - expect for the developers - knows that there are different ...
8
votes
3answers
1k views

Breaking API changes: how can I make the transition easy for library users?

In the past, I used the standard way of adding @Deprecated annotations to API methods which will be removed in a later version. Now I am preparing a major version for a library, with many API parts ...
8
votes
3answers
1k views

Support Multiple versions of Mobile apps

We are building a suite of native mobile applications to supplement our existing application that currently only supports a web interface to the server. The application can be installed and hosted by ...
8
votes
1answer
238 views

How to start a new major version of my application, but still keep the old version 'alive'

I have two applications, called A and B. The current version of these applciations are 7.x (some customers run 7.1, others run 7.2, ...). Both applications use a same common framework (let's call ...