From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 6F2691FF13A for ; Wed, 27 May 2026 15:06:45 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 61F891C92F; Wed, 27 May 2026 15:06:44 +0200 (CEST) From: Dominik Csapak To: pdm-devel@lists.proxmox.com Subject: [PATCH datacenter-manager/installer/proxmox 0/3] use correct email validation in auto-installer ui Date: Wed, 27 May 2026 15:05:56 +0200 Message-ID: <20260527130611.2995147-1-d.csapak@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.049 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [answer.rs,options.rs,main.rs,utils.rs] Message-ID-Hash: H7M7DX7XEKPSJPOWLDV4SXY4IRVZMN72 X-Message-ID-Hash: H7M7DX7XEKPSJPOWLDV4SXY4IRVZMN72 X-MailFrom: d.csapak@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox Datacenter Manager development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: to do that we move the email validation from the installer-common crate to the installer-types crate which is accessible from PDM too. Not super sure about the deps for proxmox-installer-types, but I guess it doesn't make a difference if we always add the schema/regex dependency or depend on the 'api-types' feature in pve-installer proxmox: Dominik Csapak (1): installer types: move email validation from proxmox-installer-common proxmox-installer-types/Cargo.toml | 6 +++--- proxmox-installer-types/src/answer.rs | 22 ++++++++++++++++++++++ 2 files changed, 25 insertions(+), 3 deletions(-) pve-installer: Dominik Csapak (1): use email validation from installer-types proxmox-auto-installer/src/utils.rs | 4 ++-- proxmox-installer-common/src/options.rs | 22 ---------------------- proxmox-tui-installer/src/main.rs | 6 ++---- 3 files changed, 4 insertions(+), 28 deletions(-) proxmox-datacenter-manager: Dominik Csapak (1): ui: auto-installer: use email validation from installer-types .../remotes/auto_installer/prepared_answer_form.rs | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) Summary over all repositories: 6 files changed, 33 insertions(+), 41 deletions(-) -- Generated by murpp 0.11.0