From: Dominik Csapak <d.csapak@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox/proxmox-backup v2] improve proxmox-async dependencies
Date: Mon, 21 Feb 2022 11:39:14 +0100 [thread overview]
Message-ID: <20220221103918.2407442-1-d.csapak@proxmox.com> (raw)
this series tries to minimize the dependecies for proxmox-async
so that we can more easily argue to depend on it in proxmox-router for [0]
we have to bump proxmox-lang (to 1.1.0?) and update the dependencies
in the relevant crates/packages
also not sure if we have to bump proxmox-sys, since it lost the
io_format_err macros, etc.
changes from v1:
* move io_ macros/helpers to proxmox-lang instead of writing out the code
0: https://lists.proxmox.com/pipermail/pbs-devel/2022-February/004696.html
proxmox:
Dominik Csapak (2):
move io error helpers to proxmox-lang
split out compression code into new crate 'proxmox-compression'
Cargo.toml | 1 +
Makefile | 1 +
proxmox-async/Cargo.toml | 10 +---
proxmox-async/src/io/async_channel_writer.rs | 3 +-
proxmox-async/src/lib.rs | 2 -
proxmox-compression/Cargo.toml | 27 +++++++++
proxmox-compression/debian/changelog | 5 ++
proxmox-compression/debian/control | 56 +++++++++++++++++++
proxmox-compression/debian/copyright | 16 ++++++
proxmox-compression/debian/debcargo.toml | 7 +++
.../src/compression.rs | 2 +-
proxmox-compression/src/lib.rs | 4 ++
.../src/zip.rs | 2 +-
proxmox-http/Cargo.toml | 2 +
proxmox-http/src/websocket/mod.rs | 2 +-
proxmox-lang/src/error.rs | 53 ++++++++++++++++++
proxmox-lang/src/lib.rs | 1 +
proxmox-sys/src/error.rs | 7 +--
proxmox-sys/src/linux/pid.rs | 4 +-
proxmox-sys/src/macros.rs | 44 ---------------
proxmox-sys/src/mmap.rs | 4 +-
21 files changed, 185 insertions(+), 68 deletions(-)
create mode 100644 proxmox-compression/Cargo.toml
create mode 100644 proxmox-compression/debian/changelog
create mode 100644 proxmox-compression/debian/control
create mode 100644 proxmox-compression/debian/copyright
create mode 100644 proxmox-compression/debian/debcargo.toml
rename {proxmox-async => proxmox-compression}/src/compression.rs (99%)
create mode 100644 proxmox-compression/src/lib.rs
rename {proxmox-async => proxmox-compression}/src/zip.rs (99%)
create mode 100644 proxmox-lang/src/error.rs
proxmox-backup:
Dominik Csapak (2):
depend on new 'proxmox-compression' crate
use io_format_err,io_bail,io_err_other from proxmox-lang
pbs-client/Cargo.toml | 1 +
pbs-client/src/pxar/extract.rs | 2 +-
pbs-client/src/pxar/fuse.rs | 20 ++++----------
pbs-datastore/src/cached_chunk_reader.rs | 4 +--
pbs-tape/src/blocked_reader.rs | 26 +++++++++----------
pbs-tape/src/blocked_writer.rs | 2 +-
pbs-tape/src/emulate_tape_reader.rs | 4 +--
pbs-tape/src/emulate_tape_writer.rs | 4 +--
pbs-tape/src/sg_tape.rs | 18 ++++++-------
pbs-tape/src/tape_write.rs | 2 +-
proxmox-rest-server/Cargo.toml | 1 +
proxmox-rest-server/src/rest.rs | 4 +--
proxmox-restore-daemon/Cargo.toml | 1 +
.../src/proxmox_restore_daemon/api.rs | 2 +-
src/tape/drive/virtual_tape.rs | 4 +--
src/tape/file_formats/catalog_archive.rs | 4 +--
src/tape/file_formats/chunk_archive.rs | 2 +-
src/tape/file_formats/multi_volume_reader.rs | 10 +++----
src/tape/file_formats/multi_volume_writer.rs | 14 +++++-----
src/tape/file_formats/snapshot_archive.rs | 8 +++---
src/tools/disks/mod.rs | 4 +--
21 files changed, 65 insertions(+), 72 deletions(-)
--
2.30.2
next reply other threads:[~2022-02-21 10:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-21 10:39 Dominik Csapak [this message]
2022-02-21 10:39 ` [pbs-devel] [PATCH proxmox v2 1/2] move io error helpers to proxmox-lang Dominik Csapak
2022-02-21 12:48 ` [pbs-devel] applied: " Wolfgang Bumiller
2022-02-21 10:39 ` [pbs-devel] [PATCH proxmox v2 2/2] split out compression code into new crate 'proxmox-compression' Dominik Csapak
2022-02-21 13:21 ` [pbs-devel] applied: " Wolfgang Bumiller
2022-02-21 10:39 ` [pbs-devel] [PATCH proxmox-backup v2 1/2] depend on new 'proxmox-compression' crate Dominik Csapak
2022-02-21 13:28 ` [pbs-devel] applied-series: " Wolfgang Bumiller
2022-02-21 10:39 ` [pbs-devel] [PATCH proxmox-backup v2 2/2] use io_format_err, io_bail, io_err_other from proxmox-lang Dominik Csapak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220221103918.2407442-1-d.csapak@proxmox.com \
--to=d.csapak@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox