This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| '''Create list of PRs, smallest to largest.''' | |
| from __future__ import print_function, unicode_literals | |
| import pprint | |
| import re | |
| import sys | |
| from argparse import ArgumentParser | |
| from datetime import timedelta |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PR 1724, Add alternative names to `fullscreenElement` by timm-gs, has 9 changes: https://github.com/mdn/browser-compat-data/pull/1724 | |
| PR 1333, remove Chrome/Firefox support for ReadableStream in Request Body by AnthumChris, has 30 changes: https://github.com/mdn/browser-compat-data/pull/1333 | |
| PR 1707, Add Navigator.serviceWorker by ExE-Boss, has 36 changes: https://github.com/mdn/browser-compat-data/pull/1707 | |
| PR 1681, add simple JSON pointer parsing to prevent data duplication by patrickkettner, has 37 changes: https://github.com/mdn/browser-compat-data/pull/1681 | |
| PR 1390, add compat data for DOMErrorHandler by gsouquet, has 40 changes: https://github.com/mdn/browser-compat-data/pull/1390 | |
| PR 1314, Add helper script for sorting browser versions by enjikaka, has 48 changes: https://github.com/mdn/browser-compat-data/pull/1314 | |
| PR 1378, New: add calc() values in grid-gap(gutter properties) by yisibl, has 48 changes: https://github.com/mdn/browser-compat-data/pull/1378 | |
| PR 1696, Add BeforeUnloadEvent by kaycebasques, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # From https://gist.github.com/jwhitlock/43e34e07bef8c3f1863e91f076778ca6 | |
| from time import sleep, time | |
| import redis | |
| from celery.states import READY_STATES | |
| from django.conf import settings | |
| from kuma.wiki.models import Document | |
| from kuma.wiki.tasks import render_document |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from datetime import datetime, date | |
| from urlparse import urlparse | |
| from kuma.wiki.models import Document | |
| pages = [page for page in '''\ | |
| https://developer.mozilla.org/en-US/docs/Tools | |
| https://developer.mozilla.org/en-US/Firefox | |
| https://developer.mozilla.org/en-US/Firefox/Releases | |
| https://developer.mozilla.org/en-US/Firefox/Multiprocess_Firefox | |
| https://developer.mozilla.org/en-US/docs/Mozilla |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| ''' | |
| Parse a Kuma papertrail log, mostly to count IP addresses to find the scrapers. | |
| To get some log entries, use command line papertrail, like: | |
| papertrail --min-time '2017-11-12 4:00 AM' --max-time '2017-11-12 5:00 AM' -g portland -- mdn-prod_web '-"GET /readiness"' '-"GET /healthz"' '-"- - HTTP/1.0"' > trouble.log | |
| A simplier version can be used to just count IP addresses, but I was being bolder, | |
| so I could parse on other elements. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| from __future__ import print_function, unicode_literals | |
| from argparse import ArgumentParser | |
| from cgi import escape | |
| from collections import defaultdict, Counter, OrderedDict | |
| from datetime import date, datetime, timedelta | |
| from textwrap import wrap | |
| import pprint | |
| import re |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash -vx | |
| PYTEST_ARGS="${@}" | |
| + PYTEST_ARGS= | |
| if [ -z "$PYTEST_ARGS" ]; then | |
| PYTEST_ARGS="tests/functional -m \"not login\" -vv -sx" | |
| fi | |
| + '[' -z '' ']' | |
| + PYTEST_ARGS='tests/functional -m "not login" -vv -sx' | |
| echo "ARGS=$PYTEST_ARGS" | |
| + echo 'ARGS=tests/functional -m "not login" -vv -sx' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash -vx | |
| PYTEST_ARGS="${@}" | |
| + PYTEST_ARGS= | |
| if [ -z "$PYTEST_ARGS" ]; then | |
| PYTEST_ARGS="tests/functional -m \"not login\" -vv -sx" | |
| fi | |
| + '[' -z '' ']' | |
| + PYTEST_ARGS='tests/functional -m "not login" -vv -sx' | |
| echo "ARGS=$PYTEST_ARGS" | |
| + echo 'ARGS=tests/functional -m "not login" -vv -sx' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash -vx | |
| PYTEST_ARGS="${@}" | |
| + PYTEST_ARGS= | |
| if [ -z "$PYTEST_ARGS" ]; then | |
| PYTEST_ARGS="tests/functional -m \"not login\" -vv -sx" | |
| fi | |
| + '[' -z '' ']' | |
| + PYTEST_ARGS='tests/functional -m "not login" -vv -sx' | |
| echo "ARGS=$PYTEST_ARGS" | |
| + echo 'ARGS=tests/functional -m "not login" -vv -sx' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Very first discussion about potentially moving MDN to Cloud Services infrastructure in 2015 | |
| Context via cyliang: | |
| "I'm part of the IT WebOps team, which is separate from the infra team spearheaded by Corey (cshields). jthomas and oremj are part of a completely different operations team (Service Operations is part of Cloud Services) and reports to a different VP. Right now, MDN is part of Cloud Services, but their infrastructure and operations is currently managed by the IT WebOps group." | |
| Feb 4 | |
| Repository + stable parameter | |
| tag, commit, branch wants to go to prod |