Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sZxHQ-005WDY-J2 for pgsql-hackers@arkaria.postgresql.org; Fri, 02 Aug 2024 18:45:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sZxHO-002dfr-IY for pgsql-hackers@arkaria.postgresql.org; Fri, 02 Aug 2024 18:45:30 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sZxHN-002dc2-9V for pgsql-hackers@lists.postgresql.org; Fri, 02 Aug 2024 18:45:30 +0000 Received: from fhigh6-smtp.messagingengine.com ([103.168.172.157]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sZxHJ-002kvg-EX for pgsql-hackers@lists.postgresql.org; Fri, 02 Aug 2024 18:45:27 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailfhigh.nyi.internal (Postfix) with ESMTP id DCF4611482C5; Fri, 2 Aug 2024 14:45:23 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Fri, 02 Aug 2024 14:45:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm2; t=1722624323; x=1722710723; bh=rkz9fpbxxlslt9GgHIFgwzf3NfI0HAom ZEYdMS0jKAc=; b=A1U1dEFvXcPu2D79+Mnatad6Wd5sAXc7QMH+MSlPRoqKAsTb OM7/ct9LUr2tLbMkhN5lS4fEa22cSc8Q9cHbp/zTvJf+HOXsMCpkkbwHcU/IWW4S pTDzIewadAvF41ar7Qy9nHXBVCbFZEHF40E3v4iY7g7ZBmR2oaRpjs8J9BCF1O27 9dkSZigeMqgZCBkoGeDhBohM4lmO3oad17AEIok26owIrjeKLZox/XYfpt6mCt3L VS6JY9TXy9y5o6ZOIEIP8tPUth3Hlh092v3E0d/yKoitvWXYoefL8D3EvlG7bKXI heIALT+sJyxlK/B88t6lcqNSPw96UlA4UrdPtA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1722624323; x= 1722710723; bh=rkz9fpbxxlslt9GgHIFgwzf3NfI0HAomZEYdMS0jKAc=; b=j nJa2xpAHFmlitV1oQH0MIhXVnTMKore1MsRr66V4jMgQqey3u0m6qk7z8DNDkh/S fhXnoRxIsdPdQSLUQKdI4aaTvUkup+fsWxqkYlddMS9m20YVKdwdzni2yKnP1tyG i772E6j9JUVlvmbpzWGpFEGBIZmmO46aOrTsGEqjPTpWjHsSTdhTZ1BNlCPM/Yyh Rcw9FFS3+gZFLNdRnG4dY/2fmnWGEj3QYMj5vZuYqitMff+5gaafozkAaAlTffnY QMboExMDwPFHtuf4AT93wXYCgroRPs0zvLyZQsYGTZyUYL4y5Rsz7aV3m2g7xbWD tfBj2V3Iy8uxiF3MqXDcA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrkedtgdduvdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpefrvght vghrucfgihhsvghnthhrrghuthcuoehpvghtvghrsegvihhsvghnthhrrghuthdrohhrgh eqnecuggftrfgrthhtvghrnhepgfejtdfhkeeftdeugfeileehteeljeeghfeuledthfeu tedvffdukeefjefhgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepphgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhgpdhnsggprhgtphht thhopedt X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 2 Aug 2024 14:45:22 -0400 (EDT) Message-ID: Date: Fri, 2 Aug 2024 20:45:20 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Official devcontainer config To: Andrew Dunstan , Junwang Zhao , PostgreSQL Hackers Cc: Andrey Borodin , Jelte Fennema-Nio References: <57c12c52-123c-4a13-a258-02639473fa17@dunslane.net> Content-Language: en-US From: Peter Eisentraut In-Reply-To: <57c12c52-123c-4a13-a258-02639473fa17@dunslane.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 01.08.24 23:38, Andrew Dunstan wrote: > Not totally opposed, and I will probably give it a try very soon, but > I'm wondering if this really needs to go in the core repo. We've > generally shied away from doing much in the way of editor / devenv > support, trying to be fairly agnostic. It's true we carry .dir-locals.el > and .editorconfig, so that's not entirely true, but those are really > just about supporting our indentation etc. standards. Yeah, the editor support in the tree ought to be minimal and factual, based on coding standards and widely recognized best practices, not a collection of one person's favorite aliases and scripts. If the scripts are good, let's look at them and maybe put them under src/tools/ for everyone to use. But a lot of this looks like it will requite active maintenance if output formats or node formats or build targets etc. change. And other things require specific local paths. That's fine for a local script or something, but not for a mainline tool that the community will need to maintain. I suggest to start with a very minimal configuration. What are the settings that absolute everyone will need, maybe to set indentation style or something.