Login  Register

Re: How to read librecad version numbers in ubuntu

Posted by R. van Twisk on Jul 04, 2011; 1:53pm
URL: https://forum.librecad.org/How-to-read-librecad-version-numbers-in-ubuntu-tp4548453p4550074.html


On Jul 4, 2011, at 8:37 AM, showard314 [via LibreCAD] wrote:

On Sun, Jul 3, 2011 at 11:09 PM, R. van Twisk [via LibreCAD]
<<a href="x-msg://444/user/SendEmail.jtp?type=node&amp;node=4550036&amp;i=0" target="_top" rel="nofollow" link="external">[hidden email]> wrote:
> That's a pitty, because on the #CAM channel I sometimes answer questions
> around LibreCAD, and currently I don't have good insight in what version
> they really use, my knowledge of Ubuntu is unfortunately low enough
> for myself to not even know :)
> Is there something we can do to change this? Could the build system use the
> filename?
> As I noticed that github sends the describe as the filename...
> I don't know what bzr is

I added more information to the ubuntu package version
1.0.0~rc1+yeslib201107031942.173-0ubuntu0~daily3~oneiric1 


where the .173 corresponds to the 173 commit at:
https://code.launchpad.net/~librecad-dev/librecad-dev/librecad

Users can find what version they have by this command: "dpkg -s
librecad | grep Version"

This will work perfectly, I will take care the the SCM version will
get removed from the about when it wasn't available.



The filename gets scrubbed in the archives, and the PPAs can only
autobuild bazaar (bzr) branches, which also lose the git commit hash.
But you can lookup which commit it corresponds to here:
https://code.launchpad.net/~librecad-dev/librecad-dev/librecad

Would that work? Git commit id info has been requested for PPA builds:
https://bugs.launchpad.net/bzr-builder/+bug/620132
but it appears that they are only planning support for bzr branches
(that's why I have to import the git tree into bzr to get it to work)

Understandably Ubuntu want's to push Bazaar... so it's the way it is,
When dpkg -s  librecad | grep Version will show the version
then we can help our users and aks for there revision number...

thanks!


Cheers,
Scott



If you reply to this email, your message will be added to the discussion below:
http://librecad.1049103.n5.nabble.com/How-to-read-librecad-version-numbers-in-ubuntu-tp4548453p4550036.html
To start a new topic under LibreCAD, email [hidden email]
To unsubscribe from LibreCAD, click here.