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 1rY49s-00EC7O-Vr for pgsql-general@arkaria.postgresql.org; Thu, 08 Feb 2024 13:09:41 +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 1rY49s-0004lE-4I for pgsql-general@arkaria.postgresql.org; Thu, 08 Feb 2024 13:09:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rY49r-0004l6-OY for pgsql-general@lists.postgresql.org; Thu, 08 Feb 2024 13:09:39 +0000 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rY49o-0067zB-RF for pgsql-general@lists.postgresql.org; Thu, 08 Feb 2024 13:09:39 +0000 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-41047386d18so2632835e9.0 for ; Thu, 08 Feb 2024 05:09:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707397774; x=1708002574; darn=lists.postgresql.org; h=to:date:message-id:subject:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=xEGq4IxgIqRGik0eXr+4BqJ3LfRemfi4WTwP3jAh9Ws=; b=P+CFQ6TazzEHthag2MQn8ybRN6MSRQXZiMoJNBgbBgfLQYjI+Vb4OhGaxFtcsZQP53 f7dkUFzPnrU496X1o4D2giICOfZ6zsgBACGAhJINS9iOlKmrEQ+oZd1wE1hQfw+IKB2S FmfeHoUAiGe/tEbuRv7WGYT34g4nuxADrDqTplq0Vo/jt4T0FffGhrzJ8Aup5K5t/3LV 0IIlIUH+sI/8I3s5edyC2fFDe+1GMfNR9Yz8gXJ32XujUR1P3umaozpmze6aP9PIAh3s wyFBvshM7X+xiqedUKNg9H/NaTuONGEHi2jk+6Jb3pRW0ckLD5Xgl+hn89bk0OqkQpqG wsdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707397774; x=1708002574; h=to:date:message-id:subject:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=xEGq4IxgIqRGik0eXr+4BqJ3LfRemfi4WTwP3jAh9Ws=; b=M8CW1NWb7XDBC38oVAPQwr7vqnneboE3BebXZgHbj8y/LzggaFxSWoOYI9ScBdkZuK XO2Ud/p04C6S9JhuWk9TMzP6we8adfTWKMex+GeFA9FXiSF2S0fZUl+al8lc3Ea5/9dX +CG5lim+43jDlUVCY+R0MU/Ya+XJhQgHmtDjZDBS770OUsT90MBHrQgAANvOmthT7Pj4 xedD5mQ4SIKKquPi2K03agKjShxO1avI+I19NdskV1ExtcEfyN+1I2RpAyOGM28WN61g EItN9UsKUSPjrT0dGRh4Zz/LgRYfIrxgsOOmeDBbl5lPL1W1n7HKobzTbxhzm19YOdr0 Zi+Q== X-Gm-Message-State: AOJu0Yzt+w6q/5UCb0VVJTuqvWDty8ghtgwkyMOtKAQb+a746tEHQhiE W1mBXXQ5jFtiFQjww8tyipHG0Dm46mq3Y3R5myEPzXltpLYnuB+Y/VK38UbnfZkJNw== X-Google-Smtp-Source: AGHT+IGH1r3JOiIJpkE3W8KGs8t5hvDCDjKkKZuk8L+pPJi8tAgqAaxamVJvFDj6z2ddlylYxTwUrA== X-Received: by 2002:a5d:5f89:0:b0:33b:4ad4:952d with SMTP id dr9-20020a5d5f89000000b0033b4ad4952dmr5641702wrb.13.1707397774223; Thu, 08 Feb 2024 05:09:34 -0800 (PST) Received: from smtpclient.apple ([195.146.4.79]) by smtp.gmail.com with ESMTPSA id p9-20020a05600c1d8900b004104edba079sm263363wms.35.2024.02.08.05.09.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Feb 2024 05:09:33 -0800 (PST) From: Florents Tselai Content-Type: multipart/alternative; boundary="Apple-Mail=_6B5894FD-FE3C-4A4D-B9C8-ADEE8108B7DC" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\)) Subject: cookiecutter template for Postgres extensions Message-Id: <35742751-9F47-4E72-AA4A-EC69650CDDDA@gmail.com> Date: Thu, 8 Feb 2024 15:09:15 +0200 To: pgsql-general X-Mailer: Apple Mail (2.3774.300.61.1.2) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Apple-Mail=_6B5894FD-FE3C-4A4D-B9C8-ADEE8108B7DC Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi all, I built a cookiecutter template for Postgres extensions.=20 This cookiecutter prompts for some basic extension metadata (e.g., name, = Postgres version) and then automatically generates the necessary = boilerplate files.=20 These include: * Standard extension files (Makefile, .control, c, .h, .sql) = pre-populated with stubs. * Regression Tests * GitHub Actions for building and testing on multiple Postgres versions * Docker support * pgxn integration To use it:=20 pip install cookiecutter cookiecutter gh:Florents-Tselai/cookiecutter-postgres-extension =20 Demo video: https://youtu.be/zVxY3ZmE5bU All the best, Flo= --Apple-Mail=_6B5894FD-FE3C-4A4D-B9C8-ADEE8108B7DC Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

Hi = all,

I built a = cookiecutter template for Postgres extensions. =

This cookiecutter prompts for = some basic extension metadata (e.g., name, Postgres version) and then = automatically generates the necessary boilerplate files.

These include:

* Standard extension files = (Makefile, .control, c, .h, .sql) pre-populated with stubs.
* = Regression Tests
* GitHub Actions for building and testing on multiple Postgres = versions
* Docker support
* pgxn integration


To use it: 

pip install =
cookiecutter
cookiecutter =
gh:Florents-Tselai/cookiecutter-postgres-extension =
 


Demo video: https://youtu.be/zVxY3ZmE5bU

All the best,
Flo
= --Apple-Mail=_6B5894FD-FE3C-4A4D-B9C8-ADEE8108B7DC--