Closed
Bug 554525
Opened 14 years ago
Closed 14 years ago
[AMO] Update addons.mozilla.org on 3/23
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: clouserw, Assigned: oremj)
Details
This is a production AMO push for 5.8. Steps are below, please paste the output of all commands into this bug. Steps to follow: 1) Redirect site traffic 2) Update zamboni. Something like: git pull git submodule update --init pip install -r requirements-prod.txt 3) Run `schematic migrations` from zamboni root 4) `svn revert -R` if necessary, then `svn up` addons.mozilla.org 5) `svn revert -R` if necessary, then `svn up` services.addons.mozilla.org 6) Restart apache to pick up gettext changes 7) Add DOMAIN="addons.mozilla.org" to settings_local.py. (Details: bug 553068) 8) Add rewrites: For the API (same as bug 552612) For Paypal (same as bug 552974) For Monitor and Discovery (same as bug 554509) 9) services.addons.mozilla.org/discovery is now a valid URL, but we have rewrite rules in place to deny everything not on a whitelist. Add /discovery to that whitelist please (along with potential applications and languages prepended to it). 10) Clear all caches (Zeus, memcache, local cake cache) on both AMO and SAMO. I still need to tag the site so this bug is serving as advanced notice for now. Thanks.
Assignee | ||
Updated•14 years ago
|
Assignee: server-ops → jeremy.orem+bugs
Assignee | ||
Comment 1•14 years ago
|
||
Step 9:How do I add something to the whitelist?
Reporter | ||
Comment 2•14 years ago
|
||
(In reply to comment #1) > Step 9:How do I add something to the whitelist? It's all in the vhost as far as I know. I've never seen the rules.
Assignee | ||
Comment 3•14 years ago
|
||
2: git pull; git submodule update --init Updating eb0b8a0..060c88b Fast-forward .gitignore | 4 +- apps/addons/buttons.py | 253 ++ apps/addons/fixtures/addons/featured.json | 6 +- apps/addons/fixtures/addons/listed.json | 150 + apps/addons/fixtures/addons/test_manager.json | 7 +- apps/addons/helpers.py | 48 +- apps/addons/models.py | 197 +- apps/addons/templates/addons/button.html | 42 + .../templates/addons/collections_sidebar.html | 36 + .../templates/addons/collections_teaser.html | 81 + apps/addons/templates/addons/contribution.html | 148 + apps/addons/templates/addons/details.html | 562 +++ apps/addons/templates/addons/discovery.html | 35 + apps/addons/templates/addons/eula.html | 8 + apps/addons/templates/addons/home.html | 142 + .../templates/addons/meet_the_developer.html | 10 + apps/addons/templates/addons/popups.html | 110 + .../templates/addons/separated_list_items.html | 8 +- apps/addons/templates/addons/smorgasbord.html | 25 + apps/addons/templates/addons/support_addon.html | 14 + apps/addons/tests/test_buttons.py | 344 ++ apps/addons/tests/test_helpers.py | 20 +- apps/addons/tests/test_models.py | 99 +- apps/addons/tests/test_views.py | 161 + apps/addons/urls.py | 13 + apps/addons/views.py | 211 +- apps/admin/__init__.py | 10 +- apps/admin/fixtures/admin/tests/flagged.json | 4 +- apps/admin/templates/admin/base.html | 3 + apps/admin/templates/admin/flagged_addon_list.html | 2 +- apps/admin/templates/admin/settings.html | 30 + apps/admin/tests/test_views.py | 12 +- apps/admin/urls.py | 1 + apps/admin/views.py | 8 + apps/amo/__init__.py | 219 +- apps/amo/context_processors.py | 58 +- apps/amo/fixtures/amo/test_redirects.json | 2 +- apps/amo/fixtures/base/addon_592.json | 211 ++ apps/amo/fixtures/base/addons.json | 3988 +++++++++++--------- apps/amo/fixtures/base/featured.json | 555 +++- apps/amo/fixtures/base/global-stats.json | 20 + apps/amo/helpers.py | 146 +- apps/amo/management/commands/dump_object.py | 36 - apps/amo/management/commands/merge_fixtures.py | 26 - apps/amo/middleware.py | 3 + apps/amo/models.py | 3 + apps/amo/templates/amo/404.lhtml | 9 +- apps/amo/templates/amo/breadcrumbs.html | 7 + apps/amo/templates/amo/paginator.html | 8 +- apps/amo/tests/test_helpers.py | 125 +- apps/amo/tests/test_redirects.py | 11 +- apps/amo/tests/test_send_mail.py | 31 + apps/amo/tests/test_url_prefix.py | 32 +- apps/amo/tests/test_views.py | 40 +- apps/amo/urlresolvers.py | 20 + apps/amo/urls.py | 1 + apps/amo/utils.py | 40 + apps/amo/views.py | 51 + apps/api/templates/api/includes/addon.xml | 102 +- apps/api/templates/api/search.xml | 4 +- apps/api/tests.py | 187 +- apps/api/views.py | 94 +- .../fixtures/applications/all_apps.json | 56 + apps/applications/models.py | 8 +- apps/applications/tests.py | 45 + apps/bandwagon/fixtures/bandwagon/test_models.json | 50 + apps/bandwagon/models.py | 64 +- .../templates/bandwagon/users/collection_list.html | 2 +- apps/bandwagon/tests/test_models.py | 28 + apps/browse/templates/browse/themes.html | 30 +- apps/browse/tests.py | 12 +- apps/browse/views.py | 10 +- apps/cake/helpers.py | 55 + apps/cake/tests.py | 64 +- apps/devhub/models.py | 2 +- apps/files/models.py | 28 +- apps/files/tests.py | 13 + apps/minify/bin/yuicompressor-2.4.2.jar | Bin 0 -> 851219 bytes apps/minify/helpers.py | 46 + apps/minify/management/commands/compress_assets.py | 47 + apps/minify/tests.py | 64 + apps/reviews/fixtures/reviews/test_models.json | 2 +- apps/reviews/helpers.py | 33 +- apps/reviews/models.py | 1 + apps/reviews/templates/reviews/review_list.html | 2 +- apps/reviews/templates/reviews/reviews_link.html | 11 + apps/reviews/tests/test_helpers.py | 15 +- apps/search/client.py | 51 +- apps/search/forms.py | 126 + apps/search/helpers.py | 8 + apps/search/sphinxapi.py | 1847 +++++----- apps/search/tests.py | 54 +- apps/search/urls.py | 8 + apps/search/utils.py | 27 +- apps/search/views.py | 5 + apps/sharing/__init__.py | 10 + apps/sharing/helpers.py | 38 + apps/sharing/models.py | 96 + apps/sharing/templates/sharing/addon_sharing.html | 65 + apps/sharing/tests.py | 67 + apps/stats/db.py | 565 +++ apps/stats/fixtures/stats/test_models.json | 213 ++ apps/stats/fixtures/stats/test_views.json | 64 + apps/stats/models.py | 185 +- .../stats/contribution-thankyou-email.ltxt | 7 + apps/stats/templates/stats/csv_header.txt | 10 + apps/stats/tests/test_db.py | 149 + apps/stats/tests/test_generators.py | 39 + apps/stats/tests/test_models.py | 143 + apps/stats/tests/test_views.py | 242 ++ apps/stats/urls.py | 37 + apps/stats/utils.py | 208 + apps/stats/views.py | 245 ++ apps/tags/fixtures/tags/tags.json | 107 + apps/tags/helpers.py | 24 + apps/tags/models.py | 20 +- apps/tags/templates/tags/tag_list.html | 28 + apps/tags/tests/test_helpers.py | 69 + apps/tags/tests/test_models.py | 18 + apps/translations/helpers.py | 36 + apps/translations/models.py | 32 +- apps/translations/tests/test_helpers.py | 48 + apps/translations/tests/test_models.py | 86 +- apps/translations/tests/test_util.py | 11 + apps/translations/utils.py | 60 + apps/users/helpers.py | 4 +- apps/users/models.py | 16 +- apps/users/templates/users/profile.html | 2 +- apps/users/templates/users/vcard.html | 5 +- apps/users/tests/test_helpers.py | 6 +- apps/users/tests/test_models.py | 16 + apps/versions/compare.py | 29 + apps/versions/models.py | 74 +- apps/versions/tests.py | 82 +- configs | 2 +- docs/settings/settings_local.dev.py | 2 + docs/topics/installation.rst | 9 +- docs/topics/logging.rst | 6 + docs/topics/production.rst | 2 +- docs/topics/search.rst | 28 + fabfile.py | 22 +- lib/l10n/__init__.py | 75 +- lib/l10n/management/commands/amalgamate.py | 84 + lib/l10n/management/commands/extract.py | 190 +- lib/l10n/template.py | 16 +- lib/l10n/tests/helpers.py | 17 + lib/l10n/tests/test_template.py | 39 - lib/l10n/tests/tests.py | 272 ++ lib/licenses/__init__.py | 10 + lib/licenses/bsd.txt | 25 + lib/licenses/gpl2.txt | 339 ++ lib/licenses/gpl3.txt | 674 ++++ lib/licenses/lgpl21.txt | 504 +++ lib/licenses/lgpl3.txt | 165 + lib/licenses/mit.txt | 21 + lib/licenses/mpl.txt | 470 +++ lib/product_details/json | 2 +- locale | 2 +- log_settings.py | 6 +- manage.py | 10 +- media/css | 2 +- media/img/amo2009 | 2 +- media/img/jquery-lightbox/close.png | Bin 0 -> 3647 bytes media/img/jquery-lightbox/goleft.png | Bin 0 -> 4079 bytes media/img/jquery-lightbox/goright.png | Bin 0 -> 4071 bytes media/img/jquery-lightbox/lightbox-blank.gif | Bin 0 -> 43 bytes media/img/jquery-lightbox/lightbox-ico-loading.gif | Bin 0 -> 3990 bytes media/img/zamboni/anon_user.png | Bin 0 -> 2046 bytes media/img/zamboni/button-blue-on.png | Bin 0 -> 237 bytes media/img/zamboni/button-blue.png | Bin 0 -> 212 bytes media/img/zamboni/button-caution-on.png | Bin 0 -> 809 bytes media/img/zamboni/button-caution.png | Bin 0 -> 674 bytes media/img/zamboni/button-green-on.png | Bin 0 -> 248 bytes media/img/zamboni/button-green.png | Bin 0 -> 234 bytes media/img/zamboni/icons/addmobile-32x32.png | Bin 0 -> 1121 bytes media/img/zamboni/icons/alert-32x32.png | Bin 0 -> 828 bytes media/img/zamboni/icons/button-icons.png | Bin 0 -> 1317 bytes media/img/zamboni/icons/firefox-32x32.png | Bin 0 -> 2024 bytes media/img/zamboni/icons/no-14x14.png | Bin 0 -> 762 bytes media/img/zamboni/icons/no-32x32.png | Bin 0 -> 1095 bytes media/img/zamboni/icons/suggest-help.png | Bin 0 -> 541 bytes media/img/zamboni/pop-point-blue.png | Bin 0 -> 318 bytes media/img/zamboni/pop-point-yellow.png | Bin 0 -> 322 bytes media/img/zamboni/suggest-point-rtl.png | Bin 0 -> 159 bytes media/img/zamboni/suggest-point.png | Bin 0 -> 151 bytes media/js | 2 +- ...{1-category-slugs.sql => 01-category-slugs.sql} | 0 ...-addonsusers-ids.sql => 02-addonsusers-ids.sql} | 0 ...roups_users-ids.sql => 03-groups_users-ids.sql} | 0 ...gories-ids.sql => 04-addons_categories-ids.sql} | 0 ...ions-id.sql => 05-applications-versions-id.sql} | 0 .../{6-last-update.sql => 06-last-update.sql} | 2 +- migrations/08-null-nominationdate.sql | 2 + migrations/09-hide-search-categories.sql | 5 + migrations/10-fix-collection-count.sql | 2 + ...ategories-id.sql => 11-collection-users-id.sql} | 4 +- migrations/12-add-most-shared-src.sql | 3 + migrations/13-addon-dates.sql | 8 + migrations/14-null-suggested-amount.sql | 3 + ...susers-ids.sql => 15-users_tags_addons-ids.sql} | 4 +- migrations/16-pk.sql | 23 + migrations/17-thankyou-notes.sql | 8 + migrations/schematic_settings.py | 11 +- requirements-prod.txt | 5 +- requirements.txt | 6 +- scripts/build.sh | 7 +- scripts/pylintrc | 2 +- scripts/pypi.sh | 36 + settings.py | 220 +- templates/base.html | 51 +- templates/base_side_categories.html | 1 + templates/categories.html | 2 +- templates/footer.html | 12 +- templates/search.html | 63 +- templates/user_login.html | 19 +- urls.py | 9 +- 216 files changed, 14763 insertions(+), 3546 deletions(-) create mode 100644 apps/addons/buttons.py create mode 100644 apps/addons/fixtures/addons/listed.json create mode 100644 apps/addons/templates/addons/button.html create mode 100644 apps/addons/templates/addons/collections_sidebar.html create mode 100644 apps/addons/templates/addons/collections_teaser.html create mode 100644 apps/addons/templates/addons/contribution.html create mode 100644 apps/addons/templates/addons/details.html create mode 100644 apps/addons/templates/addons/discovery.html create mode 100644 apps/addons/templates/addons/eula.html create mode 100644 apps/addons/templates/addons/home.html create mode 100644 apps/addons/templates/addons/meet_the_developer.html create mode 100644 apps/addons/templates/addons/popups.html create mode 100644 apps/addons/templates/addons/smorgasbord.html create mode 100644 apps/addons/templates/addons/support_addon.html create mode 100644 apps/addons/tests/test_buttons.py create mode 100644 apps/addons/tests/test_views.py create mode 100644 apps/admin/templates/admin/settings.html create mode 100644 apps/amo/fixtures/base/addon_592.json create mode 100644 apps/amo/fixtures/base/global-stats.json delete mode 100644 apps/amo/management/commands/dump_object.py delete mode 100644 apps/amo/management/commands/merge_fixtures.py create mode 100644 apps/amo/templates/amo/breadcrumbs.html create mode 100644 apps/amo/tests/test_send_mail.py create mode 100644 apps/applications/fixtures/applications/all_apps.json create mode 100644 apps/applications/tests.py create mode 100644 apps/bandwagon/fixtures/bandwagon/test_models.json create mode 100644 apps/bandwagon/tests/test_models.py create mode 100644 apps/cake/helpers.py create mode 100644 apps/minify/__init__.py create mode 100755 apps/minify/bin/yuicompressor-2.4.2.jar create mode 100644 apps/minify/helpers.py create mode 100644 apps/minify/management/__init__.py create mode 100644 apps/minify/management/commands/__init__.py create mode 100644 apps/minify/management/commands/compress_assets.py create mode 100644 apps/minify/tests.py create mode 100644 apps/reviews/templates/reviews/reviews_link.html create mode 100644 apps/search/forms.py create mode 100644 apps/search/helpers.py create mode 100644 apps/search/urls.py create mode 100644 apps/search/views.py create mode 100644 apps/sharing/__init__.py create mode 100644 apps/sharing/helpers.py create mode 100644 apps/sharing/models.py create mode 100644 apps/sharing/templates/sharing/addon_sharing.html create mode 100644 apps/sharing/tests.py create mode 100644 apps/stats/db.py create mode 100644 apps/stats/fixtures/stats/test_models.json create mode 100644 apps/stats/fixtures/stats/test_views.json create mode 100644 apps/stats/templates/stats/contribution-thankyou-email.ltxt create mode 100644 apps/stats/templates/stats/csv_header.txt create mode 100644 apps/stats/tests/test_db.py create mode 100644 apps/stats/tests/test_generators.py create mode 100644 apps/stats/tests/test_models.py create mode 100644 apps/stats/tests/test_views.py create mode 100644 apps/stats/urls.py create mode 100644 apps/stats/utils.py create mode 100644 apps/stats/views.py create mode 100644 apps/tags/fixtures/tags/tags.json create mode 100644 apps/tags/helpers.py create mode 100644 apps/tags/templates/tags/tag_list.html create mode 100644 apps/tags/tests/__init__.py create mode 100644 apps/tags/tests/test_helpers.py create mode 100644 apps/tags/tests/test_models.py create mode 100644 apps/translations/helpers.py create mode 100644 apps/translations/tests/test_helpers.py create mode 100644 apps/translations/tests/test_util.py create mode 100644 apps/translations/utils.py create mode 100644 apps/versions/compare.py create mode 100644 docs/topics/search.rst create mode 100644 lib/l10n/management/commands/amalgamate.py create mode 100644 lib/l10n/tests/__init__.py create mode 100644 lib/l10n/tests/helpers.py delete mode 100644 lib/l10n/tests/test_template.py create mode 100644 lib/licenses/__init__.py create mode 100644 lib/licenses/bsd.txt create mode 100644 lib/licenses/gpl2.txt create mode 100644 lib/licenses/gpl3.txt create mode 100644 lib/licenses/lgpl21.txt create mode 100644 lib/licenses/lgpl3.txt create mode 100644 lib/licenses/mit.txt create mode 100644 lib/licenses/mpl.txt create mode 100644 media/img/jquery-lightbox/close.png create mode 100644 media/img/jquery-lightbox/goleft.png create mode 100644 media/img/jquery-lightbox/goright.png create mode 100644 media/img/jquery-lightbox/lightbox-blank.gif create mode 100644 media/img/jquery-lightbox/lightbox-ico-loading.gif create mode 100644 media/img/zamboni/anon_user.png create mode 100644 media/img/zamboni/button-blue-on.png create mode 100644 media/img/zamboni/button-blue.png create mode 100644 media/img/zamboni/button-caution-on.png create mode 100644 media/img/zamboni/button-caution.png create mode 100644 media/img/zamboni/button-green-on.png create mode 100644 media/img/zamboni/button-green.png create mode 100644 media/img/zamboni/icons/addmobile-32x32.png create mode 100644 media/img/zamboni/icons/alert-32x32.png create mode 100644 media/img/zamboni/icons/button-icons.png create mode 100644 media/img/zamboni/icons/firefox-32x32.png create mode 100644 media/img/zamboni/icons/no-14x14.png create mode 100644 media/img/zamboni/icons/no-32x32.png create mode 100644 media/img/zamboni/icons/suggest-help.png create mode 100644 media/img/zamboni/pop-point-blue.png create mode 100644 media/img/zamboni/pop-point-yellow.png create mode 100644 media/img/zamboni/suggest-point-rtl.png create mode 100644 media/img/zamboni/suggest-point.png rename migrations/{1-category-slugs.sql => 01-category-slugs.sql} (100%) copy migrations/{2-addonsusers-ids.sql => 02-addonsusers-ids.sql} (100%) rename migrations/{3-groups_users-ids.sql => 03-groups_users-ids.sql} (100%) rename migrations/{4-addons_categories-ids.sql => 04-addons_categories-ids.sql} (100%) rename migrations/{5-applications-versions-id.sql => 05-applications-versions-id.sql} (100%) rename migrations/{6-last-update.sql => 06-last-update.sql} (97%) create mode 100644 migrations/08-null-nominationdate.sql create mode 100644 migrations/09-hide-search-categories.sql create mode 100644 migrations/10-fix-collection-count.sql rename migrations/{7-addons-categories-id.sql => 11-collection-users-id.sql} (58%) create mode 100644 migrations/12-add-most-shared-src.sql create mode 100644 migrations/13-addon-dates.sql create mode 100644 migrations/14-null-suggested-amount.sql rename migrations/{2-addonsusers-ids.sql => 15-users_tags_addons-ids.sql} (57%) create mode 100644 migrations/16-pk.sql create mode 100644 migrations/17-thankyou-notes.sql create mode 100755 scripts/pypi.sh remote: Counting objects: 32, done. remote: Compressing objects: 100% (17/17), done. remote: Total 28 (delta 16), reused 22 (delta 11) Unpacking objects: 100% (28/28), done. From git://github.com/davedash/amo-configs + d743bd0...17e3970 master -> origin/master (forced update) Submodule path 'configs': checked out '3c951d48a8f92fe113aac865f9f5d20308e8b432' remote: Counting objects: 67, done. remote: Compressing objects: 100% (64/64), done. remote: Total 67 (delta 43), reused 0 (delta 0) Unpacking objects: 100% (67/67), done. From git://github.com/jbalogh/mozilla-product-details + c7ab6c8...3e86dcc master -> origin/master (forced update) Submodule path 'lib/product_details/json': checked out '3e86dccbe2d0303c8d5319636ac280bdc27baac3' remote: Counting objects: 40392, done. remote: Compressing objects: 100% (20789/20789), done. remote: Total 40392 (delta 18692), reused 40258 (delta 18558) Receiving objects: 100% (40392/40392), 177.36 MiB | 1.45 MiB/s, done. Resolving deltas: 100% (18692/18692), done. From git://github.com/clouserw/amo-locales + 015853a...7558abb master -> origin/master (forced update) Submodule path 'locale': checked out '7558abb1c3efe66dd8f21fc216f2a89f5ad22e71' remote: Counting objects: 154, done. remote: Compressing objects: 100% (144/144), done. remote: Total 146 (delta 132), reused 0 (delta 0) Receiving objects: 100% (146/146), 24.30 KiB, done. Resolving deltas: 100% (132/132), completed with 7 local objects. From git://github.com/jbalogh/amo2009-css * [new branch] install -> origin/install 09e3827..0fe308c master -> origin/master Submodule path 'media/css': checked out 'ddd354ce15b96abdfc572c4c134f9502001d1ea4' remote: Counting objects: 19, done. remote: Compressing objects: 100% (15/15), done. remote: Total 16 (delta 9), reused 0 (delta 0) Unpacking objects: 100% (16/16), done. From git://github.com/jbalogh/amo2009-img 2f0066b..d8035e9 master -> origin/master Submodule path 'media/img/amo2009': checked out 'd8035e9a213ca5434a0780c8ce448920d4217662' remote: Counting objects: 201, done. remote: Compressing objects: 100% (190/190), done. remote: Total 191 (delta 166), reused 0 (delta 0) Receiving objects: 100% (191/191), 51.80 KiB, done. Resolving deltas: 100% (166/166), completed with 7 local objects. From git://github.com/davedash/amo-js * [new branch] install -> origin/install 6323464..a0ddaf9 master -> origin/master Submodule path 'media/js': checked out 'a0ddaf9e98a290936f176c293cb46476ab78c214'
Assignee | ||
Comment 4•14 years ago
|
||
3: schematic migrations Running migration 8: ALTER TABLE addons CHANGE COLUMN `nominationdate` `nominationdate` datetime; That took 12.85 seconds ################################################## Running migration 9: -- We only show categories with weight >= 0. We want search categories to -- show up in the bottom list, so we hide them from the top category list. -- These are the search categories for Firefox and Seamonkey. UPDATE categories SET weight=-1 WHERE id IN (13, 47); That took 0.17 seconds ################################################## Running migration 10: -- Bug 543899 UPDATE collections SET addonCount=0 WHERE id IN (8280,29452,54397,2619); That took 0.03 seconds ################################################## Running migration 11: ALTER TABLE collections_users ADD UNIQUE (collection_id, user_id), DROP PRIMARY KEY, ADD COLUMN id INTEGER UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY FIRST; That took 1.04 seconds ################################################## Running migration 12: INSERT INTO download_sources (name, type, created) VALUES ('mostshared', 'full', NOW()); That took 0.04 seconds ################################################## Running migration 13: -- Addon dates should not be zero. UPDATE addons SET modified=created WHERE modified = 0; UPDATE addons SET last_updated=created WHERE last_updated=0; That took 0.44 seconds ################################################## Running migration 14: UPDATE addons SET suggested_amount = NULL WHERE suggested_amount = ""; That took 0.36 seconds ################################################## Running migration 15: ALTER TABLE users_tags_addons ADD UNIQUE (user_id, tag_id, addon_id), DROP PRIMARY KEY, ADD COLUMN id INTEGER UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY FIRST; That took 5.38 seconds ################################################## Running migration 16: -- adding primary keys like nobody's business: ALTER TABLE addon_recommendations ADD UNIQUE(addon_id, other_addon_id), ADD COLUMN id INTEGER UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY FIRST; ALTER TABLE addons_collections ADD UNIQUE(addon_id, collection_id), DROP PRIMARY KEY, ADD COLUMN id INTEGER UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY FIRST; ALTER TABLE addons_collections ADD COLUMN `created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00'; ALTER TABLE collection_addon_recommendations ADD COLUMN id INTEGER UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY FIRST; ALTER TABLE versions_summary ADD COLUMN id INTEGER UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY FIRST; -- users_tags_addons removed, that's already in migration 15. --fwenzel That took 55.85 seconds ################################################## Running migration 17: ALTER TABLE `addons` ADD COLUMN `thankyou_note` int(11) unsigned default NULL AFTER `wants_contributions`, ADD COLUMN `enable_thankyou` tinyint(1) unsigned NOT NULL default '0' AFTER `wants_contributions`, ADD KEY `addons_ibfk_13` (`thankyou_note`), ADD CONSTRAINT `addons_ibfk_13` FOREIGN KEY (`thankyou_note`) REFERENCES `translations` (`id`); ALTER TABLE `stats_contributions` ADD COLUMN `source_locale` varchar(10) default NULL AFTER `source`; That took 17.55 seconds ##################################################
Comment 5•14 years ago
|
||
11) ./manage.py compress_assets # [z]
Assignee | ||
Comment 6•14 years ago
|
||
4,5: Were already updated somehow. 7: DOMAIN = "addons.mozilla.org" 8. done 9: On services.addons vserver: $path = http.getpath(); if( !string.regexmatch( $path, "^/z/") && string.regexmatch( $path, "^((?:/[^/]+){0,2}/discovery(?:/.*)?)$" ) ){ http.setHeader( "Host", "addons.mozilla.org" ); http.addResponseHeader( "X-services-source", "zamboni" ); } 10: done. 11:./manage.py compress_assets
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Updated•5 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•