Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename id_format to source_id_format, refactor #794

Merged
merged 1 commit into from
Aug 3, 2023

Conversation

nyurik
Copy link
Member

@nyurik nyurik commented Aug 3, 2023

  • rename configuration auto_publish.tables.id_format and auto_publish.functions.id_format fields from id_format to source_id_format fields. The id_format will continue to be supported (read) from the configuration, but it will be auto-converted to the new name on save. It is an error to have both in the same config file.

  • internal refactorings: consolidate PG-related utilities, rename a few vars, move PG errors to their own file.

This is partially made due to #790 (thanks @Binabh!) - and should be merged before that to make that PR easier.

* rename configuration `auto_publish.tables.id_format` and `auto_publish.functions.id_format` fields from `id_format` to `source_id_format` fields. The `id_format` will continue to be supported (read) from the configuration, but it will be auto-converted to the new name on save. It is an error to have both in the same config file.

* internal refactorings: consolidate PG-related utilities, rename a few vars, move PG errors to their own file.
@nyurik nyurik enabled auto-merge (squash) August 3, 2023 00:56
@nyurik nyurik merged commit 74c84fa into maplibre:main Aug 3, 2023
16 checks passed
@nyurik nyurik deleted the refactor branch August 3, 2023 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants