versioning

Oracle Data Versioning/Partitioning Strategies/Best Practices

Hi there, not sure if the subject entirely conveys what I'm trying to achieve, but let me explain: We are building an application that uses Oracle as storage backend. Each year, last years dataset will be "Archived", and a new instance created and populated from scratch. What are the options to do this within the same schema? Keep ve...

How does your thick-client test whether it is compatible with the database schema?

I develop an app with both thick-client and thin-client components. We also version our database such that schema changes result in their own version number and change scripts can be applied. Database changes, however, don't always occur in step with thick-client changes. Yes, today's database change might add a column and necessitate a ...

What is the best approach to versioning the tracked data within workflows ?

This is a general question concerning the Workflow Foundation (.NET 3.5) and versioning the data that it works with. We have a lot of custom activities that work with some data and this data may be interesting also for the future analysis of the already completed workflows (provided that we configure the tracking in such a way that it st...

Sharing open source .net libraries

Let's say I've written SuperTest on top of nUnit 2.1 and I'd like to share my creation with the world. Jess would love to use my library and she also wants to use nUnit directly as well. Her app HeadBook uses nUnit 2.8 The scenarios I can see for a source release: She checks out the SuperTest source which ships with nUnit 2.1, copies ...

How to increment automatically the version of an assembly if there are changes on the code?

Hello, there is a way of incrementing the version number of an assembly automatically if the assembly has changed after doing a build of the solution? I've tried with post-build events but then you increment the version on each build, not only if the build process has compiled anything due to changes. Thanks in advance. EDIT: What I ...

How do you version your asp.net website?

What is the best way to version your asp.net website using the standard major.minor.revision.build? Do you use a script or do you manually change those numbers? ...

CDN/sub-domain, resources, and versioning

Hey all, I’m hoping to investigate/implement a CDN (initially just via a sub-domain, though moving over to CDN in time) and am having a mare finding resources that talk about handling of versions of files on that sub-domain. Most places I’ve worked previously have implemented caching of resources (images, javascript, css, etc.) and whe...

Downgrading DB on Android

I tested that it is possible for Android to pass newVersion < oldVersion to SQLiteOpenHelper.onUpgrade() method, ie. it wants the application to downgrade its database. I don't want to handle this case, though I would like to notify the user somehow that there exists a newer version of my application (which she apparently had installed...

Looking for a good Database Comparison Tool

Hey there. I'm looking for an App that will compare two databases and generate the appropriate scripts to upgrade one from the other (I'm using SQL Server 2008). My scenario is that I've built a fairly basic CMS a while ago, and just recently added several new features. I'd like to upgrade the 3 or 4 existing websites to the new syste...

MVC.NET milliseconds get lost when using Html.hidden on a DateTime LastUpdated column for version tracking

Question in short: How tot do this in MVC.NET? Question in long version: Im trying to use a DateTime column in a SQL Table for version tracking (this in itself is proposed as a solution to re-attaching a Linq2Sql data class after being passedback by a editview for the table) But now i get 'row not found or changed'-exception. on the ...

Change version of documented code in doxygen (without using macros)

Is there any way to change the version in a comment block? For e.g. const char VER[] = "1.2.3.4"; /** * \version (VER) */ I know how to do this with preprocessing and I was wondering if there were any other way? On a related note, how do you guys handle changing version numbers in documentation, the application, etc. without chan...

.Net Are there potential problems when two versions of the same assembly are loaded in one AppDomain?

Hi, We've come up with a strategy to handle backward compatibility when there is a breaking change between two versions. We load the previous version assemblies in the current AppDomain, deserialize some data with the old version types and then convert these into their equivalent in the new version. Are there any pitfalls with this ap...

Looking for solution for database versioning

Problem description: In our project we have one "production database" and many "devs". Problem is how to manage and install the changes. We already have some procedure but its take a lot of time and sometimes cause errors. We can't lose the data - so we cant use "drop table" but only "alter table". Our actual "db versioning procedur...

Cleanest way to log who updated what in CF-ORM / Hibernate?

One of the requirements of my project is to log who (which Staff) updated what (from what version to what version). UI needs to show who updated entity X at what time and what are updated. What is the cleanest way to implement this? For discussion purpose, imagine... Account has a Contact, and I need to store who update the contact, w...

Defines JPA behavior for setting same value again?

I wonder, if there is any definition by JPA for the behavior, if you setting equals value for any property. I didn't find any words in the specification. I've tested with TopLink Essentials and Hibernate, what happens if I load a entity from database and set the property with same value again. @Entity public class MyEntity { @Id @G...

Getting runtime version of a Silverlight assembly

I want to show my Silverlight 3 application's version number in the about box, but when I use a traditional .Net call like: Assembly.GetExecutingAssembly().GetName().Version; I get a MethodAccessException on the GetName() call. How am I supposed to get the version number of my assembly? ...

url rewritting to redirect to correct javascript file version

I recently read on Meta about some browser not flushing their cache even after reading a script url of this form myscript.js?v=1234 so to go around the problem i am thinking about implementing a solution i also read but without any details given to it. something like myscript-1234.js and reroute to the actual correct file, but i have a...

Can you change the base date for .net automatic versioning?

I've set the AssemblyVersion property of a project to 3.0.* to get automatic build numbers generated whenever I do a new build of my project. The build number generated is the number of days elapsed since January 1, 2000. This means that if I do a build today, it will be build 3703. I would like to start with lower build numbers. Is ther...

Pros and Cons of Web Services Versioning Strategies

Update 20100224 I really don't need some lame definitions from some vendor website. What I am looking for is practical implementation and challenges faced in the daily IT/business cycle for people who actually implement this stuff. More stuff follows: No retirement strategy has been created/adopted: Obviously one needs to be created....

Source code version number policy

I need a guideline or procedure which describe the version number policy for source code as per changes happened(major, minor, Micro), assigning particular version to release, labeling e.t.c Your guideline in this regards will be highly appreciated.... ...