mbox series

[0/2] bugreport: report configs from safelist

Message ID 20200624012827.34126-1-emilyshaffer@google.com (mailing list archive)
Headers show
Series bugreport: report configs from safelist | expand

Message

Emily Shaffer June 24, 2020, 1:28 a.m. UTC
Some configs are useful to know when trying to diagnose or reproduce an
issue. However, other configs are sensitive and should not be shared
with others. Finally, many tools which wrap or augment Git also use
Git's config system, and so may store sensitive information which Git
is not aware of. Therefore, it makes sense for git-bugreport to gather
configs which Git developers have decided are safe and useful - a
safelist - but no other configs which the user may have. This list of
safe configs can be expanded over time and is generated from
documentation.

This series is based on 'master' but was cherry-picked from quite some
time ago, so it's possible there's some anachronism I missed reviewing
it myself :)

 - Emily

Emily Shaffer (2):
  bugreport: generate config safelist based on docs
  bugreport: add config values from safelist

 .gitignore                              |  1 +
 Documentation/asciidoc.conf             |  9 ++++
 Documentation/asciidoctor-extensions.rb |  7 ++++
 Documentation/config/sendemail.txt      | 56 ++++++++++++-------------
 Documentation/git-bugreport.txt         |  1 +
 Makefile                                |  9 ++++
 bugreport.c                             | 28 +++++++++++++
 generate-bugreport-config-safelist.sh   | 18 ++++++++
 8 files changed, 101 insertions(+), 28 deletions(-)
 create mode 100755 generate-bugreport-config-safelist.sh