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
61
votes
5 answers

how to release a project which depends on a 3rd party SNAPSHOT project in maven

i would like to release a snapshot project 'foo-1.0-SNAPSHOT' using the maven release plugin. The project depends on a 3rd party module 'bar-1.0-SNAPSHOT' which is not released yet. I use the option 'allowTimestampedSnapshots' in my project's…
Christian
  • 683
  • 1
  • 5
  • 6
59
votes
10 answers

Java project: should .classpath .project file be committed into repository?

Should I check in my .project and .classpath files? My friend told me that I should only check in .java files and the build.xml to guarantee portability. He said ".classpath will cause you much less portability on different environment. .project is…
sean
  • 817
  • 2
  • 9
  • 7
59
votes
3 answers

Should I pin my Python dependencies versions?

I am about to release a Python library I've been working on the past few weeks. I've read a lot about Python dependencies but something is not quite clear yet: Some people pretend you should never pin your dependencies versions as it would prevent…
ereOn
  • 53,676
  • 39
  • 161
  • 238
58
votes
1 answer

create version.txt file in project dir via build.gradle task

Apologies in advance for my ignorance. I'm very new to gradle. My is goal is to have some task in my build.gradle file, wherein a file 'version.txt' is created in my project directory whenever I run the gradle terminal command in my project root.…
Chris Covney
  • 819
  • 1
  • 7
  • 11
57
votes
4 answers

Database - Data Versioning

I've read a few questions on SO (such as this one) in regards to versioning your data within a database. I liked some of the suggestions that were mentioned. I have for the longest time wanted (needed) to revision many of my tables but never got…
Jeach
  • 8,656
  • 7
  • 45
  • 58
55
votes
3 answers

What's the difference between a dll's FileVersion and ProductVersion?

What's the difference between a dll's FileVersion and ProductVersion? Specifically at runtime, is one used for strong binding, and the other informational? I'd like to have one set manually, and the other incremented automatically (via our CI…
Peter Drier
  • 1,327
  • 1
  • 11
  • 11
54
votes
6 answers

Java versioning and terminology, 1.6 vs 6.0 OpenJDK vs Sun

I'm having problems understanding Java versioning. I'm seeing lots of versions like 1.4.2, 1.5 and 1.6, but I also stumble upon 5.0 and 6.0. I don't understand this versioning or the progression. I'm pretty new to Java, and I've read a bit about…
brad
  • 31,987
  • 28
  • 102
  • 155
54
votes
8 answers

REST api versioning (only version the representation, not the resource itself)

I had a look at Best practices for API versioning?, but am not quite convinced of the answer, so I am question the versioning part again with a more specific example. I am having two URIs (one with versioning as part of the URI and one…
manuel aldana
  • 15,650
  • 9
  • 43
  • 50
53
votes
3 answers

Are there npm version prerelease identifiers?

There is a very handy npm version command. Besides arguments like major, minor and patch it accepts arguments like prerelease, prepatch, etc. It says in the docs that the commands work in accordance with the semver.inc function. These pre commands I…
timetowonder
  • 5,121
  • 5
  • 34
  • 48
53
votes
15 answers

Version Control for Graphics

Say a development team includes (or makes use of) graphic artists who create all the images that go into a product. Such things include icons, bitmaps, window backgrounds, button images, animations, etc. Obviously, everything needed to build a…
Kristopher Johnson
  • 81,409
  • 55
  • 245
  • 302
52
votes
6 answers

How to version build artifacts using GitHub Actions?

My use case is I want to have a unique version number for artifacts per each build/run. With current tools like CircleCI, Travis, etc. there is a build number available which is basically a counter that always goes up. So, I can create version…
moorara
  • 3,897
  • 10
  • 47
  • 60
51
votes
2 answers

Can't find module cPickle using Python 3.5 and Anaconda

I am trying to use cPickle on a windows box, using Anaconda. I am using python 3.5. I am not using a virtualenv (though probably should be). When I try to import cPickle I get "ImportError: No module named 'cPickle'" Python 3.5.0 |Anaconda custom…
Tom Walker
  • 837
  • 1
  • 8
  • 12
51
votes
8 answers

C# Interfaces with optional methods

I understand that interfaces are contracts and any changes (even additions) break any dependent code. However, I could have sworn I read something a while back that one of the recent .NET versions (3, 3.5??) added a new attribute that could be…
Nelson Rothermel
  • 9,436
  • 8
  • 62
  • 81
50
votes
4 answers

What is the best way to handle versioning using JSON protocol?

I am normally writing all parts of the code in C# and when writing protocols that are serialized I use FastSerializer that serializes/deserializes the classes fast and efficient. It is also very easy to use, and fairly straight-forward to do…
Ted
  • 19,727
  • 35
  • 96
  • 154
49
votes
13 answers

Why do I get "fatal: git status --porcelain failed"?

This is a huge pain in the bum. I've got this a few times before and I don't understand why. 5 mins ago the repo was fine and working, I move some files around (which is all cool and all) and git poops its pants. Any idea why this happens? How can I…
Ahmed Nuaman
  • 12,662
  • 15
  • 55
  • 87