Skip to content

Commit

Permalink
Version updated from 0.4.0 to 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault committed Jan 9, 2024
1 parent b8b57fa commit 2bc22dc
Show file tree
Hide file tree
Showing 6 changed files with 88 additions and 78 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## [Unreleased](https://github.com/crim-ca/stac-populator) (latest)

<!-- insert list items of new changes here -->

## [0.5.0](https://github.com/crim-ca/stac-populator/tree/0.5.0) (2024-01-09)


* Refactor CMIP6 implementation using distinct classes to define THREDDS helper utilities and the CMIP6 STAC Extension
using the same implementation strategy as other [`pystac`](https://github.com/stac-utils/pystac) extensions.
* Add additional CMIP6 STAC Extension definitions to support STAC Collections, Items and Assets properties validation.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ MAKEFILE_NAME := $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))
-include Makefile.config
APP_ROOT := $(abspath $(lastword $(MAKEFILE_NAME))/..)
APP_NAME := STACpopulator
APP_VERSION ?= 0.4.0
APP_VERSION ?= 0.5.0

DOCKER_COMPOSE_FILES := -f "$(APP_ROOT)/docker/docker-compose.yml"
DOCKER_TAG := ghcr.io/crim-ca/stac-populator:$(APP_VERSION)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# STAC Catalog Populator

![Latest Version](https://img.shields.io/badge/latest%20version-0.4.0-blue?logo=github)
![Commits Since Latest](https://img.shields.io/github/commits-since/crim-ca/stac-populator/0.4.0.svg?logo=github)
![Latest Version](https://img.shields.io/badge/latest%20version-0.5.0-blue?logo=github)
![Commits Since Latest](https://img.shields.io/github/commits-since/crim-ca/stac-populator/0.5.0.svg?logo=github)
![GitHub License](https://img.shields.io/github/license/crim-ca/stac-populator)

This repository contains a framework [STACpopulator](STACpopulator)
Expand Down Expand Up @@ -65,7 +65,7 @@ You can also employ the pre-built Docker, which can be called as follows,
where `[command]` corresponds to any of the above example operations.

```shell
docker run -ti ghcr.io/crim-ca/stac-populator:0.4.0 [command]
docker run -ti ghcr.io/crim-ca/stac-populator:0.5.0 [command]
```

*Note*: <br>
Expand Down
2 changes: 1 addition & 1 deletion STACpopulator/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.4.0"
__version__ = "0.5.0"
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ LABEL description.short="STAC Populator"
LABEL description.long="Utility to populate STAC Catalog, Collections and Items from various dataset/catalog sources."
LABEL maintainer="Francis Charette-Migneault <[email protected]>"
LABEL vendor="CRIM"
LABEL version="0.4.0"
LABEL version="0.5.0"

# setup paths
ENV APP_DIR=/opt/local/src/stac-populator
Expand Down
149 changes: 77 additions & 72 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[tool]
[tool.setuptools.packages.find]
include = ["STACpopulator*"]
exclude = [
Expand All @@ -17,77 +18,6 @@ exclude = [
[tool.setuptools.package-data]
STACpopulator = ["**/collection_config.yml"]

[project]
name = "STACpopulator"
version = "0.4.0"
description = "Utility to populate STAC Catalog, Collections and Items from various dataset/catalog sources."
requires-python = ">=3.10"
dependencies = [
"colorlog",
"pyyaml",
"siphon",
"pystac",
"xncml>=0.3.1", # python 3.12 support
"pydantic>=2",
"pyessv",
"requests",
"lxml",
]
readme = "README.md"
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"Topic :: Database :: Database Engines/Servers",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator",
"Topic :: Utilities",
]
authors = [
{ name = "Francis Charette-Migneault", email = "[email protected]" },
{ name = "Deepak Chandan", email = "[email protected]" },
{ name = "David Huard", email = "[email protected]" },
]
maintainers = [
{ name = "Francis Charette-Migneault", email = "[email protected]" },
{ name = "Deepak Chandan", email = "[email protected]" },
{ name = "David Huard", email = "[email protected]" },
]
keywords = [
"STAC",
"SpatioTemporal Asset Catalog",
"Data Ingestion",
"THREDDS",
"CMIP6"
]

[project.scripts]
stac-populator = "STACpopulator.cli:main"

[project.urls]
Repository = "https://github.com/crim-ca/stac-populator"
Changelog = "https://github.com/crim-ca/stac-populator/blob/master/CHANGES.md"

[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"coverage",
"responses",
"bump-my-version",
"jsonschema",
"pystac[validation]>=1.9.0"
]

[tool.pytest.ini_options]
norecursedirs = [
Expand All @@ -112,14 +42,16 @@ markers = [
"online"
]


[tool.coverage.html]
directory = "reports/coverage/html"

[tool.coverage.xml]
output = "reports/coverage.xml"


[tool.bumpversion]
current_version = "0.4.0"
current_version = "0.5.0"
commit = true
commit_args = "--no-verify"
tag = true
Expand Down Expand Up @@ -165,3 +97,76 @@ filename = "pyproject.toml"
regex = true
search = "^name = \"STACpopulator\"\nversion = \"{current_version}\"$"
replace = "name = \"STACpopulator\"\nversion = \"{new_version}\""

[project]
name = "STACpopulator"
version = "0.5.0"
description = "Utility to populate STAC Catalog, Collections and Items from various dataset/catalog sources."
requires-python = ">=3.10"
dependencies = [
"colorlog",
"pyyaml",
"siphon",
"pystac",
"xncml>=0.3.1", # python 3.12 support
"pydantic>=2",
"pyessv",
"requests",
"lxml",
]
readme = "README.md"
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"Topic :: Database :: Database Engines/Servers",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator",
"Topic :: Utilities",
]
authors = [
{ name = "Francis Charette-Migneault", email = "[email protected]" },
{ name = "Deepak Chandan", email = "[email protected]" },
{ name = "David Huard", email = "[email protected]" },
]
maintainers = [
{ name = "Francis Charette-Migneault", email = "[email protected]" },
{ name = "Deepak Chandan", email = "[email protected]" },
{ name = "David Huard", email = "[email protected]" },
]
keywords = [
"STAC",
"SpatioTemporal Asset Catalog",
"Data Ingestion",
"THREDDS",
"CMIP6"
]

[project.scripts]
stac-populator = "STACpopulator.cli:main"

[project.urls]
Repository = "https://github.com/crim-ca/stac-populator"
Changelog = "https://github.com/crim-ca/stac-populator/blob/master/CHANGES.md"

[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"coverage",
"responses",
"bump-my-version",
"jsonschema",
"pystac[validation]>=1.9.0"
]

0 comments on commit 2bc22dc

Please sign in to comment.