]> git.proxmox.com Git - pve-xtermjs.git/commit
split upstream and our native into different source packages
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 4 Oct 2023 12:57:46 +0000 (14:57 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 17 Oct 2023 08:49:54 +0000 (10:49 +0200)
commit145da0bf450e9f6447c9dad2d6d967ea7f0ca011
treecc576349a1281ee87c2ecc2153b5b065f353205e
parent13e2e50222d588fc9105276193cdbdc596b9feb9
split upstream and our native into different source packages

We should have never added a upstream repackage and some custom tools
in the same source package, let alone binary package. Finally resolve
that tech debt and do a split.

This commit does a bit more than I'd like at once, but it's really not
trivial to make a clean split while keeping all sanely buildable in
multiple commits.

What roughly happens is:
- two complete separate source packages
  - one for xterm.js, we keep this purely to the xterm.js and our
    local additions and modifications that are relevant directly to
    xterm.js itself
  - one for termproxy, where only the rust-based tool is shipped.
    This also reduces churn, as the termproxy doesn't sees lots of
    updates, so no point in building it on every xterm.js update.
  - drop debcargo, which while great for library source code packages
    for build dependencies, is just a PITA for binary packages
    shipping actual compiled rust code, it adds almost nothing there
    but provides lots of special handling to get the correct result.
  - rename `termproxy` to `proxmox-termproxy` but keep a backward
    compat link for now, termproxy is way to general a name.
    Maybe we should also move this away from /bin in general, into the
    /lib/<arch-qualifier>/proxmox/ directory like we do for
    proxmox-backup.
  - clean ups all over the place

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
57 files changed:
.gitignore
Cargo.toml [deleted file]
Makefile [deleted file]
debian/changelog [deleted file]
debian/control [deleted file]
debian/copyright [deleted file]
debian/debcargo.toml [deleted file]
debian/docs [deleted file]
debian/install [deleted file]
debian/rules [deleted file]
debian/rules.debcargo.hint [deleted file]
debian/source/format [deleted file]
debian/source/lintian-overrides [deleted file]
src/main.rs [deleted file]
src/www/index.html.hbs.in [deleted file]
src/www/index.html.tpl.in [deleted file]
src/www/main.js [deleted file]
src/www/style.css [deleted file]
src/www/util.js [deleted file]
src/www/xterm-addon-fit.js [deleted file]
src/www/xterm-addon-fit.js.map [deleted file]
src/www/xterm-addon-webgl.js [deleted file]
src/www/xterm-addon-webgl.js.map [deleted file]
src/www/xterm.css [deleted file]
src/www/xterm.js [deleted file]
src/www/xterm.js.map [deleted file]
termproxy/Cargo.toml [new file with mode: 0644]
termproxy/Makefile [new file with mode: 0644]
termproxy/debian/changelog [new file with mode: 0644]
termproxy/debian/control [new file with mode: 0644]
termproxy/debian/copyright [new file with mode: 0644]
termproxy/debian/docs [new file with mode: 0644]
termproxy/debian/links [new file with mode: 0644]
termproxy/debian/rules [new file with mode: 0755]
termproxy/debian/source/format [new file with mode: 0644]
termproxy/src/main.rs [new file with mode: 0644]
xterm.js/Makefile [new file with mode: 0644]
xterm.js/debian/changelog [new file with mode: 0644]
xterm.js/debian/control [new file with mode: 0644]
xterm.js/debian/copyright [new file with mode: 0644]
xterm.js/debian/docs [new file with mode: 0644]
xterm.js/debian/install [new file with mode: 0644]
xterm.js/debian/rules [new file with mode: 0755]
xterm.js/debian/source/format [new file with mode: 0644]
xterm.js/debian/source/lintian-overrides [new file with mode: 0644]
xterm.js/src/index.html.hbs.in [new file with mode: 0644]
xterm.js/src/index.html.tpl.in [new file with mode: 0644]
xterm.js/src/main.js [new file with mode: 0644]
xterm.js/src/style.css [new file with mode: 0644]
xterm.js/src/util.js [new file with mode: 0644]
xterm.js/src/xterm-addon-fit.js [new file with mode: 0644]
xterm.js/src/xterm-addon-fit.js.map [new file with mode: 0644]
xterm.js/src/xterm-addon-webgl.js [new file with mode: 0644]
xterm.js/src/xterm-addon-webgl.js.map [new file with mode: 0644]
xterm.js/src/xterm.css [new file with mode: 0644]
xterm.js/src/xterm.js [new file with mode: 0644]
xterm.js/src/xterm.js.map [new file with mode: 0644]