[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug admin/31881] binutils-gdb Git repository is flooded by automatic co
From: |
nickc at redhat dot com |
Subject: |
[Bug admin/31881] binutils-gdb Git repository is flooded by automatic commits |
Date: |
Mon, 15 Jul 2024 08:25:01 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=31881
--- Comment #16 from Nick Clifton <nickc at redhat dot com> ---
(In reply to Rostislav Krasny from comment #13)
> The last question is: will the bfd/configure script be ran by the
> src-release.sh script only or also by a user who want to build from an
> already created tarball?
A good point, and something that I missed in my version of your patch.
The answer is both.
> In case of an already created tarball that part of
> the bfd/configure script should not be ran because the bfd/version.h is
> already created during creation of the tarball and also because there is no
> Git repo available.
>
> If the bfd/configure us always running I propose to change this line:
>
> VERSION_DATE=$(cd $srcdir ; git log -1 --format=%cd --date=format:%Y%m%d)
>
> into that line:
>
> VERSION_DATE=$(cd $srcdir && git rev-parse --is-inside-work-tree > /dev/null
> 2>&1 && git log -1 --format=%cd --date=format:%Y%m%d)
>
> And then generate the bfd/version.h file only if the $VERSION_DATE is not
> empty.
Thanks - I will give this a try.
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug admin/31881] binutils-gdb Git repository is flooded by automatic commits, rostiprodev at gmail dot com, 2024/07/11
- [Bug admin/31881] binutils-gdb Git repository is flooded by automatic commits, nickc at redhat dot com, 2024/07/12
- [Bug admin/31881] binutils-gdb Git repository is flooded by automatic commits, address@hidden, 2024/07/12
- [Bug admin/31881] binutils-gdb Git repository is flooded by automatic commits, rostiprodev at gmail dot com, 2024/07/13
- [Bug admin/31881] binutils-gdb Git repository is flooded by automatic commits, rostiprodev at gmail dot com, 2024/07/13
- [Bug admin/31881] binutils-gdb Git repository is flooded by automatic commits, nickc at redhat dot com, 2024/07/15
- [Bug admin/31881] binutils-gdb Git repository is flooded by automatic commits,
nickc at redhat dot com <=
- [Bug admin/31881] binutils-gdb Git repository is flooded by automatic commits, nickc at redhat dot com, 2024/07/16
- [Bug admin/31881] binutils-gdb Git repository is flooded by automatic commits, rostiprodev at gmail dot com, 2024/07/17
- [Bug admin/31881] binutils-gdb Git repository is flooded by automatic commits, nickc at redhat dot com, 2024/07/19
- [Bug admin/31881] binutils-gdb Git repository is flooded by automatic commits, rostiprodev at gmail dot com, 2024/07/20
- [Bug admin/31881] binutils-gdb Git repository is flooded by automatic commits, nickc at redhat dot com, 2024/07/25