versioning

Managing dependencies of OSS projects

I'm a contributor to a Java Open Source project which integrates with Hibernate. I'm fairly new to the Open Source scene (as a contributor), and would like advice on how to manage dependencies. What are the best strategies / approaches for managing changes to the Hibernate codebase within our project? For example, nestled deep within ...

Serialization and versioning

Hi, I need to serialize some data to string. The string is then stored in DB in a special column SerializeData. I have created special classes that are used for serialization. [Serializable] public class SerializableContingentOrder { public Guid SomeGuidData { get; set; } public decimal SomeDecimalData { get; set; } publi...

How to implement Auditing/versioning of Table Modifications on PostgreSQL

hi all, We're implementing a New system using Java/Spring/Hibernate on PostgreSQL. This system needs to make a copy of Every Record as soon as a modification/deletion is done on the record(s) in the Tables(s). Later, the Audit Table(s) will be queried by Reports to display the data to the users. I was planning to implement this auditin...

Matching source with binaries in Visual Studio development

I am wondering what methods people are using for guaranteeing that the source code they are looking at matches the binary they are debugging. I am a single developer managing a fairly large code set and I find that when debugging an application I always want to know for certain that the binary that generated an error exactly matches the...

Microsoft Application block DLL V2 and V4.1 references

My application is referencing Microsoft Enterprise library V4.1 while one of the older DLL (external application) requires a reference to Microsoft Enterprise library V2.0. I know for sure that i can register both of these assemblies in the GAC and the application will start reading relevant DLL as required but that is not a solution for...

Versioned associations using vestal_versions?

I'd like to be sure if vestal_versions does support versioned associations (it seems like it doesn't) before switching out to another versioning gem that can support versioned associations e.g => has_versioning. I haven't looked at the code yet but I couldn't find anything related with versioned associations from the readme file or the i...

pushing to a git repository does not work

I am just starting out with GIT (i'm coming from cvs) and would like to set up something akin to cvs/svn with Git. I performed the following steps: cd o:/repository git init cd <working directory> git clone o:/repository i now created a file called file.txt with some content doing a "git status" lists appropriate changes. I then do...

Use Manifest Tool (mt.exe) to Change "Version" of "Unmanaged Assembly"

Now that native code can have assemblies (e.g. "unmanaged assembly") for side-by-side cache usage, I'm interested in changing the version of a DLL after it is built (as part of an incremental build auto-versioning scheme). I think I'm close using this commmand: mt -updateresource:MyNewlyBuiltThing.dll;#2 -identity:"MyNewlyBuiltThing, v...

Why are there so few versioning file systems?

I did some literature research about versioning file systems. Versioning was already common practice in the very early operating systems such as the influential but almost forgotten Incompatible Timesharing System (ITS) and TENEX. OpenVMS, the successor of TENEX, seems to be still used in special applications and it still supports versio...

Using git properly

I have been reading up and trying Git for the last few days and I have one more thing that i can't seem to find good information on. I read that with Git it's common to set up a public and a private repository clone on each developer's machine that way the developer can do private commits as many times as he/she wants and then only push...

How can I get vestal_versions to store the user who changed the record?

I'm using vestal_versions 1.0.2 and rails 2.3.8 I'm trying to associate a user with changes made to models as shown in the the documentation: @user.update_attributes(:last_name => "Jobs", :updated_by => "Tyler") @user.versions.last.user # => "Tyler" Documentation: http://github.com/laserlemon/vestal_versions After calling @user.save...

How to log user actions to db using the Zend Framework

Hi guys, I am building a cms at the moment using the zend framework and have implemented a text based log which will log any errors and allows me to log any custom messages I may want recorded. As part of the cms I need to provide some sore of revision history for pages, blog posts etc. My thoughts on this were to simple have a logs ta...

.net 4.0 migration

Can a .net 3.5 c# project reference a .net 4.0 assembly and compile with it? What about run time? What about 4.0 compiling / running with 3.5? EDIT: in particular, I have a 3rd party .net assembly. It has extension points: I register my dll in app.config and it calls me (probably via reflection). Can I implement my dll in .net 4.0? wh...

Issues with Doctrine Versionable (Audit Log) Behavior

Hi, Im using the Doctrine versionable behavior for one of my models. The schema works fine & tables are created. But when I try to load fixtures for this, I get a fatal error saying class TaxCodeVersion not found. I checked my Model dir, and indeed the class TaxCodeVersion is not generated by Doctrine. I always use the build --all --no-c...

ActiveRecord Versioning plugin/gem compatible with rails3?

Hi, I googled for the the plugin/gem to do the ActiveRecord versioning for Rails3. But all I've got is not compatible for Rails3. I even searched in RailsPlugins.org too, but no luck. Do you know any that is Rails3 ready? ...

NSUserDefaults flexibility for version updates

Hi, I am using the NSUserDefaults' api -registerDefaults api to register the factory defaults of my application. All is fine for the first version of the application. But when I provide an update for the iPhone application, I have 3 criteria to make sure: The user preferences of older version app should be intact. Addition to the fact...

Handling multiple application versions via Commandline

I have a situation where we are releasing a new version of our application, and I was wondering how other people handle the situation where they have a datafile and opening/editing that file. In the previous version of the application users could make a backup file which contains all the necessary parts of the system to transport and re...

.Net AssemblyName.version Build versus Revision

The MSDN documentation states: Version numbers consist of two to four components: major, minor, build, and revision. The major and minor components are required; the build and revision components are optional, but the build component is required if the revision component is defined. All defined components must be intege...

Detecting iPhone app version update?

I'd like to determine when new versions of my app are available on the Appstore and display some form of notification to the user when this happens - perhaps a UIAlertView or similar - and wondered whether anybody knew of any pre-designed frameworks for doing this? I found the StoreKit provided by iPhone SDK but it seems to only return a...

How can I programmatically read what version of software I am using?

How can I programmatically read what version of software I am using? If I use MSVS to create a project, and that project includes a resource (.rc) file and the version is specified in that file, how can I use code to "read" the version information? IE. If I want the software to report what version it is when it is run, and the only pla...