I am looking forward to implement daily build for a upcoming project.
But before doing that, I need to know how to properly version an assembly.
I have the following concern:
Should each assembly have an independant version or should they all share the same version?
Should I use a * version for build and revision?
Is revision relevan...
How would you write a build.xml file, using neither custom code nor external dependencies (such as a shell script), that:
Generates a build number of the form major.minor.revision (e.g., 01.02.34).
Auto-increments the revision on each compile of the source code.
Auto-increments the minor version on each execution of a dist(ribution) ta...
Hello guyz,
I have a situation where i need to maintain version information of my builds. By googling i found limited information. one way is to create a version file on source control and keep updating. other is to use the source control revision number. final one is to use bamboo build number. i haven't implemented anyone of this befo...
Using NHibernate I want to filter a collection in a class to contain ONLY a subset of possible objects. Below I am including a sample table data to help explain. I can find no way to do this using NHibernate.
Table:DataObject
DataObjectId(PK) / Name / CurrentVersion
11 "data.txt" 2
12 "info.txt" 3
Table...
This one should be easy, and I think I know the right answer, but here goes.
For compatibility reasons, should I leave the filename of jQuery as "jquery-1.3.2.min.js" or just rename it to jquery.js?
My guess is leave it as is to avoid conflicts in case another app uses a different version of jQuery. If they've renamed it to "jquery.js...
Let's say, a team of programmers is doing a web application in Perl and uses git to host their code. Now they have a small problem with versioning their modules:
Perl::Critic and PBP both recommend a RCS-backed $VERSION variable in code
git explicitly recommends against using replaceable revision numbers in code (with good reasoning)
...
I would like to gather as much information as possible regarding API versioning in .NET/CLR, and specifically how API changes do or do not break client applications. First, let's define some terms:
API change - a change in the publicly visible definition of a type, including any of its public members. This includes changing type and mem...
How can i ask what version of MSXML an IXMLDOMDocument2 is? Given an IXMLDOMDocument2 i need to create another document of the same version.
If you give an IXMLDOMDocument from different versions of MSXML, you will get an exception from msxml:
It is an error to mix objects from different versions of MSXML.
Microsoft internally can...
Hi!
I've been looking for an easy and automated way to detect changes on my database structure so I can check them into subversion and be able to roll back to older versions etc.
Now I found phpMyVersion, which seems to do exactly that job. I didn't have time to look into it in great detail, but does anyone of you have some experiences...
Pretty much the question I wrote in the title.
Im just getting tired of filling in the version log text files manually all the time.
...
Are there some preprocessor keywords to use to access the FILEVERSION defined in my .rc file at compile time?
I don't really want to add extra code to read the file information from the compiled product itself.
...
I have a MSBuild script set up to minify and combine my javascript and css files. What I need now is a way to version them. How are you guys currently handling this. What is the best way to incrementally version the file and update the <script/> tag with the new file name?
...
I'm building a revision system similar to the one Stack Overflow has and there's one thing I can't get my head around, what's the best way to the differences in tags between multiple revisions?
The simplest way I can think of is we have 3 tables, revisions, tags and another to link the two.
Each revision then has its own set of tags, t...
I'm converting an ant project to a maven one. This project differs from the ones I've usually converted since it has very frequent releases, typically 8-10 times per day.
By release I mean that the resulting jar is packaged and included in the production enviroment. This project is a leaf one, so it publishes no API, it only consumes it...
Today I tried using pyPdf 1.12 in a script I was writing that targets Python 2.6. When running my script, and even importing pyPdf, I get complaints about deprecated functionality (md5->hashsum, sets). I'd like to contribute a patch to make this work cleanly in 2.6, but I imagine the author does not want to break compatibility for older ...
Given the following:
string file = @"c:\somepath\somefile.dll";
How can I find the file and product version numbers of that DLL using .NET?
The dll can be either native or managed.
Thanks.
...
A section of a site I am building needs some form of revision system and so
decided to keep it simple and go with one similar to Stack Overflow.
I quickly created the following which works although seems a little messy. I know I can use beforeSave and afterSave but I have no idea how I could implement it.
I know I could probably move ...
Hello. I need the information about the SharePoint document library. Namely, I need the info whether the versioning is turned on or off and if the "require check out" option is selected. I have to use SharePoint web services.
I have looked up in Versions.asmx, Lists.asmx and SiteData.asmx, but found no method or properties that suit my...
While programming software stored in a Subversion repo, I often modify some files, then notice that I'd like to do some preparatory change for my main work. E.g. while implementing new functionality, I notice some refactoring which might help me.
In order not to mix two unrelated changes, in these cases I'd like to "stow away" my change...
Hi All,
I need to backup (for debugging) some temporary files meanwhile a program running. I used to do it with rsync-ing the /var/tmp/someprogram directory with find . -iname 'blahblah' -exec rsync -someoptions $DESTdir, which works wonderful.
Except the case of someone in some program (for which I don't have source code access, and n...