Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: afb on March 02, 2008, 06:16:02 pm

Title: what is the dev version now ?
Post by: afb on March 02, 2008, 06:16:02 pm
What should the development version be called ? It's currently called "1.0svn####", maybe it should be updated to "8.0" for instance ? (i.e. release is "8.02", while nightly/snapshot is "8.0svn4925" for instance)
Title: Re: what is the dev version now ?
Post by: afb on March 02, 2008, 06:19:22 pm
Also, this (version) should be autoconf'ed since it is currently hardcoded in at least 4 places.

Code: update_revision.sh
        echo "m4_define([SVN_REV], $REV)" > $REV_FILE
        echo "m4_define([SVN_REVISION], 1.0svn$REV)" >> $REV_FILE
        echo "m4_define([SVN_DATE], $LCD)" >> $REV_FILE

        # Also change the revision number in debian/changelog for package versioning
        mv debian/changelog debian/changelog.tmp
        sed "1 s/(1.0svn[^-)]*/(1.0svn$REV/" < debian/changelog.tmp > debian/changelog
        rm debian/changelog.tmp
Code: codeblocks.spec.in
%define _version        1.0_0.svn.%{_svnrev}
Code: codeblocks.plist.in
        <key>CFBundleShortVersionString</key>
        <string>1.0</string>
        <key>CFBundleGetInfoString</key>
        <string>CodeBlocks version 1.0 svn @REVISION@, (c) 2004-2008 Code::Blocks</string>
        <key>CFBundleLongVersionString</key>
        <string>1.0, (c) 2004-2008 Code::Blocks</string>
Title: Re: what is the dev version now ?
Post by: thomas on March 02, 2008, 06:21:37 pm
Good point...  maybe we should just leave out the 1.0 and simply call it "svn 1234"?
Title: Re: what is the dev version now ?
Post by: Jenna on March 02, 2008, 06:54:37 pm
Good point...  maybe we should just leave out the 1.0 and simply call it "svn 1234"?

I think that's the way to handle it with the least work, even after coming releases.
Title: Re: what is the dev version now ?
Post by: afb on March 02, 2008, 07:22:36 pm
Good point...  maybe we should just leave out the 1.0 and simply call it "svn 1234"?

It needs a regular version*, though. And increasing from "1.0" to "8.0" seemed like
big enough of a jump, going to "4925" would probably be stretching it a bit... :-)

* for packaging and such, and looking somewhat the same like other software