zulip/scripts
Shubham Padia 5ea7feee7e upgrade-zulip-from-git: Support specifying tag or commit ID for refname.
Fixes #10706.
Issue: Before this commit, the `refname` positional argument to
`upgrade-zulip-from-git` script would run successfully for a branch
name on the given remote, but the script would fail if it was
provided with a tag or commit ID.
Solution: 'git clone -q -b refname LOCAL_GIT_CACHE_DIR deploy_path`
would be split into two commands:
1.) `git clone -q LOCAL_GIT_CACHE_DIR deploy_path`
2.) `git checkout -b deploy_timestamp refname` which makes a new
branch with the same name as the timestamp used in make_deploy_path.
2018-10-23 11:11:08 -07:00
..
lib Add shellcheck as a linter. 2018-10-18 15:32:26 -07:00
nagios scripts/nagios/check-rabbitmq-consumers: Avoid shelling out for mv. 2018-07-19 10:43:37 -07:00
setup terminate-psql-sessions: Fix shellcheck warnings. 2018-10-17 17:48:57 -07:00
README.md docs: Update links from codebase to point to ReadTheDocs. 2017-11-16 10:53:49 -08:00
__init__.py Factor out venv-creating code from provision.py. 2016-06-21 11:25:41 -07:00
get-django-setting Remove `from __future__ import absolute_import`. 2017-10-17 22:59:42 -07:00
purge-old-deployments scripts: Change use of typing.Text to str. 2018-05-14 05:16:22 +05:30
restart-server restart-server: Restart tornado early. 2018-10-16 15:04:07 -07:00
upgrade-zulip Improve shell quoting hygiene 2015-09-25 23:25:08 -04:00
upgrade-zulip-from-git upgrade-zulip-from-git: Support specifying tag or commit ID for refname. 2018-10-23 11:11:08 -07:00
zulip-puppet-apply scripts/zulip-puppet-apply: Avoid shelling out for touch. 2018-07-25 16:54:46 -07:00

README.md

This directory contains scripts that:

  • Generally do not require access to Django or the database (those are "management commands"), and thus are suitable to run operationally.

  • Are useful for managing a production deployment of Zulip (many are also used in a Zulip development environment, though development-only scripts live in tools/).

For more details, see https://zulip.readthedocs.io/en/latest/overview/directory-structure.html.