Skip to content

Instantly share code, notes, and snippets.

View wlach's full-sized avatar
👋

Will Lachance wlach

👋
View GitHub Profile
diff --git a/rollup.config.js b/rollup.config.js
index d8b4cce..541e75b 100644
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -6,6 +6,7 @@ import livereload from "rollup-plugin-livereload";
import { terser } from "rollup-plugin-terser";
import { spawn, execSync } from "child_process";
import sveltePreprocess from "svelte-preprocess";
+import postcss from "rollup-plugin-postcss";
diff --git a/package-lock.json b/package-lock.json
index 76d8213..a768fcc 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -6452,7 +6452,6 @@
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz",
"integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==",
- "dev": true,
"requires": {
wlach@antwerp glean-dictionary % cat ~/.gitconfig
[user]
email = wrlach@gmail.com
name = William Lachance
[core]
editor = code --wait
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
@wlach
wlach / gist:0fb52a8b3048ebdbea95fcea3fa3b61e
Created December 3, 2020 20:53
Diff of glean dictionary app/metric/ping scraping output
This file has been truncated, but you can view the full file.
diff -ur data/burnham/index.json data.new/burnham/index.json
--- data/burnham/index.json 2020-12-03 15:30:46.000000000 -0500
+++ data.new/burnham/index.json 2020-12-03 15:32:20.000000000 -0500
@@ -92,6 +92,150 @@
{
"name": "test.run",
"description": "ID of the current test run.\n"
+ },
+ {
+ "name": "android_sdk_version",
This file has been truncated, but you can view the full file.
diff -ur data/burnham/index.json data.new/burnham/index.json
--- data/burnham/index.json 2020-12-03 12:03:23.000000000 -0500
+++ data.new/burnham/index.json 2020-12-03 11:33:24.000000000 -0500
@@ -1 +1 @@
-{"app_id": "burnham", "branch": "main", "dependencies": ["org.mozilla.deprecated:glean"], "deprecated": false, "description": "Automated end-to-end testing for Mozilla's Glean telemetry", "metrics_file_paths": ["application/src/burnham/config/metrics.yaml"], "name": "burnham", "notification_emails": ["rpierzina@mozilla.com"], "ping_file_paths": ["application/src/burnham/config/pings.yaml"], "prototype": false, "url": "https://github.com/mozilla/burnham", "pings": [{"name": "discovery", "description": "Custom ping sent by the burnham CLI app.\n"}, {"name": "space-ship-ready", "description": "Custom ping for testing kebab-case ping names.\n"}, {"name": "starbase46", "description": "Custom ping for testing ping names that contain numbers.\n"}, {"name": "baseline", "description": "This ping is intended to provi
@wlach
wlach / glean-outreachy-early-faq.md
Last active October 13, 2020 15:49
Glean Dictionary Outreachy FAQ

Q: Where can I find more information on this project?

The best place to look is the project proposal for the Glean Dictionary as a whole.

The Outreachy internship will cover phases 2 & 3 under the plan section. It will involve interacting with our telemetry metadata (using Python) and visualizing it (using JavaScript/Node.Js and svelte)

Note the Glean Dictionary is in a very early state as of this writing: we're expecting it to evolve rapidly over the next few weeks.

Q: Can you give me a good first issue?

diff --git a/server/notebooks/views.py b/server/notebooks/views.py
index 4edc0bf6..bca3e487 100644
--- a/server/notebooks/views.py
+++ b/server/notebooks/views.py
@@ -2,6 +2,7 @@ import base64
import mimetypes
import urllib.parse
+from django.conf import settings
from django.core.exceptions import ValidationError
diff --git a/gui/mozregui/mainwindow.py b/gui/mozregui/mainwindow.py
index 3386c6d..c8daba9 100644
--- a/gui/mozregui/mainwindow.py
+++ b/gui/mozregui/mainwindow.py
@@ -40,6 +40,10 @@ class MainWindow(QMainWindow):
self.ui = Ui_MainWindow()
self.ui.setupUi(self)
+ # force the log widget to be visible, in case it was ever
+ # turned off (possible in previous versions)
diff --git a/gui/mozregui/ui/mainwindow.ui b/gui/mozregui/ui/mainwindow.ui
index 2bf36f3..376972e 100644
--- a/gui/mozregui/ui/mainwindow.ui
+++ b/gui/mozregui/ui/mainwindow.ui
@@ -138,6 +138,12 @@
<addaction name="actionStop_the_bisection"/>
</widget>
<widget class="QDockWidget" name="logDockWidget">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
# -*- mode: python ; coding: utf-8 -*-
block_cipher = None
from PyInstaller.utils.hooks import collect_all
datas, binaries, hiddenimports = [], [], []
for pkgname in ['glean', 'glean_parser']:
pkg_datas, pkg_binaries, pkg_hiddenimports = collect_all(pkgname)
datas.extend(pkg_datas)
binaries.extend(pkg_binaries)