public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Csapak <d.csapak@proxmox.com>
To: "Fabian Grünbichler" <f.gruenbichler@proxmox.com>,
	pdm-devel@lists.proxmox.com
Subject: Re: [pdm-devel] [RFC datacenter-manager 0/3] PDM subscription status
Date: Mon, 1 Dec 2025 13:38:12 +0100	[thread overview]
Message-ID: <653d216c-550e-4096-96e5-e54c4e7cfc00@proxmox.com> (raw)
In-Reply-To: <20251201113917.518311-1-f.gruenbichler@proxmox.com>

just to note:

if we use this approach, a large portion of my patches are not necessary
anymore, since we can then simply ask /nodes/localhost/subscription
for the global check, and we don't need to query the endpoint
that returns the remotes subscription info

(it's probably a better approach)

On 12/1/25 12:38 PM, Fabian Grünbichler wrote:
> this RFC series adds subscription endpoints and enterprise APT repo
> handling for PDM itself.. there's considerable overlap with Dominik's
> series[0], which is why I sent this now as RFC so we can discuss which
> approach to take forward and merge the two series.
> 
> the patches here are largely untested, other than returning the right
> error message when querying a system with not enough valid
> subscriptions..
> 
> 0: https://lore.proxmox.com/pdm-devel/20251201103917.1357369-1-d.csapak@proxmox.com
> 
> Fabian Grünbichler (3):
>    subscription: add serverid field to node subscription info
>    api types: add new SubscriptionStatistics
>    api: add subscription endpoints
> 
>   lib/pdm-api-types/src/subscription.rs |  17 +++
>   server/src/api/nodes/mod.rs           |   2 +
>   server/src/api/nodes/subscription.rs  | 191 ++++++++++++++++++++++++++
>   server/src/api/resources.rs           |   4 +-
>   4 files changed, 213 insertions(+), 1 deletion(-)
>   create mode 100644 server/src/api/nodes/subscription.rs
> 



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

  parent reply	other threads:[~2025-12-01 12:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-01 11:39 Fabian Grünbichler
2025-12-01 11:39 ` [pdm-devel] [RFC datacenter-manager 1/3] subscription: add serverid field to node subscription info Fabian Grünbichler
2025-12-01 11:39 ` [pdm-devel] [RFC datacenter-manager 2/3] api types: add new SubscriptionStatistics Fabian Grünbichler
2025-12-01 12:36   ` Dominik Csapak
2025-12-01 12:39     ` Thomas Lamprecht
2025-12-01 12:43       ` Dominik Csapak
2025-12-01 12:40     ` Fabian Grünbichler
2025-12-01 11:39 ` [pdm-devel] [RFC datacenter-manager 3/3] api: add subscription endpoints Fabian Grünbichler
2025-12-01 12:42   ` Dominik Csapak
2025-12-01 12:52     ` Fabian Grünbichler
2025-12-01 12:38 ` Dominik Csapak [this message]
2025-12-01 13:15 ` [pdm-devel] superseded: [RFC datacenter-manager 0/3] PDM subscription status Fabian Grünbichler

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=653d216c-550e-4096-96e5-e54c4e7cfc00@proxmox.com \
    --to=d.csapak@proxmox.com \
    --cc=f.gruenbichler@proxmox.com \
    --cc=pdm-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
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal