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

Warn on unknown cfg, CI cleanup #461

Merged
merged 2 commits into from
Oct 24, 2022
Merged

Warn on unknown cfg, CI cleanup #461

merged 2 commits into from
Oct 24, 2022

Conversation

nyurik
Copy link
Member

@nyurik nyurik commented Oct 23, 2022

  • Detect all unrecognized config file values, and report them. Ideally we want to use serde-ignored crate, but it doesn't work with flattened structs (yet). So using a bad workaround.
  • CI test has been using all sorts of somewhat duplicated temporary pbf files - cleaned up to tmp.pbf, and made sure curl only shows errors, not download stats.
  • In CI, crash psql instead of silently ignoring errors
  • Don't serialize optional config values as nulls
  • Tiny error message cleanup

@nyurik nyurik enabled auto-merge (squash) October 23, 2022 04:29
* Detect all unrecognized config file values, and report them.  Ideally we want to use `serde-ignored` crate, but it doesn't work with flattened structs (yet). So using a bad workaround.
* CI test has been using all sorts of somewhat duplicated temporary pbf files - cleaned up to `tmp.pbf`, and made sure curl only shows errors, not download stats.
* Don't serialize optional config values as nulls
* Tiny error message cleanup
@nyurik nyurik disabled auto-merge October 23, 2022 04:34
@nyurik nyurik enabled auto-merge (squash) October 23, 2022 04:34
@nyurik nyurik disabled auto-merge October 23, 2022 06:21
@nyurik nyurik enabled auto-merge (squash) October 23, 2022 06:21
@nyurik nyurik merged commit def4a6f into maplibre:main Oct 24, 2022
@nyurik nyurik deleted the warn-cfg branch October 24, 2022 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants