Login  Register

Re: How to read librecad version numbers in ubuntu

Posted by R. van Twisk on Jul 04, 2011; 3:09am
URL: https://forum.librecad.org/How-to-read-librecad-version-numbers-in-ubuntu-tp4548453p4548873.html


On Jul 3, 2011, at 8:16 PM, showard314 [via LibreCAD] wrote:

On Sun, Jul 3, 2011 at 8:26 PM, R. van Twisk [via LibreCAD]
<<a href="x-msg://400/user/SendEmail.jtp?type=node&amp;node=4548553&amp;i=0" target="_top" rel="nofollow" link="external">[hidden email]> wrote:
> Scott,
> on that subject, I noticed that in ubuntu the SCM tag is empty,
> this should (if I did my job right) show the GIT tag
> in the form of: SCM Revision: 1.0.0rc1-119-ga41a27e
> Can that get included in the ubuntu PPA?
> Ries

Does that work if someone grabs the release tarballs instead of github
clone? The packages in the official Debian and Ubuntu repositories
don't do a github clone but instead download the .tar.gz from github.

Scott, unfortunately if a person or system downloads a tarbal I don't have away
of knowing what version this actually is when qmake is executed.

Currently the build system issues the command : git describe --tags,
and uses that as the SCM version in the about.


Actually, the automatic builds don't even do that - they grab a bzr
branch which imports the github branch. It's silly, but the only way
to automatically do it with PPAs (they don't do gits.)

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.....

Ries



~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-tp4548453p4548553.html
To start a new topic under LibreCAD, email [hidden email]
To unsubscribe from LibreCAD, click here.