Tuukka Hastrup wrote: > Tomáš Kaluža wrote: >> Could the revision number set in the >> about dialog by default and only changed to a release number when a >> release is made? As the revisions are made much more often than >> releases? (I have no idea though how much work requires this... )
This is now implemented, meaning that installed SVN revisions display the revision number as their version. > Scott, looking at the SVN documentation, we could store the $Revision$ > and $HeadURL$ keywords in one of the files and in code check whether > HeadURL contains "/trunk/" or "/tags/". It turned out that "$Revision$" is bumped per-file and as such not useful for using as the version of the whole application. Instead of it, we use the output of svnversion or svn info, and store this in a file that is installed during Sonata installation. > Then if you tag the release > before packaging it (svn copy trunk tags/1.6.0 or so), the code can know > it's from a release (and even, which release). I've created a test1.6 release (it should show "Sonata test1.6" in the About dialog), accessible with the following command: svn export http://svn.berlios.de/svnroot/repos/sonata/tags/test1.6 sonata-test1.6 Regards, Tuukka _______________________________________________ Sonata-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/sonata-users
