From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 84C5360B65 for ; Thu, 10 Sep 2020 14:57:44 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 697B61C567 for ; Thu, 10 Sep 2020 14:57:14 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id DE5501C53E for ; Thu, 10 Sep 2020 14:57:12 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 9DF4044B02 for ; Thu, 10 Sep 2020 14:57:12 +0200 (CEST) From: Dominik Csapak To: pve-devel@lists.proxmox.com Date: Thu, 10 Sep 2020 14:57:06 +0200 Message-Id: <20200910125711.28369-1-d.csapak@proxmox.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.125 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods NO_DNS_FOR_FROM 0.379 Envelope sender has no MX or A DNS records RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_NONE 0.001 SPF: sender does not publish an 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. [replicationconfig.pm] Subject: [pve-devel] [PATCH RFC guest-common/manager/docs] adapt calendar events to pbs/systemd style X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2020 12:57:44 -0000 pbs cannot handle minute only calendar events (because we support seconds there and hh:mm and mm:ss would be ambiguous) so we want to eventually remove that in pve (in a future major version) to have a consistent calendarevent syntax for this we do 4 things here: * transform such events when writing the replication config (to *:YYY) * adapt the defaults in the gui (to include the hour as *) * rewrite the docs to not mention that the hour is optional * replace */x with 0/x since that works in systemd too the parser still is the same, so existing config stay valid and on the next config write, the syntax will automatically adapt (this way we can have a parse/write cycle e.g. in an pve6to7 script and can be sure we have the new syntax) pve-guest-common: Dominik Csapak (1): ReplicationConfig: transform schedules to include always hours PVE/ReplicationConfig.pm | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) pve-manager: Dominik Csapak (2): ui: adapt/optimize calendar event examples ui: grid/Replication: change the default format of schedule text www/manager6/form/CalendarEvent.js | 6 +++--- www/manager6/grid/Replication.js | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) pve-docs: Dominik Csapak (2): pvesr: fix calendar event examples pvesr: modify examples to fit with pbs style pvesr.adoc | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) -- 2.20.1