User:LFaraone/Work/2011-W7

From OLPC
< User:LFaraone‎ | Work
Revision as of 16:43, 18 February 2011 by LFaraone (talk | contribs) (Drupal upgrade process: more specific re drupal)
Jump to: navigation, search

Tasks done

  • Fix git conflicts on one.
  • Fix nasty errors due to incorrect permissions of the parser syndication cache on www-staging

Notes

Drupal upgrade process

Steps to upgrade Drupal: suggestions welcome

  1. Locally: Download and untar the new release
  2. Locally: Copy new release over checked out repository
  3. Locally: Commit changes to branch drupal-next
  4. Locally: Push changes to crank in drupal-next branch.
  5. laptop2: Pull from origin/drupal-next to master
  6. laptop2: Look at the main few pages and make sure there are no major errors
  7. laptop1: Make a backup of the current database, and web directory. (latter is sort of redundant, since we use git, but not all files are in VCS)
  8. laptop1: Pull from origin/drupal-next to master
  9. laptop1: Verify new site works as expected

If the site does not work as expected, we git revert to the old codebase, and if worst comes to worst we still have the old database backup and full www backup.

Future tasks

  • Investigate the means by which we could import feeds a la planet.
    • We'll want to have a subset of Planet syndicated, subject to manual approval [medium, 3hr]
  • Determine a migration path for URLs on the old blog.laptop.org instance to Drupal
    • Current URL schemes are incompatible.
  • Figure out if we want to keep Wordpress for blog.l.o, and somehow integrate it with Drupal. This eliminates the above URL issue, but add new ones, namely:
    • Unify visual style. b.l.o looks decidedly un-one.l.o-like.
    • Single-user-login between Drupal and Wordpress.
  • Duplicate database for www-staging if it turns out to be needed, double check this.
  • Follow up on mailman migration with Ed et al. (talk with SJ/Adam re formulating specific rationale for upgrade)