1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

build: Extend autobuild diagnostics by the username

* m4/autobuild.m4 (AB_INIT): Add username.
--

The old autobuild diagnostics show up in build logs.  What they are
missing is an information on the user who triggered a build.  EMAIL is
a common thing to denote the actual user using a service account.
This commit is contained in:
Werner Koch 2023-10-16 16:31:08 +02:00
parent 606933dfb4
commit 956b1e1c26
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -23,6 +23,9 @@ AC_DEFUN([AB_INIT],
if test "$hostname"; then if test "$hostname"; then
AC_MSG_NOTICE([autobuild hostname... $hostname]) AC_MSG_NOTICE([autobuild hostname... $hostname])
fi fi
if test "$EMAIL"; then
AC_MSG_NOTICE([autobuild username... $EMAIL])
fi
ifelse([$1],[],,[AC_MSG_NOTICE([autobuild mode... $1])]) ifelse([$1],[],,[AC_MSG_NOTICE([autobuild mode... $1])])
date=`date +%Y%m%d-%H%M%S` date=`date +%Y%m%d-%H%M%S`
if test "$?" != 0; then if test "$?" != 0; then