Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
basic CreditAttribution: basic commentedStarted 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.
Comment #2
basic CreditAttribution: basic commentedI 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.
Comment #3
basic CreditAttribution: basic commentedhttp://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.
Comment #4
basic CreditAttribution: basic commentedComment #5
tvn CreditAttribution: tvn commentedThanks 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.
Comment #6
tvn CreditAttribution: tvn commentedComment #7
basic CreditAttribution: basic commentedI think these are safe to keep, we could sanitize them, but the titles aren't a concern IMO.
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.
Comment #8
basic CreditAttribution: basic commentedComment #9
basic CreditAttribution: basic commentedComment #10
drumm