Update:Remora Deployment: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Remora:Update|« Back to Remora]]
[[Update:Remora|« Back to Remora]]


== Databases ==
* Design TODO (Jan 17 - Feb 7)
=== Run Migration Script ===
** <strike>Tabs for "Add-on Info" on Detail page</strike>
** Fancy star ratings (jQuery plug-in?) -- not high priority
** <strike>Test/hack in IE6 and IE7</strike>
** <s>Customizations for dict and search landing pages</s>


'''Wil did this on a non-RHEL box'''
* Dev TODO (Jan 17 - Feb 7)
** Home
*** <strike>implement conditional login content (tools links)</strike>
*** <strike>rewrite feature queries to pull category data and pull 3 instead of 1 features</strike>
*** <strike>write search and category elements</strike>
*** <strike>write search and category get functions</strike>
*** <strike>create cron to update a static field in addons table for # reviews</strike>
*** <strike>uncomment reviews portion of feature element</strike>
*** <strike>Finish feature element, render of install element</strike>
*** Fix bugs from stephend (morgamic, 1d)
** Display Page (morgamic, 1d)
*** <s>redo display page with new template</s>
*** <s>fix jquery/mootools conflicts</s>
*** <s>implement viewer using jquery plugin</s>
*** <s>rating form</s>
*** <s>expand/hide for advanced details</s>
** Search (wenzel, 4d)
*** <s>change search to include file info (see addon model)</s>
*** <s>edit listitem element to include links</s>
*** <s>edit search template to use new containers and markup (ids/classes) (3d)</s>
*** add ability to filter sandbox items like category listing page (1d)
** Category list (wenzel, 3d)
*** <s>Re-use listitem elements and get function in addon.php (2d)</s>
*** <s>adjust master template to use global styles (1d)</s>
** Category landing (1.5d)
*** <s>Re-use feature elements (1h)</s>
*** <s>Add way to <s>dynamically</s> filter sandbox elements (2h)
*** <s>Stylize list of dictionaries (2h)</s>
*** <s>Add theme category table (bottom right of mock) (2h)</s>
*** <s>Add search engine category table (bottom right of mock) (4hrs)</s>
*** <s>Fix opensearch support for search engines (???) ?wil</s>
** Other pages (1d)
*** <s>Add "content" container div to existing templates that don't have overhauls (4h)</s>
*** <s>Check centering and resizing on these pages (once through) (4h)</s>
** Testing (10h) (chris)
*** Fix simpletests for existing views
*** Add simpletests for new view elements


'''You need at least python 2.4 to run this''' Run ''python -V'' to check your version.  Lots of additional info and examples for the migration script [[Update:Remora_Database_Migration|is available ]]
* Test plan execution (Feb 1 - Feb 14)
* Go to /services/bin/
* Create migration.conf and fill in values.  For example, mine looks like:
oldDatabaseName=c_amov2
oldPassword=********
oldServerName=localhost
oldUserName=web
newDatabaseName=c_remora
newPassword=********
newServerName=localhost
newUserName=web
fileCachePath=files


* The fileCachePath is a relative path that will hold a copy of all the versions of all the addons - you'll need to create this directory. In my example, I created a directory named "files" in /services/bin/.
* Localization (Feb 1 - March 7)
*(If you're thinking of moving the migration.py script out of /services/bin, that's fine, but take blank.png with it - they need to be in the same dir when the script runs)
** Update .mo files and notify l10n lists when they are finalized
* Run ''./migration.py -MAv --recalculateHash >> migrate.out 2>&1'' - I'm redirecting the output here because there is a lot and we should look through it for errors.
** Finish all english msgid's that aren't already translated
* When this is finished, check migrate.out to make sure it finished happily
** Do house cleaning for unused msgid's?  Do we want to do this?
* Move the fileCachePath directory to /site/app/webroot/ '''VERIFY THIS'''
** Add categories to the list of 'to translate' strings -- do they already have localizer access in the control panel?  Can they already edit the category translations there?


=== Run SQL Patches ===
* Staging and Beta Test (Feb 7 - Feb 24)
* Run SQL to modify migrated data for production
** Merge trunk with 3.2 branch
** Set up public beta test
** Auto-update from the 3.2 branch
** Blog post, dev mails, public mails
*** amo-admins, all@m.c, amo-developers/editors? webdev blog, mozillazine


== Web Server Config ==
* Push and Deploy (March 1 - March 7)
 
** Final merge with trunk
=== Files ===
** Verify tests
 
** Fixes based on feedback
 
** Final tests of any changed features
=== Service URLs ===
** Tag revision for deployment
addons.mozilla.org/update/VersionCheck.php -> services/update.php
pfs.mozilla.org/plugins/PluginFinderService.php -> services/pfs.php
addons.mozilla.org/blocklist
 
Rewrites
 
# Rewrites to be compatible with older versions of addons.
RewriteRule ^update/VersionCheck.php(.*)$ update.php$1
# Rewrite for client blocklist requests.
# Example:
#  /blocklist/1/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/1.5 -> blocklist.php?reqVersion=1&appGuid={ec8030f7-c20a-464f-9b0e-13a3a9e97384}&appVersion=1.5
RewriteRule ^blocklist/(.+)/(.+)/(.+)[/]{0,1}$ blocklist.php?reqVersion=$1&appGuid=$2&appVersion=$3
# PFS
# ? it is in production, but not known.
 
== Post-deployment Checklist ==
The following should be checked:
* <strike>Memcache server operational w/ stats on serverstatus page</strike>
* <strike>Start page dictionary links (non en-US) work</strike> mm
* Installation
** <strike>Add-on installation works</strike> mm
** <strike>Theme installation works</strike> mm
** <strike>Search-engine installation works</strike> mm
** <strike>Dictionary installation works</strike> mm
** <strike>Add-on installation works w/ EULA</strike> mm
* Services
** <strike>Verify add-on and theme updates</strike> mm
** <strike>Verify blocklist XML output</strike> mm
** <strike>Verify PFS works for popular mime-types</strike> mm
** Verify that download counts are being updated (set up cron job!) (see bug 375283)
** <strike>Verify that the new add-on directory that gets pushed to releases gets scanned for viruses</strike> (justdave did this)
* Client pages
** <strike>Get more add-ons</strike> mm
** <strike>Get more themes</strike> mm
** <strike>Get more search-engines</strike> mm
** <strike>Resulting pages show up in correct locale!</strike> mm
* <strike>Top secret workarounds work!</strike> mm

Latest revision as of 12:01, 20 February 2008

« Back to Remora

  • Design TODO (Jan 17 - Feb 7)
    • Tabs for "Add-on Info" on Detail page
    • Fancy star ratings (jQuery plug-in?) -- not high priority
    • Test/hack in IE6 and IE7
    • Customizations for dict and search landing pages
  • Dev TODO (Jan 17 - Feb 7)
    • Home
      • implement conditional login content (tools links)
      • rewrite feature queries to pull category data and pull 3 instead of 1 features
      • write search and category elements
      • write search and category get functions
      • create cron to update a static field in addons table for # reviews
      • uncomment reviews portion of feature element
      • Finish feature element, render of install element
      • Fix bugs from stephend (morgamic, 1d)
    • Display Page (morgamic, 1d)
      • redo display page with new template
      • fix jquery/mootools conflicts
      • implement viewer using jquery plugin
      • rating form
      • expand/hide for advanced details
    • Search (wenzel, 4d)
      • change search to include file info (see addon model)
      • edit listitem element to include links
      • edit search template to use new containers and markup (ids/classes) (3d)
      • add ability to filter sandbox items like category listing page (1d)
    • Category list (wenzel, 3d)
      • Re-use listitem elements and get function in addon.php (2d)
      • adjust master template to use global styles (1d)
    • Category landing (1.5d)
      • Re-use feature elements (1h)
      • Add way to dynamically filter sandbox elements (2h)
      • Stylize list of dictionaries (2h)
      • Add theme category table (bottom right of mock) (2h)
      • Add search engine category table (bottom right of mock) (4hrs)
      • Fix opensearch support for search engines (???) ?wil
    • Other pages (1d)
      • Add "content" container div to existing templates that don't have overhauls (4h)
      • Check centering and resizing on these pages (once through) (4h)
    • Testing (10h) (chris)
      • Fix simpletests for existing views
      • Add simpletests for new view elements
  • Test plan execution (Feb 1 - Feb 14)
  • Localization (Feb 1 - March 7)
    • Update .mo files and notify l10n lists when they are finalized
    • Finish all english msgid's that aren't already translated
    • Do house cleaning for unused msgid's? Do we want to do this?
    • Add categories to the list of 'to translate' strings -- do they already have localizer access in the control panel? Can they already edit the category translations there?
  • Staging and Beta Test (Feb 7 - Feb 24)
    • Merge trunk with 3.2 branch
    • Set up public beta test
    • Auto-update from the 3.2 branch
    • Blog post, dev mails, public mails
      • amo-admins, all@m.c, amo-developers/editors? webdev blog, mozillazine
  • Push and Deploy (March 1 - March 7)
    • Final merge with trunk
    • Verify tests
    • Fixes based on feedback
    • Final tests of any changed features
    • Tag revision for deployment