From: | Junwang Zhao <zhjwpku(at)gmail(dot)com> |
---|---|
To: | Jelte Fennema-Nio <postgres(at)jeltef(dot)nl> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Andrey Borodin <amborodin86(at)gmail(dot)com>, tristan(at)partin(dot)io |
Subject: | Re: Official devcontainer config |
Date: | 2024-08-04 01:59:45 |
Message-ID: | CAEG8a3+vKchPnm0AcHQB7C=CZNVexwOWq-gUjGnhGsn_fVLQ2A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, Aug 2, 2024 at 12:29 AM Jelte Fennema-Nio <postgres(at)jeltef(dot)nl> wrote:
>
> On Thu, 1 Aug 2024 at 16:56, Junwang Zhao <zhjwpku(at)gmail(dot)com> wrote:
> > I post my daily used devcontainer config[2] , Jelte(ccd)
> > suggested that it might be a good idea we integrate the
> > config into postgres repo so that the barrier to entry for
> > new developers will be much lower.
>
> In my experience adding a devcontainer config has definitely made it
> easier for people to contribute to Citus. So thank you for working on
> this! This is not a full review, but an initial pass.
>
> > After diving into the container, the postCreateCommand.sh
> > will be automatically called, it will do some configurations
> > like git, perf, .vscode, core_pattern, etc. It also downloads
> > michaelpq's pg_plugins and FlameGraph.
>
> I think the .git settings don't fit well here, they are mostly aliases
> which are very much based on personal preference and not related to
> Postgres development. It seems better recommend users to use the
> devcontainer dotfiles support for this:
> https://code.visualstudio.com/docs/devcontainers/containers#_personalizing-with-dotfile-repositories
>
> > - pgindent
>
> It might make sense to install Tristan (ccd) his Postgres Hacker
> extension for vscode to make this a bit more userfriendly:
> https://marketplace.visualstudio.com/items?itemName=tristan957.postgres-hacker
Good to know, I will try this later.
--
Regards
Junwang Zhao
From | Date | Subject | |
---|---|---|---|
Next Message | Junwang Zhao | 2024-08-04 02:02:55 | Re: Official devcontainer config |
Previous Message | Tatsuo Ishii | 2024-08-04 01:48:07 | subquery and sub-SELECT |