public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* git version has "-cvs" ?
@ 2016-01-05  1:02 Mike Frysinger
  2016-01-05  9:52 ` Joel Brobecker
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Frysinger @ 2016-01-05  1:02 UTC (permalink / raw)
  To: gdb

[-- Attachment #1: Type: text/plain, Size: 179 bytes --]

is there a reason we can't do this ?
are there other places that need updating ?

--- a/gdb/version.in
+++ b/gdb/version.in
@@ -1 +1 @@
-7.10.50.DATE-cvs
+7.10.50.DATE-git

-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: git version has "-cvs" ?
  2016-01-05  1:02 git version has "-cvs" ? Mike Frysinger
@ 2016-01-05  9:52 ` Joel Brobecker
  2016-01-05 20:30   ` Mike Frysinger
  0 siblings, 1 reply; 5+ messages in thread
From: Joel Brobecker @ 2016-01-05  9:52 UTC (permalink / raw)
  To: gdb

> is there a reason we can't do this ?
> are there other places that need updating ?
> 
> --- a/gdb/version.in
> +++ b/gdb/version.in
> @@ -1 +1 @@
> -7.10.50.DATE-cvs
> +7.10.50.DATE-git

FWIW, none that I can think of.

-- 
Joel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: git version has "-cvs" ?
  2016-01-05  9:52 ` Joel Brobecker
@ 2016-01-05 20:30   ` Mike Frysinger
  2016-01-06  2:46     ` Joel Brobecker
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Frysinger @ 2016-01-05 20:30 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb

[-- Attachment #1: Type: text/plain, Size: 369 bytes --]

On 05 Jan 2016 13:52, Joel Brobecker wrote:
> > is there a reason we can't do this ?
> > are there other places that need updating ?
> > 
> > --- a/gdb/version.in
> > +++ b/gdb/version.in
> > @@ -1 +1 @@
> > -7.10.50.DATE-cvs
> > +7.10.50.DATE-git
> 
> FWIW, none that I can think of.

shall i push that now ?  or wait until after the 7.11 branch ?
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: git version has "-cvs" ?
  2016-01-05 20:30   ` Mike Frysinger
@ 2016-01-06  2:46     ` Joel Brobecker
       [not found]       ` <CAB3z_Ro=T26HHhvse5jYL5U8F92a1FNsgkWYuesJApJuv-N2nA@mail.gmail.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Joel Brobecker @ 2016-01-06  2:46 UTC (permalink / raw)
  To: gdb

> > FWIW, none that I can think of.
> 
> shall i push that now ?  or wait until after the 7.11 branch ?

I would say, go ahead now. Before or after branching does not make
a difference, I think.

If there were objections to this, I imagine we would have heard them
already; and if we hear some objections afterwards and they are
sufficiently strong to trigger a discussion (which I doubt, for
a patch like this), it'll be trivial to revert while we rediscuss.

-- 
Joel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* including git commit in version
       [not found]       ` <CAB3z_Ro=T26HHhvse5jYL5U8F92a1FNsgkWYuesJApJuv-N2nA@mail.gmail.com>
@ 2016-01-08 19:07         ` Mike Frysinger
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Frysinger @ 2016-01-08 19:07 UTC (permalink / raw)
  To: Kieran Bingham; +Cc: Joel Brobecker, gdb

[-- Attachment #1: Type: text/plain, Size: 777 bytes --]

On 08 Jan 2016 12:02, Kieran Bingham wrote:
> I'm currently carrying around a local patch on my development branches to
> add the SHA hash to the version.
> Would this be of use to propose to gdb-patches?

i had that in the back of my mind.  i'd be ok with this sort of thing.

> It's much more useful to be able to tie into an explicit commit reference
> than just a date.

since the date is updated by a script, that can be tied to a commit in
a close range, so it's not that bad.  it's not like the datestamp is
coming from `date` itself.

> Produces:
> > armv7-linux-gdb -v
> > GNU gdb (GDB) 7.10.1.20151205-git-gdb-7.10.1-release-2-g3e96ddbffb05

i think this is only when you're on a branch ?  master doesn't
include all that.  it is verbose, but i'm fine with it.
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-01-08 19:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-05  1:02 git version has "-cvs" ? Mike Frysinger
2016-01-05  9:52 ` Joel Brobecker
2016-01-05 20:30   ` Mike Frysinger
2016-01-06  2:46     ` Joel Brobecker
     [not found]       ` <CAB3z_Ro=T26HHhvse5jYL5U8F92a1FNsgkWYuesJApJuv-N2nA@mail.gmail.com>
2016-01-08 19:07         ` including git commit in version Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).