developmentseed / developmentseed/tipg

add regex excludes/includes expressions

Open
#20 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PLpgSQL
Stars
219
Forks
39
Avg merge
1d 18h
Merged PRs (30d)
6

Description

Right now we can pass `TIPG_EXCLUDES` or `TIPG_INCLUDES` configs as List (e.g `TIPG_INCLUDES='["public.table1"]'`). This is nice but when you have to filter in/out a lot of table (which you may not know the name in advance) it's not great.

https://github.com/developmentseed/tipg/blob/0c0f5129fc4405e7548db5e074926bdedd995983/tipg/settings.py#L32-L33

I'm proposing we add `excludes_expr: str` and `includes_expr: str` (e.g `TIPG_EXCLUDES_EXPR="^pgstac\._item"`) settings in addition to excludes and includes lists

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.