On Sat, Aug 11, 2012 at 09:47:46AM +0200, Karim Belabas wrote:
> * Igor Schein [2012-08-07 22:51]:
> > So can that be a version string then?
> [...]
> > > The closest analog is git describe
> > > For example:
> > > $ git describe 06d4585
> > > pari-2.6-1276-g06d4585
>
> Like this ?
>
> GP/PARI CALCULATOR Version 2.6.0 (development 1285-cc5b237)
> amd64 running linux (x86-64/GMP-5.0.5 kernel) 64-bit versionWhat about the version() GP function ?
> compiled: Aug 9 2012, gcc version 4.7.1 (Debian 4.7.1-2)
> (readline v6.2 enabled, extended help enabled)
I suppose since the VCS field is not present in stable releases,
we are not really breaking the GP API, but then I assume Igor would
like to be able to access 1276 independently. So maybe
? version()
%1 = [2,6,0,"git-06d4585",1276]