Commit Graph

1109 Commits

Author SHA1 Message Date
Yuri Astrakhan
58d691dd10 Use chmod +x in packaging, move homebrew to 9.1 2023-10-11 16:31:30 -04:00
Ruben Poppe
281799021d
Update Homebrew for 0.9.0 (#932)
- Updated version to 0.9.0, removed openssl dependency
- Added architecture checks
2023-10-10 21:28:07 -04:00
Yuri Astrakhan
8b34cd374c
Add metadat copy/apply-diff, new testing framework (#921)
* Fix metadata copying
* Introduce a new metadata field `agg_tiles_hash_after_apply` for diff
files
* Added a lot of new info and debug logging
* Simplified Copying interface - not much value in having all the
complex builder pattern here it seems, might as well use a simple
object.

## Testing
* Generate SQLite DBs in memory on the fly to validate just what we need
* Use `insta` for validating DB content

There is now a function `dump(connection) -> Vec<Entry>` to dump the
content of the entire SQLite DB into text with `serde`. At many steps
through the testing, the DB content is validated with the corresponding
.snap file with `insta` crate (which makes this process mega-simple,
including a simple way to "bless" (update) any changes).

## Discovered bugs
* Seems like normalized files do not get copied properly - they contain
extras that should be removed.
2023-10-10 11:10:17 -04:00
Yuri Astrakhan
f4bb5c7c27 bump versions 2023-10-10 02:57:59 -04:00
dependabot[bot]
ecd051a492
chore(deps): Bump semver from 1.0.19 to 1.0.20 (#926)
Bumps [semver](https://github.com/dtolnay/semver) from 1.0.19 to 1.0.20.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/dtolnay/semver/releases">semver's
releases</a>.</em></p>
<blockquote>
<h2>1.0.20</h2>
<ul>
<li>Add a method for comparing versions by precedence (<a
href="https://redirect.github.com/dtolnay/semver/issues/305">#305</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="55fa2cadd6"><code>55fa2ca</code></a>
Release 1.0.20</li>
<li><a
href="5feccc036a"><code>5feccc0</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/semver/issues/305">#305</a>
from dtolnay/precedence</li>
<li><a
href="83aaaf0d2d"><code>83aaaf0</code></a>
Add a method for precedence comparison of Versions</li>
<li><a
href="83154eaa57"><code>83154ea</code></a>
Test docs.rs documentation build in CI</li>
<li>See full diff in <a
href="https://github.com/dtolnay/semver/compare/1.0.19...1.0.20">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=semver&package-manager=cargo&previous-version=1.0.19&new-version=1.0.20)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-10 03:03:11 +00:00
Pat Sier
321a969a39
Log a warning if PG startup takes too long (#924)
Adds a warning message using the suggested implementation in #810.
Thanks for the recommended approach in the ticket! This one seemed
straightforward enough that local tests would do, which I ran by adding
a delay to `instantiate_tables`.

---------

Co-authored-by: Yuri Astrakhan <YuriAstrakhan@gmail.com>
2023-10-08 20:13:00 +00:00
Lucas
eaee56cd60
Rename homebrew formula subdirctory (#923)
Rename hombrew formula directory from `homebrew-formula` to
`HomebrewFormula` based on the [homebrew
doc](https://docs.brew.sh/How-to-Create-and-Maintain-a-Tap#creating-a-tap).
2023-10-08 05:02:13 -04:00
Yuri Astrakhan
7d5e2ae4bd upgrade deps 2023-10-07 14:46:54 -04:00
dependabot[bot]
afc9ef2866
chore(deps): Bump postcss from 8.4.27 to 8.4.31 in /demo/frontend (#920)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.27 to
8.4.31.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/postcss/postcss/releases">postcss's
releases</a>.</em></p>
<blockquote>
<h2>8.4.31</h2>
<ul>
<li>Fixed <code>\r</code> parsing to fix CVE-2023-44270.</li>
</ul>
<h2>8.4.30</h2>
<ul>
<li>Improved source map performance (by <a
href="https://github.com/romainmenke"><code>@​romainmenke</code></a>).</li>
</ul>
<h2>8.4.29</h2>
<ul>
<li>Fixed <code>Node#source.offset</code> (by <a
href="https://github.com/idoros"><code>@​idoros</code></a>).</li>
<li>Fixed docs (by <a
href="https://github.com/coliff"><code>@​coliff</code></a>).</li>
</ul>
<h2>8.4.28</h2>
<ul>
<li>Fixed <code>Root.source.end</code> for better source map (by <a
href="https://github.com/romainmenke"><code>@​romainmenke</code></a>).</li>
<li>Fixed <code>Result.root</code> types when <code>process()</code> has
no parser.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/postcss/postcss/blob/main/CHANGELOG.md">postcss's
changelog</a>.</em></p>
<blockquote>
<h2>8.4.31</h2>
<ul>
<li>Fixed <code>\r</code> parsing to fix CVE-2023-44270.</li>
</ul>
<h2>8.4.30</h2>
<ul>
<li>Improved source map performance (by Romain Menke).</li>
</ul>
<h2>8.4.29</h2>
<ul>
<li>Fixed <code>Node#source.offset</code> (by Ido Rosenthal).</li>
<li>Fixed docs (by Christian Oliff).</li>
</ul>
<h2>8.4.28</h2>
<ul>
<li>Fixed <code>Root.source.end</code> for better source map (by Romain
Menke).</li>
<li>Fixed <code>Result.root</code> types when <code>process()</code> has
no parser.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="90208de880"><code>90208de</code></a>
Release 8.4.31 version</li>
<li><a
href="58cc860b4c"><code>58cc860</code></a>
Fix carrier return parsing</li>
<li><a
href="4fff8e4cdc"><code>4fff8e4</code></a>
Improve pnpm test output</li>
<li><a
href="cd43ed1232"><code>cd43ed1</code></a>
Update dependencies</li>
<li><a
href="caa916bdcb"><code>caa916b</code></a>
Update dependencies</li>
<li><a
href="8972f76923"><code>8972f76</code></a>
Typo</li>
<li><a
href="11a5286f78"><code>11a5286</code></a>
Typo</li>
<li><a
href="45c5501777"><code>45c5501</code></a>
Release 8.4.30 version</li>
<li><a
href="bc3c341f58"><code>bc3c341</code></a>
Update linter</li>
<li><a
href="b2be58a2eb"><code>b2be58a</code></a>
Merge pull request <a
href="https://redirect.github.com/postcss/postcss/issues/1881">#1881</a>
from romainmenke/improve-sourcemap-performance--phil...</li>
<li>Additional commits viewable in <a
href="https://github.com/postcss/postcss/compare/8.4.27...8.4.31">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=postcss&package-manager=npm_and_yarn&previous-version=8.4.27&new-version=8.4.31)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/maplibre/martin/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-07 01:22:12 -04:00
Yuri Astrakhan
0459d3f748
add encoding=UTF8 pragma, refactoring (#919) 2023-10-03 21:20:41 -04:00
Yuri Astrakhan
cc6b8fd9c8 rename mbtiles files 2023-10-02 17:42:12 -04:00
Yuri Astrakhan
800228332d
Update README.md 2023-10-02 12:57:54 -04:00
Yuri Astrakhan
0cf57a6a6a bump versions 2023-10-01 23:29:56 -04:00
Yuri Astrakhan
6b7bcabe49
Cleanup mbtiles, rename TileCopierOptions, testing (#916)
* Rename `TileCopierOptions` -> `TileCopier`
* remove a few un-needed sqlite open to detect mbtiles type
* move `open_and_detect_type` to `MBTiles`
* add `attach_to` to `MBTiles`
* move various table creation fn to mbtiles_queries file
* a few sql format
2023-10-01 23:28:43 -04:00
Yuri Astrakhan
14ea5cb2f6
Update README.md 2023-10-01 19:55:26 -04:00
Yuri Astrakhan
3adc896b96 version 2023-09-30 23:08:44 -04:00
Yuri Astrakhan
64d652f5af
Improve SSL mode testing (#913) 2023-09-30 22:49:56 -04:00
Yuri Astrakhan
ae8e0709d7 ssl dockercompose test config 2023-09-30 12:38:57 -04:00
Yuri Astrakhan
d1fe026639 Fix justfile ssl test, print hba config 2023-09-30 12:06:49 -04:00
Yuri Astrakhan
8d7204c53d
Switch to Rustls (#474)
Fixes #471
2023-09-30 17:58:49 +08:00
Yuri Astrakhan
31acc7fd3c Do not use rust-cache on release 2023-09-30 00:52:08 -04:00
Yuri Astrakhan
48164d76fe
CI: Combine cross docker builds (#910)
Minor CI cleanup
2023-09-30 00:45:15 -04:00
Yuri Astrakhan
976a850632 Use rust-cache in CI 2023-09-29 23:13:18 -04:00
Yuri Astrakhan
9ed414c9ac
Use MUSL cross-build for ARM64 & dockers (#909) 2023-09-29 23:11:09 -04:00
Yuri Astrakhan
d48ef47f29 Tiny nits to help with rustls migration 2023-09-29 22:21:14 -04:00
Yuri Astrakhan
0f1bd9e9c2 disable bench workflow 2023-09-29 20:51:40 -04:00
Yuri Astrakhan
cd584faa30
mbtiles: remove tls features, CI streamlining (#908) 2023-09-29 20:40:32 -04:00
Yuri Astrakhan
06ec44a74b update lock 2023-09-29 17:18:57 -04:00
Yuri Astrakhan
6f08aa9465
Fix mbtiles validation, CI, and logging (#903) 2023-09-29 14:37:18 -04:00
Yuri Astrakhan
73edd19ef9
Hide pg connection password (#907)
the output now looks like this, with the password being shown as `_`
instead of a real value.

<code>Connecting to Config { user: Some("myname"), password: Some(_),
dbname: Some("db"), options: None, application_name: None, ssl_mode:
Prefer, host: [Tcp("localhost")], hostaddr: [], port: [5411],
connect_timeout: None, tcp_user_timeout: None, keepalives: true,
keepalives_idle: 7200s, keepalives_interval: None, keepalives_retries:
None, target_session_attrs: Any, channel_binding: Prefer }</code>


Fix #902
2023-09-29 17:37:40 +00:00
Yuri Astrakhan
f52cd3c611 Minor mbtiles doc cleanups 2023-09-28 18:19:05 -04:00
Yuri Astrakhan
1a386b7071 Fix unit tests to use blobs only 2023-09-28 16:57:50 -04:00
Yuri Astrakhan
18504ff2cb
Update agg_tiles_hash docs and minor bug (#901)
* Do not open the same mbtiles file more than once at the same time:
reuse the (unsafe) sqlite handle to create a `RusqliteConnection`
instead.
* The copying should set `agg_tiles_hash` in all cases because now it
uses the always available `tiles` table/view.
* a few minor cleanups and renames related to that
2023-09-28 20:12:11 +02:00
Yuri Astrakhan
faa707e077 getting ready for v0.9 release 2023-09-27 14:09:21 -04:00
Yuri Astrakhan
8669d50762 update lock 2023-09-27 14:03:29 -04:00
Yuri Astrakhan
44dc5cad8b
CI-Test everything on SSL connections (#900) 2023-09-27 14:02:39 -04:00
dependabot[bot]
256f4a10a7
chore(deps): Bump sqlx from 0.7.1 to 0.7.2 (#899)
Bumps [sqlx](https://github.com/launchbadge/sqlx) from 0.7.1 to 0.7.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/launchbadge/sqlx/blob/main/CHANGELOG.md">sqlx's
changelog</a>.</em></p>
<blockquote>
<h2>0.7.2 - 2023-09-25</h2>
<p>23 pull requests were merged this release cycle.</p>
<h3>Added</h3>
<ul>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2121">#2121</a>]:
Add JSON support to <code>FromRow</code> derive [[<a
href="https://github.com/95ulisse"><code>@​95ulisse</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2533">#2533</a>]:
Implement mysql_clear_password [[<a
href="https://github.com/ldanilek"><code>@​ldanilek</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2538">#2538</a>]:
cli: add --target-version CLI flags for migrate run/revert [[<a
href="https://github.com/inahga"><code>@​inahga</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2577">#2577</a>]:
supplement Postgres listen example with a small chat example [[<a
href="https://github.com/JockeM"><code>@​JockeM</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2602">#2602</a>]:
Support naming migrations sequentially [[<a
href="https://github.com/vmax"><code>@​vmax</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2634">#2634</a>]:
Adding PgHasArrayType for &amp;[u8;N] [[<a
href="https://github.com/snf"><code>@​snf</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2646">#2646</a>]:
Support for setting client certificate and key from bytes [[<a
href="https://github.com/wyhaya"><code>@​wyhaya</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2664">#2664</a>]:
Automatically infer migration type [[<a
href="https://github.com/vmax"><code>@​vmax</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2712">#2712</a>]:
Add impl for <code>Type</code>, <code>Decode</code>, and
<code>Encode</code> for <code>Box&lt;str&gt;</code> and
<code>Box&lt;[u8]&gt;</code> [[<a
href="https://github.com/grant0417"><code>@​grant0417</code></a>]]</li>
</ul>
<h3>Changed</h3>
<ul>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2650">#2650</a>]:
Cleanup format arguments [[<a
href="https://github.com/nyurik"><code>@​nyurik</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2695">#2695</a>]:
remove &amp;mut PoolConnection from Executor docs [[<a
href="https://github.com/olback"><code>@​olback</code></a>]]
<ul>
<li>This impl was removed in 0.7.0 because of coherence issues.</li>
</ul>
</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2706">#2706</a>]:
Clarify where optional features should be enabled [[<a
href="https://github.com/kryptan"><code>@​kryptan</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2717">#2717</a>]:
Update README.md [[<a
href="https://github.com/fermanjj"><code>@​fermanjj</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2739">#2739</a>]:
Bump mariadb CI images + mysql unpin [[<a
href="https://github.com/grooverdan"><code>@​grooverdan</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2742">#2742</a>]:
Implemented poll_flush for Box<!-- raw HTML omitted --> [[<a
href="https://github.com/bobozaur"><code>@​bobozaur</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2740">#2740</a>]:
Remove sealed trait comments from documentation [[<a
href="https://github.com/bobozaur"><code>@​bobozaur</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2750">#2750</a>]:
Fix <a
href="https://redirect.github.com/launchbadge/sqlx/issues/2384">#2384</a>,
bump flume to v0.11.0 [[<a
href="https://github.com/madadam"><code>@​madadam</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2757">#2757</a>]:
Remove unused <code>remove_dir_all</code> crate from
<code>sqlx-cli</code>, fixes RUSTSEC-2023-0018 [[<a
href="https://github.com/aldur"><code>@​aldur</code></a>]]</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2624">#2624</a>]:
Documentation typo: BYTE -&gt; BINARY [[<a
href="https://github.com/sebastianv89"><code>@​sebastianv89</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2628">#2628</a>]:
docs: 0.7 is stable in the entire README [[<a
href="https://github.com/marcusirgens"><code>@​marcusirgens</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2630">#2630</a>]:
fix(postgres): fix buffer management in PgCopyIn::read_from [[<a
href="https://github.com/tsing"><code>@​tsing</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2651">#2651</a>]:
Chore: Fix few build warnings, and make CI fail on warn [[<a
href="https://github.com/nyurik"><code>@​nyurik</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2670">#2670</a>]:
fix: ignore extra fields in Postgres describe parsing [[<a
href="https://github.com/abonander"><code>@​abonander</code></a>]]</li>
<li>[<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2687">#2687</a>]:
docs: Fix description of <code>min_connections</code> [[<a
href="https://github.com/hakoerber"><code>@​hakoerber</code></a>]]</li>
</ul>
<p><a
href="https://redirect.github.com/launchbadge/sqlx/issues/2121">#2121</a>:
<a
href="https://redirect.github.com/launchbadge/sqlx/pull/2121">launchbadge/sqlx#2121</a>
<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2533">#2533</a>:
<a
href="https://redirect.github.com/launchbadge/sqlx/pull/2533">launchbadge/sqlx#2533</a>
<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2538">#2538</a>:
<a
href="https://redirect.github.com/launchbadge/sqlx/pull/2538">launchbadge/sqlx#2538</a>
<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2577">#2577</a>:
<a
href="https://redirect.github.com/launchbadge/sqlx/pull/2577">launchbadge/sqlx#2577</a>
<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2602">#2602</a>:
<a
href="https://redirect.github.com/launchbadge/sqlx/pull/2602">launchbadge/sqlx#2602</a>
<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2624">#2624</a>:
<a
href="https://redirect.github.com/launchbadge/sqlx/pull/2624">launchbadge/sqlx#2624</a>
<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2628">#2628</a>:
<a
href="https://redirect.github.com/launchbadge/sqlx/pull/2628">launchbadge/sqlx#2628</a>
<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2630">#2630</a>:
<a
href="https://redirect.github.com/launchbadge/sqlx/pull/2630">launchbadge/sqlx#2630</a>
<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2634">#2634</a>:
<a
href="https://redirect.github.com/launchbadge/sqlx/pull/2634">launchbadge/sqlx#2634</a>
<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2646">#2646</a>:
<a
href="https://redirect.github.com/launchbadge/sqlx/pull/2646">launchbadge/sqlx#2646</a>
<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2650">#2650</a>:
<a
href="https://redirect.github.com/launchbadge/sqlx/pull/2650">launchbadge/sqlx#2650</a>
<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2651">#2651</a>:
<a
href="https://redirect.github.com/launchbadge/sqlx/pull/2651">launchbadge/sqlx#2651</a>
<a
href="https://redirect.github.com/launchbadge/sqlx/issues/2664">#2664</a>:
<a
href="https://redirect.github.com/launchbadge/sqlx/pull/2664">launchbadge/sqlx#2664</a></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/launchbadge/sqlx/commits">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sqlx&package-manager=cargo&previous-version=0.7.1&new-version=0.7.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-27 03:30:29 +00:00
dependabot[bot]
678cbb7801
chore(deps): Bump thiserror from 1.0.48 to 1.0.49 (#898)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.48 to
1.0.49.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/dtolnay/thiserror/releases">thiserror's
releases</a>.</em></p>
<blockquote>
<h2>1.0.49</h2>
<ul>
<li>Access libcore types through <code>::core</code> in generated code
(<a
href="https://redirect.github.com/dtolnay/thiserror/issues/255">#255</a>,
thanks <a
href="https://github.com/mina86"><code>@​mina86</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="54465b7475"><code>54465b7</code></a>
Release 1.0.49</li>
<li><a
href="79704adca9"><code>79704ad</code></a>
Merge pull request 255 from mina86/a</li>
<li><a
href="5bfbdaebe3"><code>5bfbdae</code></a>
Test docs.rs documentation build in CI</li>
<li><a
href="f0f303a7ba"><code>f0f303a</code></a>
Prefer core crate in macro expansions</li>
<li><a
href="435c7c819c"><code>435c7c8</code></a>
Update actions/checkout@v3 -&gt; v4</li>
<li>See full diff in <a
href="https://github.com/dtolnay/thiserror/compare/1.0.48...1.0.49">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=thiserror&package-manager=cargo&previous-version=1.0.48&new-version=1.0.49)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-27 03:28:42 +00:00
Yuri Astrakhan
26f4e96d44
Format SQL (#897) 2023-09-26 15:59:10 -04:00
Yuri Astrakhan
826c26367d update lock 2023-09-26 14:24:56 -04:00
Yuri Astrakhan
6b061bc68a
In deb package, include ssl and mbtiles tool (#895) 2023-09-26 13:29:22 -04:00
Yuri Astrakhan
c5c2687873
Implement arm64 docker image (#891)
This is a far simpler CI path:
* Compiles Ubuntu targets outside of docker
* Copies targets into appropriate docker image
* No compilation inside docker - makes it far faster
* Runs all integration tests on all platforms using emulation against
host-based postgis

Fixes #655
2023-09-26 19:26:27 +02:00
Yuri Astrakhan
5ade7cd25e
Cleanup debian packaging (#893) 2023-09-26 16:00:39 +08:00
Yuri Astrakhan
d39cc27e76
Delete trailing spaces (#894) 2023-09-26 15:41:40 +08:00
dependabot[bot]
edba1d5e9d
chore(deps): Bump clap from 4.4.4 to 4.4.5 (#890)
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.4 to 4.4.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/clap-rs/clap/releases">clap's
releases</a>.</em></p>
<blockquote>
<h2>v4.4.5</h2>
<h2>[4.4.5] - 2023-09-25</h2>
<h3>Fixes</h3>
<ul>
<li><em>(parser)</em> When inferring subcommand <code>name</code> or
<code>long_flag</code>, allow ambiguous-looking matches that
unambiguously map back to the same command</li>
<li><em>(parser)</em> When inferring subcommand <code>long_flag</code>,
don't panic</li>
<li><em>(assert)</em> Clarify what action is causing a positional that
doesn't set values which is especially useful for derive users</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/clap-rs/clap/blob/master/CHANGELOG.md">clap's
changelog</a>.</em></p>
<blockquote>
<h2>[4.4.5] - 2023-09-25</h2>
<h3>Fixes</h3>
<ul>
<li><em>(parser)</em> When inferring subcommand <code>name</code> or
<code>long_flag</code>, allow ambiguous-looking matches that
unambiguously map back to the same command</li>
<li><em>(parser)</em> When inferring subcommand <code>long_flag</code>,
don't panic</li>
<li><em>(assert)</em> Clarify what action is causing a positional that
doesn't set values which is especially useful for derive users</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="c298f6a52c"><code>c298f6a</code></a>
chore: Release</li>
<li><a
href="463d6c52af"><code>463d6c5</code></a>
docs: Update changelog</li>
<li><a
href="3ac44040ef"><code>3ac4404</code></a>
Merge pull request <a
href="https://redirect.github.com/clap-rs/clap/issues/5025">#5025</a>
from SUPERCILEX/resolve-alias-conflicts</li>
<li><a
href="a76789eb8b"><code>a76789e</code></a>
fix: Make long subcommand flag inference consistent</li>
<li><a
href="c2b8ec3bd3"><code>c2b8ec3</code></a>
fix: Resolve conflicting name inference if from aliases</li>
<li><a
href="e5c6993cca"><code>e5c6993</code></a>
test: Long flags inference</li>
<li><a
href="0d9b14fa6e"><code>0d9b14f</code></a>
Merge pull request <a
href="https://redirect.github.com/clap-rs/clap/issues/5136">#5136</a>
from epage/panic</li>
<li><a
href="221177b9cb"><code>221177b</code></a>
fix(assert): Call out the action in positional assert</li>
<li><a
href="cb2d2bcf07"><code>cb2d2bc</code></a>
chore: Update from '_rust/main'</li>
<li><a
href="4173c8f476"><code>4173c8f</code></a>
chore(ci): Don't set patch for MSRV</li>
<li>Additional commits viewable in <a
href="https://github.com/clap-rs/clap/compare/v4.4.4...v4.4.5">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=clap&package-manager=cargo&previous-version=4.4.4&new-version=4.4.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-26 03:29:07 +00:00
Yuri Astrakhan
0ef493d9e7
Rework CI to build ARM64 (#889)
* break CI into cleaner steps:  build, test/test-legacy, publish
* add arm64 for linux
2023-09-25 20:27:55 -04:00
Yuri Astrakhan
09bbdc958d update lock 2023-09-25 11:01:10 -04:00
Yuri Astrakhan
be022a3ebf update lock 2023-09-24 00:15:32 -04:00
Yuri Astrakhan
aba553c2b2 update lock 2023-09-21 10:38:39 -04:00
Lucas
b2b3e2ce36
Add clip_geom, buffer and extent under auto_publish conf (#887)
`postgres.auto_publish.tables` now lets users customize  `clip_geom`, `buffer`, and `extent` instead of using their default values.

See also #872

---------

Co-authored-by: Yuri Astrakhan <YuriAstrakhan@gmail.com>
2023-09-21 10:18:09 -04:00