Обсуждение: cookiecutter template for Postgres extensions

Поиск
Список
Период
Сортировка

cookiecutter template for Postgres extensions

От
Florents Tselai
Дата:

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