Build and packaging library
  • Python 48.7%
  • Makefile 37.5%
  • Shell 13.8%
Find a file
Jan Lindemann baf09e32eb lib.ec.ssh.AsyncSSH: Re-use connection

Commit a19679fec reverted the first attempt to make AsyncSSH reuse one connection during an instance lifetime. That failed because a lot of distribution-specific properties were filled in a new event loop thread started by AsyncRunner, and AsyncSSH didn't like that.

The last commit provided the needed properties as members of the Distro class. This commit is the second part of the solution: Keep one connection around as a class member and reuse it on every _run() invocation.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-04-19 21:08:04 +02:00
.github/workflows build-package.yaml: Add workflow 2026-04-13 17:23:13 +02:00
bin bin, make, scripts: Re-add files necessary for packaging jw-build 2025-11-14 11:22:50 +01:00
conf scripts/usr-bin: Install symlink /usr/bin/jw-pkg 2026-04-06 15:58:11 +02:00
make cmds.projects.CmdCanonicalizeRemotes: Add command 2026-04-13 12:23:02 +02:00
scripts Remove /srv/git from janware Git URLs 2026-04-13 12:15:37 +02:00
src lib.ec.ssh.AsyncSSH: Re-use connection 2026-04-19 21:08:04 +02:00
.gitignore Everywhere: Rename package "jw-build" to "jw-pkg" 2025-11-28 13:35:56 +01:00
HASH Release 1.0.0-209@suse-tumbleweed/x86_64 2026-04-19 13:42:00 +00:00
Makefile make: Replace RPM -> PKG 2026-03-16 14:57:50 +01:00
RELEASES Release 1.0.0-209@suse-tumbleweed/x86_64 2026-04-19 13:42:00 +00:00
VERSION Start version: 1.0.0-209 2026-04-19 12:46:08 +00:00