Closed Bug 1457550 Opened 8 years ago Closed 7 years ago

Update scripts/remove-non-public-data.pl suitability for current BMO infrastructure.

Categories

(bugzilla.mozilla.org :: General, enhancement)

Production
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bobm, Assigned: dylan)

References

Details

Attachments

(1 file)

45 bytes, text/x-github-pull-request
Details | Review
There are number of minor issues with the script, and it should be audited to see that it still meets the cleaning criteria required. See: https://mana.mozilla.org/wiki/display/EW/Database+sanitisation+for+research+purposes Some minor issues: The latest version of the script exits with this error: Global symbol "$RealBin" requires explicit package name at scripts/remove-non-public-data.pl line 133. The script should handle database related errors, like missing previously dropped tables, so it can be resumed safely.
Attached file PR
Looks like the FindBin problem was resolved, so the only part that remained was dropping tables with 'DROP TABLE IF EXIST'. With this, it seems like the remove non-public data script works just fine. Note the other mistake was that both sanitize.pl and scripts/remove-non-public-data.pl. Only scripts/remove-non-public-data.pl needs to be run -- because it runs sanitizeme.pl I'll update the mana.
Assignee: nobody → dylan
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: