| From: | Florents Tselai <florents(dot)tselai(at)gmail(dot)com> |
|---|---|
| To: | pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org> |
| Subject: | cookiecutter template for Postgres extensions |
| Date: | 2024-02-08 13:09:15 |
| Message-ID: | 35742751-9F47-4E72-AA4A-EC69650CDDDA@gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Greg Sabino Mullane | 2024-02-08 14:31:08 | Re: How to do faster DML |
| Previous Message | Daniel Gustafsson | 2024-02-08 13:00:38 | Re: Error on create extension pgcrypto. Undefined symbol "EVP_bf_ecb" |