From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: pdm-devel@lists.proxmox.com, Christian Ebner <c.ebner@proxmox.com>
Subject: [pdm-devel] applied-series: [PATCH datacenter-manager 0/6] ui/api: implement and expose adding PBS remotes via the ui wizard
Date: Mon, 22 Sep 2025 19:59:15 +0200 [thread overview]
Message-ID: <175856395265.2589959.1367040706510831448.b4-ty@proxmox.com> (raw)
In-Reply-To: <20250922110958.369653-1-c.ebner@proxmox.com>
On Mon, 22 Sep 2025 13:09:52 +0200, Christian Ebner wrote:
> While it is already possible to add PBS remote via the cli, the UI currently
> does not expose this functionality. Most of the required pieces are however
> already there, so implement the missing api endpoints to check the TLS
> connection and scan the remote for the PDM api and add the required methods to
> the PDM client.
>
> Finally, make sure the correct PDM implementation for PBS is used based on the
> remote type as stored in the remote add wizard state and expose the button
> to add the PBS instance.
>
> [...]
Applied, thanks!
btw. some pre-existing things that I noticed with the remote add wizard,
certainly do not have to be fixed by you, just wanted to jot them down before I
forget them. Anyway:
- One can use a full URL with https:// and trailing slash and the probe will
work fine, but on the final step of the wizard one will get an error about a
invalid character in the URL. Would be great if this works (or does not work)
consistently for probing and actual usage; e.g. by stripping default
protocol, single trailing slash or default port (or whatever is required to
make it work).
- after going back just to edit the URL the whole wizard gets reset, that is
not really that nice. It's not a trivial thing to solve in an always correct
way, so maybe ask the user about wanting to reset the wizard? But IMO most of
the time all data one entered was entered with the intend for it to actually
be correct, so fixing small typos should probably not reset anything by
default, as what's the upside here? A compromis might be to deactivate the
next steps but retain the values, that way all intra-step checks will be
executed but an user does not needs to re-enter information.
- The URL won't be updated when going back from the summary page of the wizard
to the first and changing it. At least the same old value was rendered in the
summary and when then going back again to the first step the outdated value
was again shown there too (and I got the error from the backend, but did not
check if the same was actually send, might have had another "error" in the
URL).
[1/6] server: api: add TLS probe endpoint for PBS
commit: 239d0eb0cb13eac72686e6c337eb328e8bd0182c
[2/6] pdm-client: add method to probe TLS connection for PBS remotes
commit: a9837ef08c1082dd6d282dadafd35144b97ddc63
[3/6] server: api: implement endpoint to scan remote PBS instances
commit: bdb844b271e8397b0346a66f4bf8d1d877f402d3
[4/6] pdm client: add method to scan remote PBS instances
commit: 645a92d5d6fd0817b059c2a7197be20506e8c1be
[5/6] ui: remote: check connection for PBS remotes in remote add wizard
commit: 6ce9dcad2b8ec7eb218ce41e18f8942d02dfa3ef
[6/6] ui: reorganize remote add button as dropdown menu to allow adding PBS
commit: 62a96d23363b8fc6fb2342dd868a8a76f1aab937
_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel
prev parent reply other threads:[~2025-09-22 18:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-22 11:09 [pdm-devel] " Christian Ebner
2025-09-22 11:09 ` [pdm-devel] [PATCH datacenter-manager 1/6] server: api: add TLS probe endpoint for PBS Christian Ebner
2025-09-22 11:09 ` [pdm-devel] [PATCH datacenter-manager 2/6] pdm-client: add method to probe TLS connection for PBS remotes Christian Ebner
2025-09-22 11:09 ` [pdm-devel] [PATCH datacenter-manager 3/6] server: api: implement endpoint to scan remote PBS instances Christian Ebner
2025-09-22 11:09 ` [pdm-devel] [PATCH datacenter-manager 4/6] pdm client: add method " Christian Ebner
2025-09-22 11:09 ` [pdm-devel] [PATCH datacenter-manager 5/6] ui: remote: check connection for PBS remotes in remote add wizard Christian Ebner
2025-09-22 11:09 ` [pdm-devel] [PATCH datacenter-manager 6/6] ui: reorganize remote add button as dropdown menu to allow adding PBS Christian Ebner
2025-09-22 12:50 ` [pdm-devel] [PATCH datacenter-manager 0/6] ui/api: implement and expose adding PBS remotes via the ui wizard Lukas Wagner
2025-09-22 12:56 ` Christian Ebner
2025-09-22 17:59 ` Thomas Lamprecht [this message]
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=175856395265.2589959.1367040706510831448.b4-ty@proxmox.com \
--to=t.lamprecht@proxmox.com \
--cc=c.ebner@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 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.