public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Christian Ebner <c.ebner@proxmox.com>
To: Thomas Lamprecht <t.lamprecht@proxmox.com>,
	Proxmox Backup Server development discussion
	<pbs-devel@lists.proxmox.com>
Subject: Re: [pbs-devel] [PATCH v3 proxmox-backup 00/10] fix catalog dump and shell for split pxar archives
Date: Mon, 21 Oct 2024 16:16:37 +0200	[thread overview]
Message-ID: <ef465b74-c124-4ac9-8f1a-b0315a44eebc@proxmox.com> (raw)
In-Reply-To: <437691f3-d7f5-4ee4-8ada-250950621460@proxmox.com>

On 10/21/24 16:07, Thomas Lamprecht wrote:
> Am 12/08/2024 um 12:31 schrieb Christian Ebner:
>> Christian Ebner (10):
>>    client: tools: make tools module public
>>    client: pxar: move catalog lookup helper to pxar tools
>>    client: tools: move pxar root entry helper to pxar submodule
> 
> no hard feelings but maybe do a s/sub// to avoid making it sound
> like this is git submodule related (but I might just have to much
> exposure to the git ones to be "triggered" by just reading submodule
> ;-)

Okay, will adapt this according to your suggestion.

>>    client: make helper to get remote pxar reader reusable
>>    client: tools: factor out entry path prefix helper
>>    client: tools: factor out pxar entry to dir entry mapping
>>    client: add helper to dump catalog from metadata archive
>>    client: catalog: fallback to metadata archives for catalog dump
>>    client: helper to mimic catalog find using metadata archive
>>    client: catalog shell: fallback to accessor for navigation
>>
>>   pbs-client/src/catalog_shell.rs      | 291 +++++++++++++++++++++------
>>   pbs-client/src/pxar/extract.rs       |   2 +-
>>   pbs-client/src/pxar/mod.rs           |   4 +-
>>   pbs-client/src/pxar/tools.rs         | 256 ++++++++++++++++++++++-
>>   pbs-client/src/tools/mod.rs          | 120 -----------
>>   pbs-datastore/src/catalog.rs         |  40 ++++
>>   proxmox-backup-client/src/catalog.rs |  65 +++++-
>>   proxmox-file-restore/src/main.rs     |  38 +---
>>   pxar-bin/src/main.rs                 |   4 +-
>>   src/api2/admin/datastore.rs          |   2 +-
>>   src/api2/tape/restore.rs             |   2 +-
>>   11 files changed, 599 insertions(+), 225 deletions(-)
>>
> 
> Looks OK to me in general code wise, albeit I did not evaluate every
> patch very closely, but considering that a spot check did not find
> anything odd and this is all mostly internal and got already reviewed
> by Fabian I'd be fine with applying it.
> 
> That said, your S-o-b trailer seems to be missing from all patches.

Oh, you are right, but only on path 2 and 9? At least in the mails for 
the other patches I do see them. But this will be fixed in the next 
version, thanks for noticing!

> For the refactoring ones it might be also nice to have a short sentence
> for why this is done, e.g. referencing the future use like "this will
> be used to do XYZ in a future commit".

Okay, will amend the commit messages accordingly.

Thanks for looking at these patches!



_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel


  parent reply	other threads:[~2024-10-21 14:16 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-12 10:31 Christian Ebner
2024-08-12 10:31 ` [pbs-devel] [PATCH v3 proxmox-backup 01/10] client: tools: make tools module public Christian Ebner
2024-08-12 10:31 ` [pbs-devel] [PATCH v3 proxmox-backup 02/10] client: pxar: move catalog lookup helper to pxar tools Christian Ebner
2024-08-12 10:31 ` [pbs-devel] [PATCH v3 proxmox-backup 03/10] client: tools: move pxar root entry helper to pxar submodule Christian Ebner
2024-08-12 10:31 ` [pbs-devel] [PATCH v3 proxmox-backup 04/10] client: make helper to get remote pxar reader reusable Christian Ebner
2024-08-12 10:31 ` [pbs-devel] [PATCH v3 proxmox-backup 05/10] client: tools: factor out entry path prefix helper Christian Ebner
2024-08-12 10:31 ` [pbs-devel] [PATCH v3 proxmox-backup 06/10] client: tools: factor out pxar entry to dir entry mapping Christian Ebner
2024-08-12 10:31 ` [pbs-devel] [PATCH v3 proxmox-backup 07/10] client: add helper to dump catalog from metadata archive Christian Ebner
2024-08-12 10:31 ` [pbs-devel] [PATCH v3 proxmox-backup 08/10] client: catalog: fallback to metadata archives for catalog dump Christian Ebner
2024-08-12 10:31 ` [pbs-devel] [PATCH v3 proxmox-backup 09/10] client: helper to mimic catalog find using metadata archive Christian Ebner
2024-08-12 10:31 ` [pbs-devel] [PATCH v3 proxmox-backup 10/10] client: catalog shell: fallback to accessor for navigation Christian Ebner
2024-10-21 14:09   ` Thomas Lamprecht
2024-10-21  9:09 ` [pbs-devel] [PATCH v3 proxmox-backup 00/10] fix catalog dump and shell for split pxar archives Christian Ebner
2024-10-21 14:07 ` Thomas Lamprecht
2024-10-21 14:09   ` Thomas Lamprecht
2024-10-21 14:16   ` Christian Ebner [this message]
2024-10-21 15:50 ` Christian Ebner

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=ef465b74-c124-4ac9-8f1a-b0315a44eebc@proxmox.com \
    --to=c.ebner@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    --cc=t.lamprecht@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
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal