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) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 5574B92165 for ; Mon, 13 Mar 2023 17:31:57 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 3DA0BE1AC for ; Mon, 13 Mar 2023 17:31:57 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Mon, 13 Mar 2023 17:31:56 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id C394D43FA3 for ; Mon, 13 Mar 2023 17:31:55 +0100 (CET) Message-ID: <977b5e4c-e691-97e9-8efe-b802dca7d832@proxmox.com> Date: Mon, 13 Mar 2023 17:31:55 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:111.0) Gecko/20100101 Thunderbird/111.0 To: Aaron Lauterer , Proxmox VE development discussion , Dominik Csapak References: <20230113150930.857270-1-a.lauterer@proxmox.com> <20230113150930.857270-2-a.lauterer@proxmox.com> <0d08ee63-9f1e-2218-e8e7-358196d795c3@proxmox.com> <26db04bc-ce75-5f9a-a85b-01b35b036cce@proxmox.com> Content-Language: en-GB, de-AT From: Thomas Lamprecht In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment NICE_REPLY_A -0.001 Looks like a legit reply (A) SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pve-devel] [PATCH manager 1/3] api: ceph: add endpoint to fetch config keys 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: Mon, 13 Mar 2023 16:31:57 -0000 Am 13/03/2023 um 13:58 schrieb Aaron Lauterer: > On 3/11/23 18:07, Thomas Lamprecht wrote: >> We could add the full >> >> cfg/ >> =C2=A0=C2=A0=C2=A0 raw >> =C2=A0=C2=A0=C2=A0 db >> =C2=A0=C2=A0=C2=A0 value >> >> now already, re-mount the 'cfg/raw' one on the current 'config' (or ju= st keep >> the code duplicated, not much gain if we remove it anyway) one and the= n drop that >> old 'config' one in PVE 8.0; slightly hacky but IMO not that much. >> >> Might want to check what other uses of config, cfg, conf, configuratio= n there are >> in API path's though, as ideally we keep the total unique count of the= m the same ;-) >=20 > AFAICT we basically only have "config" in the API paths according to th= e API Viewer. So 'cfg' would be something new, not yet used. > I do like 'cfg' more than 'conf'. Once we dropped support for 'config',= we could wait a full major release and then move it back? Not sure but '= cfg' is also only somewhat nice ;) Ok, so we need to use something new anyway, cfg works out fine for me, w= e just should try to remember using that if a move like this needs to be done for some = other API subtree. Moving then back again just for the sake of purity seems not the best arg= ument, so I'd rather live with config and cfg then than working through the churn o= f moving back again.