pin lsp to commit a71506e
Browse files- src/app.py +3 -3
src/app.py
CHANGED
|
@@ -45,9 +45,9 @@ def _init_submodule() -> None:
|
|
| 45 |
if git_modules.exists():
|
| 46 |
shutil.rmtree(str(git_modules), ignore_errors=True)
|
| 47 |
|
| 48 |
-
# GitHub serves a tarball of any branch at this URL.
|
| 49 |
-
#
|
| 50 |
-
branch = "
|
| 51 |
tarball_url = f"https://api.github.com/repos/batu-el/lsp/tarball/{branch}"
|
| 52 |
tmp_tar = Path("/tmp/lsp.tar.gz")
|
| 53 |
tmp_extract = Path("/tmp/lsp_extract")
|
|
|
|
| 45 |
if git_modules.exists():
|
| 46 |
shutil.rmtree(str(git_modules), ignore_errors=True)
|
| 47 |
|
| 48 |
+
# GitHub serves a tarball of any branch/tag/SHA at this URL.
|
| 49 |
+
# Pinned to a specific commit SHA so future lsp changes don't break us.
|
| 50 |
+
branch = "a71506e3b1fa74fa3427f8ab674fa68420ca42da"
|
| 51 |
tarball_url = f"https://api.github.com/repos/batu-el/lsp/tarball/{branch}"
|
| 52 |
tmp_tar = Path("/tmp/lsp.tar.gz")
|
| 53 |
tmp_extract = Path("/tmp/lsp_extract")
|