Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
requirements: Install gitlint from its Debian package.
Anders Kaseorg5ab90c541c08
diff --git a/requirements/dev.in b/requirements/dev.inindex e2a80fca313..2984fe4cb04 100644--- a/requirements/dev.in+++ b/requirements/dev.in@@ -44,9 +44,6 @@ pyinotify# Needed to run tests in paralleltblib-# Needed to lint Git commit messages-gitlint-# Needed for visualising cprofile reportssnakevizdiff --git a/requirements/dev.txt b/requirements/dev.txtindex 6a29eb42867..09fd862ba0d 100644--- a/requirements/dev.txt+++ b/requirements/dev.txt@@ -42,10 +42,6 @@ argon2-cffi==20.1.0 \--hash=sha256:da7f0445b71db6d3a72462e04f36544b0de871289b0bc8a7cc87c0f5ec7079fa \--hash=sha256:e2db6e85c057c16d0bd3b4d2b04f270a7467c147381e8fd73cbbe5bc719832be# via django-arrow==1.0.3 \- --hash=sha256:3515630f11a15c61dcb4cdd245883270dd334c83f3e639824e65a4b79cc48543 \- --hash=sha256:399c9c8ae732270e1aa58ead835a79a40d7be8aa109c579898eb41029b5a231d- # via gitlintasgiref==3.4.1 \--hash=sha256:4ef1ab46b484e3c706329cedeff284a5d40824200638503f5768edb6de7d58e9 \--hash=sha256:ffc141aa908e6f175673e7b1b3b7af4fdb0ecb738fc5c8b88f69f055c2415214@@ -234,7 +230,6 @@ click==7.1.2 \--hash=sha256:dacca89f4bfadd5de3d7489b7c8a566eee0d3676333fbb50030263894c38c0dc# via# black- # gitlint# pip-tools# pyre-checkcolorama==0.4.4 \@@ -443,10 +438,6 @@ fakeldap==0.6.2 \future==0.18.2 \--hash=sha256:b1bead90b70cf6ec3f0710ae53a525360fa360d306a86583adc6bf83a4db537d# via python-twitter-gitlint==0.15.1 \- --hash=sha256:4b22916dcbdca381244aee6cb8d8743756cfd98f27e7d1f02e78733f07c3c21c \- --hash=sha256:7ebdb8e7d333e577e956225cbc3ad8e0e96d05e638e6d461c9b66b784f9d2ac4- # via -r requirements/dev.ingreenlet==1.1.1 \--hash=sha256:04e1849c88aa56584d4a0a6e36af5ec7cc37993fdc1fda72b56aa1394a92ded3 \--hash=sha256:05e72db813c28906cdc59bd0da7c325d9b82aa0b0543014059c34c8c4ad20e16 \@@ -1328,7 +1319,6 @@ python-dateutil==2.8.2 \--hash=sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9# via# -r requirements/common.in- # arrow# botocore# motopython-debian==0.1.40 \@@ -1560,10 +1550,6 @@ service-identity==21.1.0 \--hash=sha256:6e6c6086ca271dc11b033d17c3a8bea9f24ebff920c587da090afc9519419d34 \--hash=sha256:f0b0caac3d40627c3c04d7a51b6e06721857a0e10a8775f2d1d7e72901b3a7db# via scrapy-sh==1.14.1 \- --hash=sha256:39aa9af22f6558a0c5d132881cf43e34828ca03e4ae11114852ca6a55c7c1d8e \- --hash=sha256:75e86a836f47de095d4531718fe8489e6f7446c75ddfa5596f632727b919ffae- # via gitlintsix==1.16.0 \--hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 \--hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254@@ -1885,7 +1871,6 @@ typing-extensions==3.10.0.0 \--hash=sha256:779383f6086d90c99ae41cf0ff39aac8a7937a9283ce0a414e5dd782f4c94a84# via# -r requirements/common.in- # arrow# asgiref# black# boto3-stubsdiff --git a/tools/commit-msg b/tools/commit-msgindex 12db6e0ab01..118d33b1078 100755--- a/tools/commit-msg+++ b/tools/commit-msg@@ -7,7 +7,7 @@# Do not invoke gitlint if commit message is emptyif grep -q '^[^#]' "$1"; then- lint_cmd="cd ~/zulip && python -m gitlint.cli"+ lint_cmd="cd ~/zulip && gitlint"ifif [ -z "$VIRTUAL_ENV" ] && command -v vagrant >/dev/null && [ -e .vagrant ]; then! vagrant ssh -c "$lint_cmd"diff --git a/tools/lib/provision.py b/tools/lib/provision.pyindex b64e94e7eba..43336e36594 100755--- a/tools/lib/provision.py+++ b/tools/lib/provision.py@@ -130,6 +130,7 @@ UBUNTU_COMMON_APT_DEPENDENCIES = [*COMMON_DEPENDENCIES,"redis-server","hunspell-en-us",+ "gitlint","puppet-lint","default-jre-headless", # Required by vnu-jar# Puppeteer dependencies from herediff --git a/version.py b/version.pyindex 736d959ae5b..405aebe472d 100644--- a/version.py+++ b/version.py@@ -48,4 +48,4 @@ API_FEATURE_LEVEL = 97# historical commits sharing the same major version, in which case a# minor version bump suffices.-PROVISION_VERSION = "160.0"+PROVISION_VERSION = "161.0"