Skip to content

Commit 820b1ec

Browse files
author
Christian Volkmann
committed
Merge branch 'dev'
2 parents 0a76bc3 + 18f17aa commit 820b1ec

File tree

6 files changed

+20
-60
lines changed

6 files changed

+20
-60
lines changed

.github/workflows/code-style.yml

Lines changed: 0 additions & 52 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,27 @@
22

33
All notable changes to this project will be documented in this file.
44

5-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
76

87
## [Unreleased]
98

109
Maybe your next idea?
1110

11+
## [0.3.2] - 2022-07-04
12+
13+
Integrates [#13](https://github.com/chvolkmann/code-connect/pull/13) contributed by [@typedrat](https://github.com/typedrat)
14+
15+
### Changed
16+
- Update `code_connect.py` to use `shutil` instead of the deprecated `distutils`
17+
1218
## [0.3.1] - 2022-04-04
1319

20+
21+
Integrates [#11](https://github.com/chvolkmann/code-connect/pull/11) contributed by [@frecks](https://github.com/frecks)
22+
1423
### Changed
1524

25+
1626
- Updated to reflect the VS Code binary location change from `~/.vscode-server/bin/<commit-id>/bin/code` to
1727
`~/.vscode-server/bin/<commit-id>/bin/remote-cli/code` in [commit
1828
f4ba7dd12b684b144457c6fc6ccc9f4fe71bde3c](microsoft/vscode@f4ba7dd),
@@ -90,7 +100,9 @@ which was released in [March 2022 (version
90100

91101
- Initial release of `code-connect` and the corresponding fish plugin
92102

93-
[unreleased]: https://github.com/chvolkmann/code-connect/compare/v0.3.0...HEAD
103+
[unreleased]: https://github.com/chvolkmann/code-connect/compare/v0.3.2...HEAD
104+
[0.3.2]: https://github.com/chvolkmann/code-connect/compare/v0.3.1...v0.3.2
105+
[0.3.1]: https://github.com/chvolkmann/code-connect/compare/v0.3.0...v0.3.1
94106
[0.3.0]: https://github.com/chvolkmann/code-connect/compare/v0.2.2...v0.3.0
95107
[0.2.2]: https://github.com/chvolkmann/code-connect/compare/v0.2.1...v0.2.2
96108
[0.2.1]: https://github.com/chvolkmann/code-connect/compare/v0.2.0...v0.2.1

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021 Christian Volkmann
3+
Copyright (c) 2022 Christian Volkmann
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.3.1
1+
0.3.2

bin/code_connect.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
import subprocess as sp
77
import sys
88
import time
9-
from distutils.spawn import find_executable
109
from pathlib import Path
10+
from shutil import which
1111
from typing import Iterable, List, NoReturn, Sequence, Tuple
1212

1313
# IPC sockets will be filtered based when they were last accessed
@@ -59,7 +59,7 @@ def next_open_socket(socks: Sequence[Path]) -> Path:
5959

6060
def check_for_binaries() -> None:
6161
""" Verifies that all required binaries are available in $PATH. """
62-
if not find_executable("socat"):
62+
if not which("socat"):
6363
fail('"socat" not found in $PATH, but is required for code-connect')
6464

6565

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ keywords = ["vscode"]
55
license = "MIT"
66
name = "code-connect"
77
repository = "https://github.com/chvolkmann/code-connect"
8-
version = "0.3.1"
8+
version = "0.3.2"
99

1010
[tool.poetry.dependencies]
1111
python = "^3.8"

0 commit comments

Comments
 (0)