mirror of
https://github.com/zulip/zulip.git
synced 2025-10-27 18:13:58 +00:00
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.
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.