Need sanitisation script for production database

Bug #481207 reported by Tom Haddon
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Stuart Bishop

Bug Description

We need a script that can sanitise the production database so that we can allow developers to have access to a "production data set" for testing.

Tom Haddon (mthaddon)
Changed in launchpad:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Diogo Matsubara (matsubara) wrote :

Hi Tom, we have one already in lib/lp/scripts/utilities/sanitizedb.py. Does that cover your use case?

Changed in launchpad:
status: Confirmed → Incomplete
Revision history for this message
Tom Haddon (mthaddon) wrote :

Wow, we've been looking for one of these for a while now - can you confirm how it's run? Can we do this before loading into the staging DB?

Revision history for this message
Diogo Matsubara (matsubara) wrote :

Hi Tom, there's a test in lib/lp/scripts/utilities/tests/test_sanitizedb.py but that doesn't make things much clearer. Stuart is doing test runs for this script and knows more details about its functionality. Do you mind if I close this bug report, since the script is already in trunk?

Revision history for this message
Tom Haddon (mthaddon) wrote :

I'd rather we wait til it's confirmed to be working, if that's okay.

Revision history for this message
Diogo Matsubara (matsubara) wrote :

Moving to foundations and assigning to Stuart. Stuart, once you have a complete run of the sanitisation script, could you please report back and close this bug?
Thanks

affects: launchpad → launchpad-foundations
Changed in launchpad-foundations:
assignee: nobody → Stuart Bishop (stub)
Revision history for this message
Stuart Bishop (stub) wrote :

Test run completed. Final set of patches currently in review.

Changed in launchpad-foundations:
status: Incomplete → In Progress
milestone: none → 3.1.12
Stuart Bishop (stub)
Changed in launchpad-foundations:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.