News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

The 23 April 2007 build will NOT be out.

Started by killerbot, April 23, 2007, 05:27:08 PM

Previous topic - Next topic

killerbot


stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

killerbot


killerbot


Mc.Michael



byo

#6
Down again :(

Looks like they have either some really big technical problems or some DOS attacks again. I just wonder what's the reason

BYO

EDIT: Ok, up and running again

Xaviou

Hi all

Is there a way to automatically add the revision number into the version string of each nightly build ?

Currently, for each deb package I make, I have to rename the deb file (this is automatically done by a script I use).
But the real version number of the package is always "1.0svn".
This is not very annoying, if you install manually the package : Ubuntu tells you it is already installed with same version, but you can force it to reinstall it.

But I am trying to make a remote depot for the package. It works fine, but Ubuntu never knows that the package has been updated, because it's always 1.0svn.

It would be great if the version number could be "1.0svnxxxx".

My wxWidgets's stuff : [url="https://wxstuff.xaviou.fr/"]https://wxstuff.xaviou.fr/[/url]

raph

Have a look at the autorevision tool (src/build_tools/autorevision) in cb svn.
It parses cb's revision number.

Xaviou

The problem was not "How to obtain the revision number", but "How to tell the .deb builder to incorporate the number into each package".

I think I've found it : editing the "changelog" file in the /trunk/debian directory

It's currencty building the package.

I'll give feedback as soon as possible
My wxWidgets's stuff : [url="https://wxstuff.xaviou.fr/"]https://wxstuff.xaviou.fr/[/url]

Xaviou

It works !

I've modified the /trunk/debian/changelog file :

file : /trunk/debian/changelog
line 1 : codeblocks (1.0svn) breezy; urgency=low
updated to
codeblocks (1.0svn3885) edgy; urgency=low


Now, the version number that appears in Synaptic is 1.0svn3885

So, when the deb file is put in the repository, Synaptic can see that there is a new version  :D
My wxWidgets's stuff : [url="https://wxstuff.xaviou.fr/"]https://wxstuff.xaviou.fr/[/url]

cstudent

Thanks for that info Xaviou. I'm going to add that to my next .deb.  :)