export_safe: A script to scrub and export a Gerrit2 database

This script is just a simple tool to help me export the current
PostgreSQL database into a format that is safe to send to a 3rd
party.  All of the data is public on Gerrit's website, except for
the user's physical address contact information.  We scrub that
out because we do not have consent from our users to disclose
that information.

Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
Shawn O. Pearce
2008-11-26 16:05:15 -08:00
parent 4c78859296
commit 2f09570d60
2 changed files with 19 additions and 0 deletions

1
.gitignore vendored
View File

@@ -1,2 +1,3 @@
/config.mak
/gerrit2_dump.sql.bz2
hs_err_pid*.log