[pbs-devel] applied-series: [PATCH xtermjs v3 0/4] rewrite in rust

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Jul 23 12:29:18 CEST 2020


On 21.07.20 11:00, Dominik Csapak wrote:
> this series includes a rewrite of termproxy in rust,
> and some smaller ui improvements
> 
> changes from v2:
> * cargo clippy fixes & rustfmt
> * fixed bug with timed out clients (wrong elapsed calculation)
> * only prevent closing from the window when the console is connected
> * added parameter 'port-as-fd' which tells termproxy to interpret
>   the port number as open fd for a listening socket where it can
>   accept
> 
> changes from v1:
> * incoroporate suggestions from wolfgang, thx :)
> * fix a bug where we did not exhaust reads from either side before
>   closing, discarding possibly some information
> * include a handlebars template (for pbs)
> * improves ui error handling
> * RFC: prevent accidental closing of terminal window
> 
> needs a bump for the proxmox crate (also in the Cargo.toml here)
> also missing a bump and changelog entry
> 
> Dominik Csapak (4):
>   termproxy: rewrite in rust
>   add handlebars template
>   ui: improve error message handling
>   ui: prevent accidental closing of terminal window
> 
>  .cargo/config                   |   5 +
>  Cargo.toml                      |  14 +
>  Makefile                        |  52 +++-
>  debian/compat                   |   1 -
>  debian/control                  |  16 --
>  debian/debcargo.toml            |  14 +
>  debian/install                  |   1 +
>  debian/rules                    |   8 +-
>  debian/source/format            |   1 -
>  debian/source/lintian-overrides |   4 +-
>  src/Makefile                    |   7 -
>  src/PVE/CLI/Makefile            |   8 -
>  src/PVE/CLI/termproxy.pm        | 250 -----------------
>  src/PVE/Makefile                |   3 -
>  src/bin/Makefile                |   7 -
>  src/bin/termproxy               |   8 -
>  src/main.rs                     | 456 ++++++++++++++++++++++++++++++++
>  src/www/Makefile                |  21 --
>  src/www/index.html.hbs.in       |  23 ++
>  src/www/main.js                 |  33 ++-
>  20 files changed, 586 insertions(+), 346 deletions(-)
>  create mode 100644 .cargo/config
>  create mode 100644 Cargo.toml
>  delete mode 100644 debian/compat
>  delete mode 100644 debian/control
>  create mode 100644 debian/debcargo.toml
>  create mode 100644 debian/install
>  delete mode 100644 debian/source/format
>  delete mode 100644 src/Makefile
>  delete mode 100644 src/PVE/CLI/Makefile
>  delete mode 100644 src/PVE/CLI/termproxy.pm
>  delete mode 100644 src/PVE/Makefile
>  delete mode 100644 src/bin/Makefile
>  delete mode 100755 src/bin/termproxy
>  create mode 100644 src/main.rs
>  delete mode 100644 src/www/Makefile
>  create mode 100644 src/www/index.html.hbs.in
> 


applied series, thanks!





More information about the pbs-devel mailing list