[mlpack-svn] [MLPACK] #309: add ability to get versioning information

MLPACK Trac trac at coffeetalk-1.cc.gatech.edu
Mon Nov 11 12:06:19 EST 2013


#309: add ability to get versioning information
-------------------------+--------------------------------------------------
 Reporter:  rcurtin      |        Owner:              
     Type:  enhancement  |       Status:  new         
 Priority:  minor        |    Milestone:  mlpack 1.0.8
Component:  mlpack       |     Keywords:  version, cli
 Blocking:               |   Blocked By:              
-------------------------+--------------------------------------------------
 {{{
 On Mon, Nov 11, 2013 at 12:31:10PM +0100, Giampaolo Bellini wrote:
 > Dear all
 >
 >   I'm using latest mlpack on linux for neighbor search
 >
 >   I wonder if there is a way to retrieve the library version in order to
 > show it in the about box of my application...
 >
 >      thanks a lot
 >
 >              Giampaolo
 }}}

 There are two things we should do here.

  * add a --version option to each mlpack executable (in cli.hpp or
 similar)
  * add a C++ function that will return a string containing the version of
 mlpack

 There's a bit more, though; a subversion post-commit hook will need to be
 added to update the definition of the version string, so that it will look
 something like 'r15886' instead of just 'trunk' if trunk is being used.

-- 
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/309>
MLPACK <www.fast-lab.org>
MLPACK is an intuitive, fast, and scalable C++ machine learning library developed at Georgia Tech.


More information about the mlpack-svn mailing list