D7 infra.d.o is work-in-progress here: http://infrastructure.staging.devdrupal.org/

db sanitization queries need to be written for this new D7 site. In particular, 'infra_page' content type holds private information, which should not get into our dev sites.

Comments

basic’s picture

Started working on this today, and have a testing raw/sanitized db in progress. There is a bit of work to be done still to get the scripts to sanitize properly, including writing a handler to let us easily delete specific content types. halstead linked me to some examples here and here.

basic’s picture

I have updated and added to the whitelist sanitization scripts. I believe these are working now, so the next steps are to add a jenkins job to create the sanitized development databases.

basic’s picture

http://localhost:8080/view/Infra/job/infrastructure_database_snapshot/ now exists to create the dev snapshot. It uses the new sanitize_db.py script for this. I added a handler for infra_page content that should sanitize it from the dump.

I went ahead and deployed http://tvn-infrastructure.redesign.devdrupal.org/ for you to test with.

basic’s picture

Status: Active » Fixed
tvn’s picture

Thanks basic. Overall the dev site looks good. Two things to check:
1. The content of 'infra_pages' is gone, however the titles are still there. Are we ok with leaving those?
If not, I would not want to delete the nodes completely, as they create the structure of infra team section of the site. Can we maybe replace the titles with some text e.g. 'infra page'.

2. BUEditor on this dev site has no button icons. On the live site the icons are located at sites/default/files/bueditor-icons. I think Bueditor then creates a sprite out of those somewhere in temp folder. So seems like icons and/or sprite image are missing.

tvn’s picture

Status: Fixed » Needs work
basic’s picture

The content of 'infra_pages' is gone, however the titles are still there. Are we ok with leaving those?

I think these are safe to keep, we could sanitize them, but the titles aren't a concern IMO.

BUEditor on this dev site has no button icons. On the live site the icons are located at sites/default/files/bueditor-icons. I think Bueditor then creates a sprite out of those somewhere in temp folder. So seems like icons and/or sprite image are missing.

I just tracked this down, and it was due to a missing line in Jenkins stagingwww_sync_files, and missing rsync module for the infrastructure site. These have been added and should (hopefully) fix the missing files issue.

basic’s picture

Status: Needs work » Needs review
basic’s picture

Assigned: basic » tvn
drumm’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

Component: Database » Servers