User:LFaraone/Work/2011-W7: Difference between revisions

From OLPC
Jump to navigation Jump to search
(→‎Notes: add heading)
(→‎Drupal upgrade process: more specific re drupal)
Line 9: Line 9:
# ''Locally:'' Copy new release over checked out repository
# ''Locally:'' Copy new release over checked out repository
# ''Locally:'' Commit changes to branch '''drupal-next'''
# ''Locally:'' Commit changes to branch '''drupal-next'''
# ''Locally:'' Push changes to [http://dev.laptop.org/git crank]
# ''Locally:'' Push changes to [http://dev.laptop.org/git crank] in '''drupal-next''' branch.
# ''laptop2:'' Pull from '''origin/drupal-next''' to '''master'''
# ''laptop2:'' Pull from '''origin/drupal-next''' to '''master'''
# ''laptop2:'' Look at the main few pages and make sure there are no major errors
# ''laptop2:'' Look at the main few pages and make sure there are no major errors

Revision as of 20:43, 18 February 2011

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)