Skip to content
Closed

Dev #22

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ APP_PORT=8484
DB_USER=postgres
DB_PASSWORD=password
DB_HOST=localhost
DB_PORT=5432
DB_PORT=5433
DB_NAME=ogcapi

DATABASE_URL=postgresql://postgres:password@localhost:5432/ogcapi
DATABASE_URL=postgresql://postgres:password@localhost:5433/ogcapi

AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE
AWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
Expand Down
24 changes: 13 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@ name: CI

on:
push:
branches:
- main
pull_request:
branches:
- main

env:
CARGO_TERM_COLOR: always
Expand All @@ -17,17 +13,23 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Dependencies
run: sudo apt-get install -y build-essential pkg-config libclang-dev libgdal-dev

- name: Checkout
uses: actions/checkout@v4

- name: Setup
run: docker compose up db minio minio-mc -d

- name: Setup compose
run: docker-compose up -d
- name: Build
run: rustup update stable && rustup default stable && cargo build --workspace --all-targets

- name: Format
run: docker exec -i ogcapi cargo fmt --all -- --check
run: cargo fmt --all -- --check

- name: Clippy
run: docker exec -i ogcapi cargo clippy --workspace --all-features --tests -- -D warnings
run: cargo clippy --workspace --all-features --all-targets -- -D warnings

- name: Test
run: docker exec -i ogcapi cargo test --workspace --all-features
run: cargo test --workspace --all-features --all-targets
56 changes: 56 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Added

- This change log.
- Badges for `docs.rs` and `crates.io`.
- Categories and keywords.

### Changed

- Update dependencies.
- Use top level `README.md` for `ogcapi` crate.
- Rework features to represent modules and standards in an orthogonal fashion.
- Convert CLI to example crates.
- Align `OGCAPI - Processes` with released core standard.
- Refactor `processes`.

## [0.2.0] - 2024-05-19

### Added
* Propagated `stac` feature to `ogcapi-client` by [@metasim](https://github.com/metasim) in (#11).
* Updated client `README.md` to work with latest APIs by [@metasim](https://github.com/metasim) in (#12).
* Updated workspace manifests to use relative paths to sibling packages by [@metasim](https://github.com/metasim) in (#14).
* Swap println with log::debug. by [@metasim](https://github.com/metasim) in (#17).
* Changes for usage in tile-grid by [@pka](https://github.com/pka) in (#18).


### Changed
- Various additions and fixes for types
- Reworked database schema
- Updated dependencies

## [0.1.0] - 2022-08-05

### Added

- Types for various OGC API standards and the SpatioTemporal Asset Catalog (STAC) specification
- SpatioTemporal Asset Catalog (STAC) features
- Server & Client implementation
- Add async traits for drivers (data sources)
- GDAL and Geojson importer
- Proof of concept for STAC / OGC API - Features service
- License as MIT/Apache-2.0
- Basic CI


[unreleased]: https://github.com/georust/ogcapi/compare/v1.1.1...HEAD
[0.2.0]: https://github.com/georust/ogcapi/compare/v0.1.0...v0.2.0
[0.1.0]: https://github.com/georust/ogcapi/releases/tag/v0.1.0
Loading