Author Topic: what is the dev version now ?  (Read 4511 times)

Offline afb

  • Developer
  • Lives here!
  • *****
  • Posts: 884
what is the dev version now ?
« 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)

Offline afb

  • Developer
  • Lives here!
  • *****
  • Posts: 884
Re: what is the dev version now ?
« Reply #1 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>

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: what is the dev version now ?
« Reply #2 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"?
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: what is the dev version now ?
« Reply #3 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.

Offline afb

  • Developer
  • Lives here!
  • *****
  • Posts: 884
Re: what is the dev version now ?
« Reply #4 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