From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id A00F462193 for ; Mon, 21 Feb 2022 11:39:21 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 924D071A9 for ; Mon, 21 Feb 2022 11:39:21 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 1FC85718D for ; Mon, 21 Feb 2022 11:39:20 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id E1B3D46173 for ; Mon, 21 Feb 2022 11:39:19 +0100 (CET) From: Dominik Csapak To: pbs-devel@lists.proxmox.com Date: Mon, 21 Feb 2022 11:39:14 +0100 Message-Id: <20220221103918.2407442-1-d.csapak@proxmox.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.156 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - Subject: [pbs-devel] [PATCH proxmox/proxmox-backup v2] improve proxmox-async dependencies X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2022 10:39:21 -0000 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