all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: "Fabian Grünbichler" <f.gruenbichler@proxmox.com>
To: Christian Ebner <c.ebner@proxmox.com>, pbs-devel@lists.proxmox.com
Subject: Re: [PATCH proxmox-backup v3 5/6] config: move node config into pbs-config, including helper tools
Date: Mon, 23 Mar 2026 15:44:41 +0100	[thread overview]
Message-ID: <1774276817.tcl7n25wkz.astroid@yuna.none> (raw)
In-Reply-To: <20260312114208.514373-8-c.ebner@proxmox.com>

On March 12, 2026 12:42 pm, Christian Ebner wrote:
> None of the helpers are required in proxmox-backup anymore, all
> encapsulated in the pbs-config crate. Keep however the same
> `tools::config` module layout.
> 
> Adapt all callsides to use pbs_config::node to interact with the node
> config.
> 
> Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
> ---
>  pbs-config/Cargo.toml                   | 1 +
>  pbs-config/src/lib.rs                   | 2 ++
>  {src/config => pbs-config/src}/node.rs  | 7 ++++---
>  {src => pbs-config/src}/tools/config.rs | 0
>  pbs-config/src/tools/mod.rs             | 1 +
>  src/api2/config/remote.rs               | 2 +-
>  src/api2/node/apt.rs                    | 2 +-
>  src/api2/node/certificates.rs           | 4 ++--
>  src/api2/node/config.rs                 | 8 ++++----
>  src/api2/node/subscription.rs           | 2 +-
>  src/bin/proxmox-backup-proxy.rs         | 9 ++++-----
>  src/bin/proxmox-daily-update.rs         | 2 +-
>  src/config/mod.rs                       | 1 -
>  src/tools/mod.rs                        | 1 -
>  14 files changed, 22 insertions(+), 20 deletions(-)
>  rename {src/config => pbs-config/src}/node.rs (89%)


>  rename {src => pbs-config/src}/tools/config.rs (100%)
>  create mode 100644 pbs-config/src/tools/mod.rs

nit: I think this doesn't make a lot of sense,
(pbs-config/)tools/config.rs should probably be renamed to something
like pbs-config/key_value.rs or pbs-config/simple.rs ? or even be
inlined into node.rs, if we don't expect more such config files to be
introduced..




  reply	other threads:[~2026-03-23 14:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-12 11:42 [PATCH proxmox{,-backup} v3 0/8] fix #6716: Add support for http proxy configuration for S3 endpoints Christian Ebner
2026-03-12 11:42 ` [PATCH proxmox v3 1/2] http: move http proxy schema from PBS to crate's api types Christian Ebner
2026-03-24 15:26   ` Wolfgang Bumiller
2026-03-12 11:42 ` [PATCH proxmox v3 2/2] pbs-api-types: move over NodeConfig and related api type from PBS Christian Ebner
2026-03-12 11:42 ` [PATCH proxmox-backup v3 1/6] pbs-config: use http proxy schema moved to proxmox-http crate Christian Ebner
2026-03-12 11:42 ` [PATCH proxmox-backup v3 2/6] config: inline NodeConfig::validate() to its only call side Christian Ebner
2026-03-12 11:42 ` [PATCH proxmox-backup v3 3/6] config: use moved NodeConfig definitions in pbs-api-types Christian Ebner
2026-03-12 11:42 ` [PATCH proxmox-backup v3 4/6] tools: drop unused from_property_string() helper Christian Ebner
2026-03-12 11:42 ` [PATCH proxmox-backup v3 5/6] config: move node config into pbs-config, including helper tools Christian Ebner
2026-03-23 14:44   ` Fabian Grünbichler [this message]
2026-03-12 11:42 ` [PATCH proxmox-backup v3 6/6] fix #6716: pass node http proxy config to s3 backend Christian Ebner
2026-03-23 14:44 ` [PATCH proxmox{,-backup} v3 0/8] fix #6716: Add support for http proxy configuration for S3 endpoints Fabian Grünbichler
2026-03-27 12:14 ` superseded: " 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=1774276817.tcl7n25wkz.astroid@yuna.none \
    --to=f.gruenbichler@proxmox.com \
    --cc=c.ebner@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal