Page MenuHomePhabricator
Paste P12908

cleanup etherpad js
ActivePublic

Authored by akosiaris on Oct 2 2020, 6:01 PM.
#!/bin/bash
for i in \
javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js \
javascripts/lib/ep_etherpad-lite/static/js/ace2_inner.js \
javascripts/lib/ep_etherpad-lite/static/js/caretPosition.js \
javascripts/lib/ep_etherpad-lite/static/js/scroll.js \
javascripts/lib/unorm/lib/unorm.js \
javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define \
javascripts/lib/ep_etherpad-lite/static/js/ace2_inner.js?callback=require.define \
javascripts/lib/ep_etherpad-lite/static/js/caretPosition.js?callback=require.define \
javascripts/lib/ep_etherpad-lite/static/js/scroll.js?callback=require.define \
javascripts/lib/unorm/lib/unorm.js?callback=require.define
do
curl -vX PURGE -H "Host: etherpad.wikimedia.org" --resolve etherpad.wikimedia.org:3128:127.0.0.1 http://etherpad.wikimedia.org:3128/${i}
done
sleep 1
for i in \
javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js \
javascripts/lib/ep_etherpad-lite/static/js/ace2_inner.js \
javascripts/lib/ep_etherpad-lite/static/js/caretPosition.js \
javascripts/lib/ep_etherpad-lite/static/js/scroll.js \
javascripts/lib/unorm/lib/unorm.js \
javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define \
javascripts/lib/ep_etherpad-lite/static/js/ace2_inner.js?callback=require.define \
javascripts/lib/ep_etherpad-lite/static/js/caretPosition.js?callback=require.define \
javascripts/lib/ep_etherpad-lite/static/js/scroll.js?callback=require.define \
javascripts/lib/unorm/lib/unorm.js?callback=require.define
do
curl -vX PURGE -H "Host: etherpad.wikimedia.org" --resolve etherpad.wikimedia.org:80:127.0.0.1 http://etherpad.wikimedia.org/${i}
done

Event Timeline

akosiaris created this paste.Oct 2 2020, 6:01 PM