Skip to content

Conversation

lossyrob
Copy link
Member

This merges develop to master in preparation for the 0.4.0 release.

This includes changes from the 0.3.4 release as I mistakenly went directly from develop to the 0.3 branch in that release.

darrenwiens and others added 30 commits February 6, 2020 17:18
Also changed the migrate test to consider all examples, not just ones
that are of a previous STAC version.
Fixed issue with reading ItemCollections directly.
In STAC 0.9.0 there is a heavier use of remote schemas; this slowed
down the jsonschema validation over larger catalogs. These changes
help speed things up by caching all requiured remote schemas and
passing them to the RefResolver, so that the remote schemas listed in
"schemas" and "aux_schemas" will only be read once.
The remote URL has a JSON error. This URL should be reverted once a
fix is in place on the main stac-spec repo.
Also, created a script to pull down examples from new STAC versions.

This commit breaks tests. These will be fixed in follow up commits.
From 0.9.0 CHANGELOG:
A description field has been added to Item assets (also Asset definitions extension)
From CHANGELOG for 0.9.0:
Several fields have been moved from extensions or item fields to the Common Metadata fields:
 eo:platform / sar:platform => platform
 eo:instrument / sar:instrument => instruments, also changed from string to array of strings
 eo:constellation / sar:constellation => constellation
From CHANGELOG for 0.9.0:
Moved angle definitions from extensions eo and new view extension
 eo:off_nadir -> view:off_nadir
 eo:azimuth -> view:azimuth
 eo:incidence_angle -> view:incidence_angle
 eo:sun_azimuth -> view:sun_azimuth
 eo:sun_elevation -> view:sun_elevation
Previously fully_resolve was on stac_object, which operated the same
for catalogs and items. Catalogs were not calling fully_resolve on
links that were previously resolved themselves, causing the recursive
resolution strategy to fail if links were previously resovled. Fixed
this exposed an issue where Item's full_resolve should not be
recursive - or else a situation occurs where trying to fully resolve
the item's collection from the item causes an infinite loop. This
fixes the issue by splitting the implementation of fully_resolve to
handle Catalogs and Items separately.
This test was previously adding an item that had invalid links; this
corrects the test to check for valid items.
Also some small cleanup changes related to the collection cache.
lossyrob and others added 29 commits July 8, 2020 14:54
Signed-off-by: Rob Emanuele <rdemanuele@gmail.com>
Remove hard-coded tmp directory from unit tests
Migrate the existing Travis CI testing workflow to GitHub Actions,
by achieving the following success criteria:

- Trigger linters, code formatters, and test suites on pull requests
- Ensure that the builds test against Python version 3.6-3.8
- Cache dependencies across builds
- Trigger PyPI releases of Python 3.x packages on tagged releases
- Add view extension if there are eo fields info that moved to view.
- Remove datetime-range extension in 0.9
Ensure that the CI workflow is triggered when changes are pushed to the
develop and master branches.

In addition, this scopes the GitHub Actions badge status to the develop
branch.
Add primary Git branches to CI workflow
Update README and documentation in prep for 0.4 release.
@lossyrob lossyrob merged commit 74bc9f3 into master Jul 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants