Skip to content

Commit

Permalink
chore: v0.2.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
stepankuzmin committed Nov 2, 2018
1 parent 58777a2 commit da1c4bb
Show file tree
Hide file tree
Showing 8 changed files with 80 additions and 2 deletions.
27 changes: 27 additions & 0 deletions .clog.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[clog]
# A repository link with the trailing '.git' which will be used to generate
# all commit and issue links
repository = "https://github.com/urbica/martin"

# A constant release title
# subtitle = "Martin"

# specify the style of commit links to generate, defaults to "github" if omitted
link-style = "github"

# The preferred way to set a constant changelog. This file will be read for old changelog
# data, then prepended to for new changelog data. It's the equivilant to setting
# both infile and outfile to the same file.
#
# Do not use with outfile or infile fields!
#
# Defaults to stdout when omitted
changelog = "CHANGELOG.md"

# This sets the output format. There are two options "json" or "markdown" and
# defaults to "markdown" when omitted
output-format = "markdown"

# If you use tags, you can set the following if you wish to only pick
# up changes since your latest tag
from-latest-tag = true
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
/target/
**/*.rs.bk

Expand Down
40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<a name="0.2.0"></a>

## 0.2.0 (2018-11-02)

#### Features

- add command-line interface ([1e128a7b](https://github.com/urbica/martin/commit/1e128a7bef484e116773d08e1e2e1a9be604aa9f))

#### Bug Fixes

- function source query params parsing ([8ac2812d](https://github.com/urbica/martin/commit/8ac2812d05ae993ea5c9013877ab4c6a1906454a))

<a name="0.1.0"></a>

## 0.1.0 (2018-11-02)

#### Bug Fixes

- rename function source query argument to query_params ([2f2b743c](https://github.com/urbica/martin/commit/2f2b743c33dcfc0f8494ec1f8a7e7c4bd0b124dc))
- pass query string from tilejson endpoint to tiles ([ef7ddace](https://github.com/urbica/martin/commit/ef7ddace17cc11433824942c2ae68ffecb00538a))
- add schema to function_sources ([a7092bc3](https://github.com/urbica/martin/commit/a7092bc3b86c35c4f7d2d14d699e1239b19d875b))
- properly encode query as json into function_sources ([cc75ab4a](https://github.com/urbica/martin/commit/cc75ab4a8e68c8291b33badb80fd8065ea4476d7))
- handle x-rewrite-url header ([63c976e8](https://github.com/urbica/martin/commit/63c976e8b9a598783150f9ef957e926d20ccf825))
- handle tables with no properties ([d6aee81b](https://github.com/urbica/martin/commit/d6aee81b1bff47a7c3f46e4c26a07a2843a9c707))
- skip tables with SRID 0 ([241dda31](https://github.com/urbica/martin/commit/241dda318453fb3bfc656793a1cef0fa6923114e))
- set default tile buffer to 64 ([612ecddb](https://github.com/urbica/martin/commit/612ecddb99f33420077dcd3f1ca0ac9666e741b6))
- revert to plain columns in tile properties request ([ea8f7aba](https://github.com/urbica/martin/commit/ea8f7abaadfd79d407a88e301e85a7ea0cd4a37d))
- use json instead of jsonb for tile request ([e6a19773](https://github.com/urbica/martin/commit/e6a19773bf523950db006538c09fbcf05124006f))
- tileset property types query ([e81cd4bb](https://github.com/urbica/martin/commit/e81cd4bb98ed77761d646a4fb82cf90ac8855963))
- remove iron-cors ([0fe335f4](https://github.com/urbica/martin/commit/0fe335f417ef27b92c538190867ab54210ef7e3a))

#### Features

- generate function_sources from database ([63114a8a](https://github.com/urbica/martin/commit/63114a8a11e0d383e8b52f428a54d0e114b3ab9d))
- add function_sources tilejson endpoint ([95d92c51](https://github.com/urbica/martin/commit/95d92c51ed14bb98f8f149d08e9a61dc02212481))
- implement function sources ([241994a5](https://github.com/urbica/martin/commit/241994a57072c3fb9c7d4344502bd9a8b6be507e))
- split sources into table_sources and function_sources ([3c3d88b1](https://github.com/urbica/martin/commit/3c3d88b1849cadc92fde969441553820259b69af))
- add config support ([c55e61d2](https://github.com/urbica/martin/commit/c55e61d27f62f2d23c7c6af4512a1a2f32dad282))
- rewrite using actix ([0080deb9](https://github.com/urbica/martin/commit/0080deb92c8b14668ee0fe6d934a1de8e3627639))
- add MVT handler ([204b132a](https://github.com/urbica/martin/commit/204b132a2699d8d1b20a7b1cabefb4e8ef749d87))
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "martin"
version = "0.1.0"
version = "0.2.0"
authors = ["Stepan Kuzmin <to.stepan.kuzmin@gmail.com>"]

[dependencies]
Expand Down
6 changes: 6 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

cargo build --release
cd ./target/release
zip martin-darwin-x86_64.zip martin
shasum -a 256 martin-darwin-x86_64.zip
2 changes: 2 additions & 0 deletions src/function_source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ pub fn get_function_sources(conn: &PostgresConnection) -> Result<FunctionSources
let function: String = row.get("routine_name");
let id = format!("{}.{}", schema, function);

info!("{} function found", id);

let source = FunctionSource {
id: id.clone(),
schema,
Expand Down
2 changes: 2 additions & 0 deletions src/table_source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ pub fn get_table_sources(conn: &PostgresConnection) -> Result<TableSources, io::
let geometry_column: String = row.get("f_geometry_column");
let srid: i32 = row.get("srid");

info!("{} table found", id);

if srid == 0 {
warn!("{} has SRID 0, skipping", id);
continue;
Expand Down

0 comments on commit da1c4bb

Please sign in to comment.