import-activity-stream.sh draft
authorNick Alexander <nalexander@mozilla.com>
Wed, 28 Mar 2018 09:59:50 -0700
changeset 795819 36a2e8e9d816b8d626105c1ba130a1b7010c5685
parent 795818 1e5c2f551e0c34d4e323d8777e367a7adabcdee4
child 795820 44ab0ba9717ff799a751cdf053c04d8ac8a9bcf5
push id110091
push userbmo:dmose@mozilla.org
push dateWed, 16 May 2018 16:58:05 +0000
milestone62.0a1
import-activity-stream.sh
import-activity-stream.sh
new file mode 100644
--- /dev/null
+++ b/import-activity-stream.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+set -x -e -v
+
+# Like '837cea5f'.
+REV=`grep 'em:version' browser/extensions/activity-stream/install.rdf.in | python -c 'import sys; print(sys.stdin.readline().rsplit("-", 1)[1].split("<", 1)[0])'`
+
+pushd browser/extensions/activity-stream
+FILES="*/package.json */webpack.system-addon.config.js */webpack.prerender.config.js */system-addon/content-src"
+curl -L https://github.com/mozilla/activity-stream/archive/$REV.tar.gz | tar zxf - --strip-components 1 $FILES
+popd