[virt-tools-list] [PATCH virt-viewer] Auto-generate AUTHORS file from GIT logs

Michal Privoznik mprivozn at redhat.com
Wed Feb 13 15:11:42 UTC 2013


On 13.02.2013 16:05, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> Rather than trying to manually keep track of authors,
> just auto-generate the list from GIT logs
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  AUTHORS      | 77 ------------------------------------------------------------
>  AUTHORS.in   | 21 +++++++++++++++++
>  Makefile.am  | 15 +++++++++---
>  acinclude.m4 |  2 +-
>  autogen.sh   |  6 +++++
>  cfg.mk       | 15 ------------
>  6 files changed, 40 insertions(+), 96 deletions(-)
>  delete mode 100644 AUTHORS
>  create mode 100644 AUTHORS.in

> diff --git a/acinclude.m4 b/acinclude.m4
> index 625413f..a9561c4 100644
> --- a/acinclude.m4
> +++ b/acinclude.m4
> @@ -34,7 +34,7 @@ AC_DEFUN([VIRT_VIEWER_COMPILE_WARNINGS],[
>  	try_compiler_flags="$try_compiler_flags -Wall -Wmissing-prototypes -std=c99 -Wnested-externs -Wpointer-arith"
>          try_compiler_flags="$try_compiler_flags -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return"
>          # Removed -Wstrict-prototypes to avoid GTK bug
> -	try_compiler_flags="$try_compiler_flags -Winline -Wredundant-decls -Wno-sign-compare"
> +	try_compiler_flags="$try_compiler_flags -Winline -Wredundant-decls -Wno-sign-compare -Wno-deprecated-declarations"

This change isn't really related to the rest of patch. I think it should
be pushed as a separate patch.

>  	if test "$enable_compile_warnings" = "error" ; then
>  	    try_compiler_flags="$try_compiler_flags -Werror"
>  	fi

ACK otherwise. Looks identical to libvirt where it works for a while now.

Michal




More information about the virt-tools-list mailing list