mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2024-12-22 13:33:58 +03:00
Auto-generate AUTHORS file from GIT logs
Rather than trying to manually keep track of authors, just auto-generate the list from GIT logs Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
db19b2ec99
commit
25a2acc2da
77
AUTHORS
77
AUTHORS
@ -1,77 +0,0 @@
|
||||
Virt Viewer Authors
|
||||
===================
|
||||
|
||||
The Virt Viewer application is maintained by
|
||||
|
||||
Daniel P. Berrange <berrange@redhat.com> (Original author)
|
||||
Christophe Fergeau <cfergeau@redhat.com>
|
||||
Marc-André Lureau <marcandre.lureau@redhat.com>
|
||||
Hans de Goede <hdegoede@redhat.com>
|
||||
Michal Privoznik <mprivozn@redhat.com>
|
||||
|
||||
With additional patches from:
|
||||
|
||||
Atsushi SAKAI <sakaia@jp.fujitsu.com>
|
||||
Chris Lalancette <clalance@redhat.com>
|
||||
Dave Allan <dallan@redhat.com>
|
||||
Doug Goldstein <cardoe@cardoe.com>
|
||||
Guannan Ren <gren@redhat.com>
|
||||
Guido G\374nther <agx@sigxcpu.org>
|
||||
Hans de Goede <hdegoede@redhat.com>
|
||||
Hiroyuki Kaguchi <fj7025cf@aa.jp.fujitsu.com>
|
||||
Jiri Denemark <Jiri.Denemark@gmail.com>
|
||||
Pavel Raiskup <praiskup@redhat.com>
|
||||
Richard W.M. Jones <rjones@redhat.com>
|
||||
Ronnie Sahlberg <ronniesahlberg@gmail.com>
|
||||
Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
|
||||
Yonit Halperin <yhalperi@redhat.com>
|
||||
Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
|
||||
|
||||
...send patches to get your name here...
|
||||
|
||||
Translations have been provided by
|
||||
|
||||
<amitakhya@fedoraproject.org>
|
||||
<andreyjktl@fedoraproject.org>
|
||||
<anipeter@fedoraproject.org>
|
||||
<ankit@fedoraproject.org>
|
||||
<aron@fedoraproject.org>
|
||||
<bozzo@fedoraproject.org>
|
||||
<elsupergomez@fedoraproject.org>
|
||||
<enshahar@fedoraproject.org>
|
||||
<fdaluisio@fedoraproject.org>
|
||||
<gcintra@fedoraproject.org>
|
||||
<giallu@fedoraproject.org>
|
||||
<hedda@fedoraproject.org>
|
||||
<htaira@fedoraproject.org>
|
||||
<ifelix@fedoraproject.org>
|
||||
<jassy@fedoraproject.org>
|
||||
<khasida@fedoraproject.org>
|
||||
<kkrothap@fedoraproject.org>
|
||||
<leahliu@fedoraproject.org>
|
||||
<mgiri@fedoraproject.org>
|
||||
<mospina@fedoraproject.org>
|
||||
<mvdz@fedoraproject.org>
|
||||
<rajesh@fedoraproject.org>
|
||||
<raven@fedoraproject.org>
|
||||
<renault@fedoraproject.org>
|
||||
<runab@fedoraproject.org>
|
||||
<samfreemanz@fedoraproject.org>
|
||||
<sandeeps@fedoraproject.org>
|
||||
<shanky@fedoraproject.org>
|
||||
<snicore@fedoraproject.org>
|
||||
<swkothar@fedoraproject.org>
|
||||
<tchuang@fedoraproject.org>
|
||||
<tombo@fedoraproject.org>
|
||||
<tomspur@fedoraproject.org>
|
||||
<warrink@fedoraproject.org>
|
||||
<webappz@fedoraproject.org>
|
||||
<ypoyarko@fedoraproject.org>
|
||||
<yurchor@fedoraproject.org>
|
||||
<zoltanh721@fedoraproject.org>
|
||||
...and more...
|
||||
|
||||
For full translation credits see the header of the individual
|
||||
files in the po/ directory.
|
||||
|
||||
-- End
|
21
AUTHORS.in
Normal file
21
AUTHORS.in
Normal file
@ -0,0 +1,21 @@
|
||||
Virt Viewer Authors
|
||||
===================
|
||||
|
||||
The Virt Viewer application is maintained by
|
||||
|
||||
Daniel P. Berrange <berrange@redhat.com> (Original author)
|
||||
Christophe Fergeau <cfergeau@redhat.com>
|
||||
Marc-André Lureau <marcandre.lureau@redhat.com>
|
||||
Hans de Goede <hdegoede@redhat.com>
|
||||
Michal Privoznik <mprivozn@redhat.com>
|
||||
|
||||
With additional patches & translations from:
|
||||
|
||||
#authorslist#
|
||||
|
||||
...send patches to get your name here...
|
||||
|
||||
For full translation credits see the header of the individual
|
||||
files in the po/ directory.
|
||||
|
||||
-- End
|
13
Makefile.am
13
Makefile.am
@ -15,6 +15,7 @@ EXTRA_DIST = \
|
||||
build-aux/gitlog-to-changelog \
|
||||
build-aux/useless-if-before-free \
|
||||
build-aux/vc-list-files \
|
||||
AUTHORS.in \
|
||||
$(NULL)
|
||||
|
||||
DISTCLEAN_FILES = \
|
||||
@ -44,11 +45,11 @@ MAINTAINERCLEANFILES = \
|
||||
$(srcdir)/m4/lt~obsolete.m4 \
|
||||
$(NULL)
|
||||
|
||||
dist-hook: gen-ChangeLog
|
||||
dist-hook: gen-ChangeLog gen-AUTHORS
|
||||
|
||||
# Generate the ChangeLog file (with all entries since the switch to git)
|
||||
# and insert it into the directory we're about to use to create a tarball.
|
||||
.PHONY: gen-ChangeLog
|
||||
.PHONY: gen-ChangeLog gen-AUTHORS
|
||||
gen-ChangeLog:
|
||||
if test -d .git || test -d ../.git; then \
|
||||
$(top_srcdir)/build-aux/gitlog-to-changelog \
|
||||
@ -57,6 +58,14 @@ gen-ChangeLog:
|
||||
mv $(distdir)/cl-t $(distdir)/ChangeLog; \
|
||||
fi
|
||||
|
||||
gen-AUTHORS:
|
||||
$(AM_V_GEN)if test -d $(srcdir)/.git; then \
|
||||
out="`cd $(srcdir) && git log --pretty=format:'%aN <%aE>' | sort -u`" && \
|
||||
perl -p -e "s/#authorslist#// and print '$$out'" \
|
||||
< $(srcdir)/AUTHORS.in > $(distdir)/AUTHORS-tmp && \
|
||||
mv -f $(distdir)/AUTHORS-tmp $(distdir)/AUTHORS ; \
|
||||
fi
|
||||
|
||||
if OS_WIN32
|
||||
.PHONY: nsis
|
||||
nsis:
|
||||
|
@ -2,6 +2,7 @@
|
||||
# Run this to generate all the initial makefiles, etc.
|
||||
|
||||
set -e
|
||||
|
||||
srcdir=`dirname $0`
|
||||
test -z "$srcdir" && srcdir=.
|
||||
|
||||
@ -21,6 +22,11 @@ if test "x$1" = "x--system"; then
|
||||
EXTRA_ARGS="--prefix=$prefix --sysconfdir=$sysconfdir --localstatedir=$localstatedir --libdir=$libdir"
|
||||
fi
|
||||
|
||||
# Real ChangeLog/AUTHORS is auto-generated from GIT logs at
|
||||
# make dist time, but automake requires that it
|
||||
# exists at all times :-(
|
||||
touch ChangeLog AUTHORS
|
||||
|
||||
intltoolize --force
|
||||
autoreconf -vfi
|
||||
|
||||
|
15
cfg.mk
15
cfg.mk
@ -18,7 +18,6 @@
|
||||
# Tests not to run as part of "make distcheck".
|
||||
local-checks-to-skip = \
|
||||
changelog-check \
|
||||
check-AUTHORS \
|
||||
makefile-check \
|
||||
makefile_path_separator_check \
|
||||
patch-check \
|
||||
@ -111,20 +110,6 @@ sc_copyright_format:
|
||||
# We don't use this feature of maint.mk.
|
||||
prev_version_file = /dev/null
|
||||
|
||||
# Give credit where due:
|
||||
# Ensure that each commit author email address (possibly mapped via
|
||||
# git log's .mailmap) appears in our AUTHORS file.
|
||||
sc_check_author_list:
|
||||
@fail=0; \
|
||||
for i in $$(git log --pretty=format:%aE%n|sort -u|grep -v '^$$'); do \
|
||||
sanitized=$$(echo "$$i"|LC_ALL=C sed 's/\([^a-zA-Z0-9_@-]\)/\\\1/g'); \
|
||||
grep -iq "<$$sanitized>" $(srcdir)/AUTHORS \
|
||||
|| { printf '%s\n' "$$i" >&2; fail=1; }; \
|
||||
done; \
|
||||
test $$fail = 1 \
|
||||
&& echo '$(ME): committer(s) not listed in AUTHORS' >&2; \
|
||||
test $$fail = 0
|
||||
|
||||
|
||||
exclude_file_name_regexp--sc_preprocessor_indentation = ^*/*.[ch]
|
||||
exclude_file_name_regexp--sc_prohibit_strcmp = ^*/*.[ch]
|
||||
|
Loading…
Reference in New Issue
Block a user