qemu/scripts
Paolo Bonzini c6561586f0 get_maintainer.pl: restrict cases where it falls back to --git
The list emitted by --git-fallback often leads inexperienced contributors
to add pointless CCs.  While not discouraging usage of --git-fallback,
we want to:

1) disable the fallback if only some files lack a maintainer

    $ scripts/get_maintainer.pl -f util/cutils.c hw/ide/core.c
    Kevin Wolf <kwolf@redhat.com> (odd fixer:IDE)
    Stefan Hajnoczi <stefanha@redhat.com> (odd fixer:IDE)

This behavior is taken even if --git-fallback is specified.

2) warn the contributors about what we're doing, asking them to use their
common sense:

    $ scripts/get_maintainer.pl -f util/cutils.c
    get_maintainer.pl: No maintainers found, printing recent contributors.
    get_maintainer.pl: Do not blindly cc: them on patches!  Use common sense.

    Luiz Capitulino <lcapitulino@redhat.com> (commit_signer:1/2=50%)
    ...
    $

Explicitly disabling the fallback will not result in the warning message:

    $ scripts/get_maintainer.pl -f util/cutils.c   --no-git-fallback
    $ echo $?
    0

(Returning 1 would break usage of scripts/get_maintainer.pl as a cccmd
for git-send-email).

Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2014-10-23 16:41:27 +02:00
..
kvm vmxcap: Update according to SDM of September 2014 2014-09-26 21:08:56 +04:00
qemu-guest-agent
qmp
tracetool scripts/tracetool: don't barf on formats with precision 2014-09-26 09:34:39 +01:00
acpi_extract_preprocess.py
acpi_extract.py
analyse-9p-simpletrace.py
check-qerror.sh
checkpatch.pl checkpatch.pl: adjust typedef definition to QEMU coding style 2014-08-26 13:44:28 +02:00
cleanup-trace-events.pl cleanup-trace-events.pl: Tighten search for trace event call 2014-09-26 09:34:38 +01:00
coverity-model.c
create_config
disas-objdump.pl
dump-guest-memory.py
extract-vsssdk-headers
feature_to_c.sh
get_maintainer.pl get_maintainer.pl: restrict cases where it falls back to --git 2014-10-23 16:41:27 +02:00
gtester-cat
hxtool
make_device_config.sh
make-release
ordereddict.py
qapi-commands.py
qapi-event.py
qapi-types.py qapi: Allow enums in anonymous unions 2014-09-22 11:39:33 +01:00
qapi-visit.py qapi: add visit_start_union and visit_end_union 2014-09-26 13:14:10 -04:00
qapi.py qapi.py: avoid Python 2.5+ any() function 2014-08-28 13:42:25 +01:00
qemu-binfmt-conf.sh
qemu-gdb.py
refresh-pxe-roms.sh
signrom.py
simpletrace.py simpletrace: add simpletrace.py --no-header option 2014-08-12 14:26:11 +01:00
switch-timer-api
texi2pod.pl
tracetool.py
update-acpi.sh
update-linux-headers.sh
vmstate-static-checker.py checker: ignore fields marked unused 2014-08-04 15:02:37 +05:30