-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into mlt-rust-poc
- Loading branch information
Showing
15 changed files
with
421 additions
and
372 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,52 @@ | ||
# See https://pre-commit.com for more information | ||
# See https://pre-commit.com/hooks.html for more hooks | ||
|
||
# exclusions should be separated with a pipe (|) character and a newline | ||
exclude: | | ||
(?x)^( | ||
test/expected/.* | ||
)$ | ||
ci: | ||
autoupdate_schedule: monthly | ||
|
||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v5.0.0 | ||
hooks: | ||
- id: check-yaml | ||
args: [--allow-multiple-documents, --unsafe] | ||
- id: end-of-file-fixer | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v5.0.0 | ||
- id: check-added-large-files | ||
- id: check-executables-have-shebangs | ||
- id: check-json | ||
exclude: '.+/tsconfig.json' | ||
- id: check-shebang-scripts-are-executable | ||
exclude: '.+\.rs' # would be triggered by #![some_attribute] | ||
- id: check-symlinks | ||
- id: check-toml | ||
- id: check-yaml | ||
args: [ --allow-multiple-documents ] | ||
- id: destroyed-symlinks | ||
- id: end-of-file-fixer | ||
- id: mixed-line-ending | ||
args: [ --fix=lf ] | ||
- id: trailing-whitespace | ||
|
||
- repo: https://github.com/pre-commit/mirrors-clang-format | ||
rev: v19.1.4 | ||
hooks: | ||
- id: clang-format | ||
types: [ c++ ] | ||
|
||
- repo: https://github.com/Mateusz-Grzelinski/actionlint-py | ||
rev: v1.7.4.20 | ||
hooks: | ||
- id: actionlint | ||
additional_dependencies: [ shellcheck-py ] | ||
|
||
- repo: local | ||
hooks: | ||
- id: check-yaml | ||
args: [--allow-multiple-documents] | ||
- repo: https://github.com/pre-commit/mirrors-clang-format | ||
rev: v19.1.3 | ||
hooks: | ||
- id: clang-format | ||
types: [c++] | ||
- repo: https://github.com/Mateusz-Grzelinski/actionlint-py | ||
rev: v1.7.4.20 | ||
hooks: | ||
- id: actionlint | ||
additional_dependencies: [shellcheck-py] | ||
- id: cargo-fmt | ||
description: "Automatically format Rust code with cargo fmt" | ||
entry: sh -c "cd rust && cargo fmt --all" | ||
language: rust | ||
name: Rust Format | ||
pass_filenames: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
|
||
> **_Notice:_** This experimental Java encoder uses the [FSST](https://www.vldb.org/pvldb/vol13/p2649-boncz.pdf) encoding for efficiently encoding | ||
substrings of a tile. In the current research state only a quick solution has been implemented, with the restrication that only a windows build | ||
> **_Notice:_** This experimental Java encoder uses the [FSST](https://www.vldb.org/pvldb/vol13/p2649-boncz.pdf) encoding for efficiently encoding | ||
substrings of a tile. In the current research state only a quick solution has been implemented, with the restrication that only a windows build | ||
> of the [FSST project](https://github.com/cwida/fsst) is available. | ||
Generate Java metadata classes from ``maplibre_tile_metdata.proto`` file: | ||
Generate Java metadata classes from ``maplibre_tile_metdata.proto`` file: | ||
```console | ||
protoc --java_out=src/main/java -I "..\..\spec\schema" mlt_tileset_metadata.proto | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.