versioning

A recommended Wiki for document collaboration / management?

I'm trying to convince the team I'm working for (which consists mostly of semi-technical or non-technical people) to drop our Windows-shared-folder stored word document based method of working on shared documents (product documentation, requirement documents, design documents, marketing material etc.) in favor of some web based Wiki like...

Managing build versions in Visual Studio

Hi, I often build libraries and websites and my versions are naturally always at 1.0.0.0. How do you guys manage the versions to increment automatically? Also, how can you specify a seed for example: I want to start at 0.5.0.0 and increment to 0.5.0.1, 0.5.0.2, 0.5.0.3, etc... Or starting at 1.0.0.0 and increment like 1.0.1.0, 1.0.2...

Class versioning to support backwards compatibility

In the project I work on, we handle Medical Billing. Every time the state makes a change to the official form (which our data classes represent), in order to maintain backward compatibility with previous forms, we add the new properties but leave the old ones intact, and have a document version property which is used to determine what v...

Why does this code work on PHP Version 5.2.10 and not on PHP Version 5.2.10-2?

With this code I am iterating trough an object. Why is this working on my WAMP box with PHP 5.2.10 and isn't it on my Ubuntu 9.10 installation with PHP 5.2.10-2 from the repo's? $incomingData = json_decode($_POST['data']); foreach($incomingData as $key => $action) { } Invalid argument supplied for foreach() ...

What are the best practices for versioning XML schemas?

I often have to design XML schemas for different XML-bases import routines. It is clear that XML schemas will evolve over time or they could contain bugs to be fixed, so it is important to capture the schema's version and to have some mechanism to bind against a specific version. Currently I have two scenarios: The bug is found within...

Minor versions for SharePoint custom list

I've developed a SharePoint 2007 custom list with a single custom content type derived from Item. The problem is that I only get major versions when enabling versioning on the list. Is it possible to get minor version on a custom list? If not, does anyone know of a post explaining a good approach around how this might be accomplished for...

How do I count the number of git commits affecting a given subtree?

My version number looks like 0.1.3 and has two components: 0.1 (the tag) 3 (commits after tag) All this information easy to obtain from git describe --tags. For version 0.1.3 git describe may look like 0.1-3-g53d4dec All of this works fine, but I'm looking for the number of commits affecting only a given subtree, not the whole r...

Any technical problems with long CVS version numbers?

Our project has a history of creating new branches in CVS from existing branches. After several years, this has led to this situation on the files that are changed in every release: new revision: 1.145.4.11.2.20.2.6.2.20.2.1.2.11.2.3.2.4.4.4.2.5.2.1.2.1.2.6.2.23; previous revision: 1.145.4.11.2.20.2.6.2.20.2.1.2.11.2.3.2.4.4.4.2.5.2.1....

Implement IExtensibleDataObject on a Base class

Hi - We currently have several WCF services that expose our domain model directly across the wire. In other words, we don't have a layer of DTOs to map between our domain and service layers. I have no choice but to directly decorate our domain objects with [DataContract] and [DataMember]. I want to implement IExtensibleDataObject on ...

What version numbering scheme to use?

I'm looking for a version numbering scheme that expresses the extent of change, especially compatiblity. Apache APR, for example, use the well known version numbering scheme <major>.<minor>.<patch> example: 4.5.11 Maven suggests a similar but more detailed schema: <major>.<minor>.<patch>-<qualifier>-<build number> example: 4.5.11...

setting File Version automatically after compile

Is there any tool which can inject into an .exe or .dll information like File Version, Product name, Copyright, etc? I did find a tool called StampVer but it can only modify resources that are already in the file itself. I could use it but would need to modify a bunch of Visual Studio projects to include some dummy information, and I w...

Are there good reasons for letting AssemblyVersion and AssemblyFileVersion match?

Gendarme has an AvoidAssemblyVersionMismatchRule with the following description: This rule checks that the [AssemblyVersion] matches the [AssemblyFileVersion] when both are present inside an assembly. Having different version numbers in both attributes can be confusing once the application is deployed. For example, this rule would ...

How can I use workflows with older versions of activity libraries in (rehosted) workflow designer ?

I used the rehosted workflow designer in an ASP.NET application to generate images of workflows, basically adopting the WorkflowMonitor sample in a similar way like the Atlas Workflow Monitor. Now I have started to worry about the behavior of this solution after redeployment when the installed version of the libraries no longer match the...

Managing dependencies to multiple versions of a library in Java and Eclipse

Hi, In the Eclipse environment I have project A. A has dependencies to projects or libraries B and C. (does not make a difference if they are projects or libraries) B has dependency on LibX.v1 and C has dependency to LibX.v2. During runtime, A will need B.jar and C.jar. Also classes in B.jar will need LibX.v1 and classes in C.jar will ...

How do I tag files in a directory in a SVN repository with a global version number that will appear in the actual file?

I am working on a project that stores multiple versions in the same svn repo but in different directories. For ease of reference for the coders working on the project I'd like to be able to add a commented tag similarly to # $Revision: 144 $ However, instead of the file revision it should contain a simple version number like so: # $...

Publish Version vs Assembly (etc) Versions

Hi! I've read threads here about the Assembly, File and Assembly Informational versions. I'd like to know where the Publish version fits in. The result of... string thisAppsVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(); ...appears to be the AssemblyVersion. Up until now I've been using the ...

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 better solutions? How do you solve WS versioning? Problem Description System A Client cl...

Anyone have experience using version control software to manage a MediaWiki-based wiki?

We use MediaWiki for user documentation. As the sole author, I can build and manage new versions of the wiki in order to support software version releases. I'm looking for recommendations on how to manage the switch to a new MW instance (to coordinate with new software release). This is how I do it now: MW instance at /wiki supports p...

Is there a way to version a whole development-environment?

I will start building libraries on different operating-systems since they will run on different mobile platforms. Is there a way to version control a whole development environment, containing both the version of the operating system as well as all the development tools, etc.? I need this information to be able to rebuild a Lib from a fr...

Is there a way to create external link in Mercurial

I'm trying to include an older version of some lib into a new project. Is there a way to notify the current repository that I only need specific revision of other library, and not the tip? ...