versioning

How to track version changes to dependent components/libraries?

We have a project that has several components developed independently. Yet we have many releases all named as different products with different schedules. We want to get immediate feedback when a component has a new version (probably related with a bug-fix), thus all products depending on that version to be updated as well. A -> v1.0 (r...

Giving version numbers that make clear when you're breaking backward compatibility

I've been working on my open source project for about 6 months, and I want to release it officially soon. The thing is, I'm quite sure that in the near future I will want to change my project in a way that will break backward compatibility, probably multiple times. (My code is a framework in which people have to build code according to a...

Compiling MATLAB 2009b applications to Windows Executables

Does anyone know how to add full (n.n.n.n) Windows file version information to COM dlls and .Net Assemblies compiled from MATLAB? The resulting dlls do not seem to contain a VersionInfo structure and so utilities like Resource Hacker don't work. ...

iPhone Core Data Generated Model Files and Custom Code

After I've generated the interface/implementation files for entities of a model file in XCode, I've not found a way to keep any custom code (validation methods, etc...) I've added to those generated files, given the scenario where I've added an attribute to a model entity and need to re-generate the interface/implementation files. Does ...

How do I switch to another subversion branch in Intellij?

What is the concept of switching branches in IntelliJ? I must be either blind or an idiot... I would assume there'd be a "switch to copy" option or something like that, but there is none... EDIT for clarification: my prev IDE had a simple "switch to copy" option, which updated all files being different from current branch/trunk. Intell...

Auto-versioning DLLs in Visual Studio 2008

we're trying to sort out some conventions for handling dependencies with code checked into svn. the previous method was basically a free for all, meaning projects couldn't be checked out and built without fiddling with references (most projects are C#). we're fixing this one step at a time, and are now checking in binaries to a separate...

Cleaning up code breaks binary compatibility

I'm working on a project which is being used by a number of people I don't know. We've done a fairly good job of bringing down the CheckStyle warnings and the thing is about a low as its going to get without breaking binary compatibility. The majority of the remaining warnings are caused by constants (public static final) missing the fi...

How do I deal with dependencies to multiple versions of the same DLL in Visual Studio?

for example: I have app A, which references library A and library B. in addition, library A itself references a different version of library B. (these are all in C#) I want all references to point to a binary DLL file. right now I have a lib folder like so: lib/LibA/v1/LibA_1.dll lib/LibB/v1/LibB_1.dll lib/LibB/v2/LibB_2.dll let's sa...

Product version in SQL Server.

Simple situation. I've created an application which uses SQL Server as database. I could add a table to this database which contains the version number of my application, so my application can check if it's talking to the correct version of the database. But since there are no other settings that I store inside a database, this would mea...

Execute Maven plugin goal on parent module, but not on children

We have a multi-module maven project that uses a profile that defines a buildnumber-maven-plugin to increment a build number and then check it into source control. If I define the plugin in the parent pom.xml it executes for all the child builds as well. Here's my parent pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns...

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 functionality without breaking compatibility with the web services consumers? ...

.net Setup project force new file replacement on reinstall

Hello, I have a setup project that install a couple of projects and a couple of external files (one of which is a SQLite Database) - everything worked fine until i've recently modified the base database file included in the setup project. Now, everytime i try to reinstall the project the new database file does not replace the previous...

How to commit subversion revision with every commit in order to refer between two repositories.

Consider software spread in two separate repositories, Pub and Priv. Pub repository is public. Priv is closed. An continuous integration server builds both Pub and Priv when either side changes. It then creates downloadable binaries from Priv that are available to users of Pub. Those binaries are labeled internally and on the file name w...

Versioning of Models in Ruby on Rails

I'm looking for a plugin/act to allow versioning of my models. It's kind of difficult to find a list of the available solutions. So far I gathered: acts_as_versioned simply_versioned vestal_versions The last two solutions only require a single version table - this sounds nice, but I've got a bad feeling about how the ease of migratio...

How do I share a label value between multiple CC.NET builds?

I have two projects set up in CC.NET: CI build and nightly build. Both of them execute the same nant script, but with different parameters. The CCNET label (currently generated by the DefaultLabeler) is embedded into AssemblyInfo as the build part of the version (e.g *MajorVersion.MinorVersion.CCNET_Label.SVN_Revision*). For more cons...

Versioned and indexed data store

I have a requirement to store all versions of an entity in a easily indexed way and was wondering if anyone has input on what system to use. Without versioning the system is simply a relational database with a row per, for example, person. If the person's state changes that row is changed to reflect this. With versioning the entry shou...

SVN avoid storing passwords in plain text?

Under a bare bones setup for SVN on windows (without using VisualSVN), as per the instructions, the passwords are to be entered in the passwd file. Does SVN provide a way to encrypt or atleast mask this file? as if a person has access to the server directories, he can quite casually edit these files in plain text and come to know of all...

Web-App : Keeping trace of the version of the application in database ?

Hi, We are building a webapp which is shipped to several client as a debian package. Each client runs his own server. But the update and support is done by us. We make regular releases of the product, with a clean version number. Most of the users get an automatic update (by Puppet), some others don't. We want to keep a trace of the ve...

Git global tags--- evidently bad, but why?

In his 2005 email to the Linux Kernel mailing list, Linus Torvalds is very emphatic that tags in git should be private and not be automatically included when fetching from others: Pulling a regular head cannot and must not update tags. Tags are not associated with the tree, and they cannot and must not be so, exactly because that...

How do other development teams approach version numbers?

Our application is quite mature, and thus we are up to version 16. However, this can give the impression that the software is old and out of touch (how many commercial applications are there with a version 20+??) Obviously, version numbers are quite arbitrary - what do other people use? I quite like the Ubuntu approach of month.date, bu...