- add-on detail pages
- homepage
- discovery pane
5.11 (5/25)
#!/bin/bash | |
GIT=/usr/local/bin/git | |
DATE=$(date "+%Y/%m/%d %H:%M:%S") | |
AMO_PYTHON_ROOT=/data/amo_python | |
function update_previews { | |
DIR=$1 | |
BRANCH=$2 |
#!/bin/sh | |
# Usage: `git url` or `git url <commitish>` | |
# | |
# * copies the commit's github url to your clipboard | |
# * prints out the log message | |
# * opens the bugzilla page if it found a bug number | |
# | |
# Set up the github url with `git config github.url <url>`. | |
# Only for the Mac. |
# vim: syntax=apache | |
WSGISocketPrefix /var/run/wsgi | |
<VirtualHost *:80 *:81> | |
ServerName addons.mozilla.org | |
ServerAlias addons.update.mozilla.org addons-nl.stage.mozilla.com addons-cdn.mozilla.net | |
DocumentRoot /data/www/addons.mozilla.org-remora/site/app/webroot | |
SetEnv HTTPS on | |
Alias /media /data/amo_python/www/prod/zamboni/media |
In [6]: hist | |
1: _ip.magic("ed xx") | |
2: from addons.models import AddonRecommendation, Addon | |
3: import transformer | |
4: q = Addon.objects.all().transform(transformer.get_trans).filter(id=1865) | |
5: q.get() | |
6: _ip.magic("hist ") | |
In [7]: macro xx 2-5 | |
Macro `xx` created. To execute, type its name (without quotes). |
# Creating a new release branch off the 5.8.1 tag, | |
# with a single new patch picked from master. | |
git checkout -b 5.8.2 5.8.1 | |
git cherry-pick 045337ecff | |
git tag 5.8.2 HEAD | |
git push origin --tags |
diff --git a/apps/search/client.py b/apps/search/client.py | |
index 2cb0813..7f38415 100644 | |
--- a/apps/search/client.py | |
+++ b/apps/search/client.py | |
@@ -1,4 +1,6 @@ | |
import re | |
+import socket | |
+import logging | |
from django.conf import settings |
http://localhost/z/en-US/firefox/ | |
http://localhost/z/fr/firefox/ | |
http://localhost/z/de/firefox/ | |
http://localhost/z/he/firefox/ | |
http://localhost/z/pt-BR/firefox/ | |
http://localhost/z/ja/firefox/ | |
http://localhost/z/zh-TW/firefox/ | |
http://localhost/z/es-ES/firefox/ | |
http://localhost/z/el/firefox/ |
jetpack.future.import('pageMods'); | |
jetpack.pageMods.add(function(doc){ | |
$(doc).find('.section-teaser').hide(); | |
}, ['https://addons.mozilla.org/*', 'https://preview.addons.mozilla.org/*']); |
http://0:8000/en-US/firefox/themes/ | |
http://0:8000/en-US/firefox/themes/?sort=name | |
http://0:8000/en-US/firefox/themes/?sort=downloads | |
http://0:8000/en-US/firefox/themes/?sort=rating | |
http://0:8000/en-US/firefox/themes/?sort=date | |
http://0:8000/en-US/firefox/themes/?experimental=on | |
http://0:8000/en-US/firefox/themes/?sort=name&experimental=on | |
http://0:8000/en-US/firefox/themes/?sort=downloads&experimental=on | |
http://0:8000/en-US/firefox/themes/?sort=rating&experimental=on |