diff --git a/tools/backup b/tools/deprecated/backup similarity index 100% rename from tools/backup rename to tools/deprecated/backup diff --git a/tools/finbot/money.py b/tools/deprecated/finbot/money.py similarity index 100% rename from tools/finbot/money.py rename to tools/deprecated/finbot/money.py diff --git a/tools/finbot/monthdelta.py b/tools/deprecated/finbot/monthdelta.py similarity index 100% rename from tools/finbot/monthdelta.py rename to tools/deprecated/finbot/monthdelta.py diff --git a/tools/generate-activity-metrics.py b/tools/deprecated/generate-activity-metrics.py similarity index 100% rename from tools/generate-activity-metrics.py rename to tools/deprecated/generate-activity-metrics.py diff --git a/tools/iframe-bot/last-messages-wrapper.sh b/tools/deprecated/iframe-bot/last-messages-wrapper.sh similarity index 100% rename from tools/iframe-bot/last-messages-wrapper.sh rename to tools/deprecated/iframe-bot/last-messages-wrapper.sh diff --git a/tools/iframe-bot/show-last-messages b/tools/deprecated/iframe-bot/show-last-messages similarity index 100% rename from tools/iframe-bot/show-last-messages rename to tools/deprecated/iframe-bot/show-last-messages diff --git a/tools/include-supported.example b/tools/deprecated/include-supported.example similarity index 100% rename from tools/include-supported.example rename to tools/deprecated/include-supported.example diff --git a/tools/inject-messages/inject-messages b/tools/deprecated/inject-messages/inject-messages similarity index 100% rename from tools/inject-messages/inject-messages rename to tools/deprecated/inject-messages/inject-messages diff --git a/tools/inject-messages/othello b/tools/deprecated/inject-messages/othello similarity index 100% rename from tools/inject-messages/othello rename to tools/deprecated/inject-messages/othello diff --git a/tools/msmtprc.example b/tools/deprecated/msmtprc.example similarity index 100% rename from tools/msmtprc.example rename to tools/deprecated/msmtprc.example diff --git a/tools/review b/tools/deprecated/review similarity index 100% rename from tools/review rename to tools/deprecated/review diff --git a/tools/stress-test/.gitignore b/tools/deprecated/stress-test/.gitignore similarity index 100% rename from tools/stress-test/.gitignore rename to tools/deprecated/stress-test/.gitignore diff --git a/tools/stress-test/README.md b/tools/deprecated/stress-test/README.md similarity index 100% rename from tools/stress-test/README.md rename to tools/deprecated/stress-test/README.md diff --git a/tools/stress-test/package.json b/tools/deprecated/stress-test/package.json similarity index 100% rename from tools/stress-test/package.json rename to tools/deprecated/stress-test/package.json diff --git a/tools/stress-test/stress-test.coffee b/tools/deprecated/stress-test/stress-test.coffee similarity index 100% rename from tools/stress-test/stress-test.coffee rename to tools/deprecated/stress-test/stress-test.coffee diff --git a/tools/stress-test/support.coffee b/tools/deprecated/stress-test/support.coffee similarity index 100% rename from tools/stress-test/support.coffee rename to tools/deprecated/stress-test/support.coffee diff --git a/tools/migrate-puppet b/tools/migrate-puppet deleted file mode 100644 index b8b628b8f9..0000000000 --- a/tools/migrate-puppet +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash -xe - -# This is a one-off script to deal with changes in our puppet -# configuration. You should not normally have to run this. - -cd /root/zulip -git fetch -git checkout f4eb523244d3409b5809c279301225d3fdf0c230 -scripts/zulip-puppet-apply - -git checkout master -git pull --rebase -cp puppet/zulip/files/puppet.conf /etc/puppet/ -scripts/zulip-puppet-apply diff --git a/tools/migrate-server-config b/tools/migrate-server-config deleted file mode 100755 index adc752d4a5..0000000000 --- a/tools/migrate-server-config +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/python -import os -import ConfigParser -import platform -import re - -config = ConfigParser.RawConfigParser() -config.add_section("machine") - -with open('/etc/zulip/machinetype') as f: - machinetype = f.readline().strip() - -config.set('machine', 'puppet_classes', "zulip-internal::%s" % (machinetype,)) - -if os.path.exists('/etc/zulip/server'): - if platform.node() == 'staging.zulip.net': - deploy_type = 'staging' - elif not not re.match(r'^test', platform.node()): - deploy_type = 'test' - else: - deploy_type = 'prod' - - config.set('machine', 'deploy_type', deploy_type) - -config.write(open('/etc/zulip/zulip.conf', 'w')) diff --git a/tools/publish.example b/tools/publish.example deleted file mode 100644 index 9079307376..0000000000 --- a/tools/publish.example +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash -# publish -- rsync to a remote host -# -# Copyright © 2013 Zulip, Inc. All rights reserved. -# This is an unpublished work of Zulip, Inc. -# - -USER="" -HOST="apt.zulip.net" -PATH="/var/www/apt/user" - -set -e - -if [ "$1" == "-f" ]; then - rsync -avz --delete . $USER@$HOST:$PATH -else - echo "SIMULATED SYNC" - echo - rsync --dry-run -avz --delete . $USER@$HOST:$PATH - echo "This was a dry run. Pass -f to actually perform." -fi