Skip to content

Instantly share code, notes, and snippets.

View biancadanforth's full-sized avatar

Bianca Danforth biancadanforth

View GitHub Profile
@biancadanforth
biancadanforth / addonInfo.json
Last active July 26, 2018 01:03
Gets add-on Normandy slug and XPI endpoint from the Normandy API (filtering for studies that use 'isFirstRun' in their recipes) and add-on size from AWS, outputting the join to addonInfo.json
{"https://net-mozaws-prod-us-west-2-normandy.s3.amazonaws.com/extensions/tracking-protection-messaging-study-new-users%40shield.mozilla.org-1.0.8-signed.xpi":{"slug":"addon-tracking-protection-messaging-1433473-new-users","addonSize":"142530"},"https://net-mozaws-prod-us-west-2-normandy.s3.amazonaws.com/extensions/pioneer-enrollment-study%40mozilla.org-2.0.4-signed.xpi":{"slug":"Pioneer Enrollment","addonSize":"153385"},"https://net-mozaws-prod-us-west-2-normandy.s3.amazonaws.com/extensions/pug.experience.mrrobotshield.mozilla.org-1.0.4-signed.xpi":{"slug":"looking-glass-2","addonSize":"12956"},"https://net-mozaws-prod-us-west-2-normandy.s3.amazonaws.com/extensions/focused-cfr-shield-studymozilla.com-1.0.1-signed.xpi":{"slug":"focused-cfr-beta-1","addonSize":"104589"},"https://net-mozaws-prod-us-west-2-normandy.s3.amazonaws.com/extensions/unified-urlbar-shield-study-opt-out-new-users-3.0.6-signed.xpi":{"slug":"unfied-search-release-new-users-1387245","addonSize":"31515"}}
@biancadanforth
biancadanforth / gist:d47411e410cc5987014864c7a3354ca8
Created January 31, 2018 21:59
./mach try -p linux64,win64,macosx64 -u all -t all --artifact
bdanforth ~/src/mozilla-unified $ ./mach try -p linux64,win64,macosx64 -u all -t all --artifact
You asked for |-u all| with |--artifact| but compiled-code tests (cppunit,gtest,jittest) can't run against an artifact build. Running (-u crashtest,firefox-ui-functional,mochitests,reftest,jsreftest,web-platform-tests,marionette,xpcshell,marionette-e10s) instead.
Creating temporary commit for remote...
pushing to ssh://hg.mozilla.org/try
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 6 changesets with 6 changes to 5 files (+1 heads)
remote: recorded push in pushlog
@biancadanforth
biancadanforth / mach try run for Shield Study
Last active January 31, 2018 21:22
./mach try -p linux64,win64,macosx64 -u all -t all --artifact
bdanforth ~/src/mozilla-unified $ ./mach try -p linux64,win64,macosx64 -u all -t all --artifact
You asked for |-u all| with |--artifact| but compiled-code tests (cppunit,gtest,jittest) can't run against an artifact build. Running (-u crashtest,firefox-ui-functional,mochitests,reftest,jsreftest,web-platform-tests,marionette,xpcshell,marionette-e10s) instead.
Creating temporary commit for remote...
pushing to ssh://hg.mozilla.org/try
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 2 changesets with 1 changes to 26 files (+1 heads)
remote: recorded push in pushlog
@biancadanforth
biancadanforth / cfrRecipe.js
Last active October 4, 2017 23:52
CFR Recipe
const cfrRecipe = {
triggers: {
// what user behaviors trigger the UI presentation
},
presentation: {
defaultComponent: {
// what do all major UI elements, sidebar, notification bar, doorhanger use
icon: '',
header: '',
summary: '',