public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: "Christoph Heiss" <c.heiss@proxmox.com>
To: "Stefan Hanreich" <s.hanreich@proxmox.com>
Cc: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
Subject: Re: [pve-devel] [PATCH proxmox 01/11] serde: implement ini serializer
Date: Wed, 11 Feb 2026 19:40:35 +0100	[thread overview]
Message-ID: <DGCCP8JPM8W2.14YBJIFJKD093@proxmox.com> (raw)
In-Reply-To: <d68013f0-1480-4a3b-82dd-cf689e8a8ccb@proxmox.com>

On Wed Feb 11, 2026 at 5:36 PM CET, Stefan Hanreich wrote:
> On 1/16/26 4:32 PM, Christoph Heiss wrote:
>> The official WireGuard tooling wg(8) uses a (mostly) INI-like format
>> for consuming configuration.
>>
>> E.g. `wg syncconf` will be used by in the future by the WireGuard fabric
>> for applying changes to a particular WireGuard interface.
>>
>> One of the quirks of the INI format used by wg(8) are that there can be
>> multiple sections with the same name, which is also explicitly supported
>> by this serializer.
>>
>> Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
>> ---
>>  Cargo.toml                   |   1 +
>>  proxmox-serde/Cargo.toml     |   2 +
>>  proxmox-serde/debian/control |   4 +
>>  proxmox-serde/src/ini.rs     | 901 +++++++++++++++++++++++++++++++++++
>>  proxmox-serde/src/lib.rs     |   3 +
>>  5 files changed, 911 insertions(+)
>>  create mode 100644 proxmox-serde/src/ini.rs
>>
>> diff --git a/Cargo.toml b/Cargo.toml
>> index 27a69afa..3cdad8d8 100644
>> --- a/Cargo.toml
>> +++ b/Cargo.toml
>> @@ -114,6 +114,7 @@ openssl = "0.10"
>>  pam-sys = "0.5"
>>  percent-encoding = "2.1"
>>  pin-utils = "0.1.0"
>> +pretty_assertions = "1.4.1"
>
> this is only available in version 1.4.0 for me via the Debian
> repositories, unless I'm missing something?

Right, I had (for whatever reason) a local copy of 1.4.1 installed.

Everything works fine with 1.4.0 too, I'll send a fixed v2 in the next
few days if nothing else comes up.




  reply	other threads:[~2026-02-11 18:39 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-16 15:33 [pve-devel] [PATCH proxmox{, -ve-rs} 00/11] sdn: add wireguard fabric configuration support Christoph Heiss
2026-01-16 15:33 ` [pve-devel] [PATCH proxmox 01/11] serde: implement ini serializer Christoph Heiss
2026-02-11 16:36   ` Stefan Hanreich
2026-02-11 18:40     ` Christoph Heiss [this message]
2026-02-12 10:59       ` Stefan Hanreich
2026-01-16 15:33 ` [pve-devel] [PATCH proxmox 02/11] serde: add base64 module for byte arrays Christoph Heiss
2026-01-16 15:33 ` [pve-devel] [PATCH proxmox 03/11] network-types: add ServiceEndpoint type as host/port tuple abstraction Christoph Heiss
2026-02-13 10:11   ` Stefan Hanreich
2026-01-16 15:33 ` [pve-devel] [PATCH proxmox 04/11] schema: provide integer schema for node ports Christoph Heiss
2026-01-16 15:33 ` [pve-devel] [PATCH proxmox 05/11] schema: api-types: add ed25519 base64 encoded key schema Christoph Heiss
2026-01-16 15:33 ` [pve-devel] [PATCH proxmox 06/11] wireguard: init configuration support crate Christoph Heiss
2026-02-13 10:13   ` Stefan Hanreich
2026-01-16 15:33 ` [pve-devel] [PATCH proxmox 07/11] wireguard: implement api for PublicKey Christoph Heiss
2026-02-13 10:12   ` Stefan Hanreich
2026-01-16 15:33 ` [pve-devel] [PATCH proxmox 08/11] wireguard: make per-peer preshared key optional Christoph Heiss
2026-01-16 15:33 ` [pve-devel] [PATCH proxmox-ve-rs 09/11] sdn-types: add wireguard-specific PersistentKeepalive api type Christoph Heiss
2026-01-16 15:33 ` [pve-devel] [PATCH proxmox-ve-rs 10/11] ve-config: fabric: refactor fabric config entry impl using macro Christoph Heiss
2026-01-16 15:33 ` [pve-devel] [PATCH proxmox-ve-rs 11/11] ve-config: sdn: fabrics: add wireguard section config types Christoph Heiss
2026-02-13 10:14 ` [pve-devel] [PATCH proxmox{, -ve-rs} 00/11] sdn: add wireguard fabric configuration support Stefan Hanreich

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=DGCCP8JPM8W2.14YBJIFJKD093@proxmox.com \
    --to=c.heiss@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    --cc=s.hanreich@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