Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beta.1 refinement #80

Merged
merged 21 commits into from
Dec 8, 2020
Merged

Beta.1 refinement #80

merged 21 commits into from
Dec 8, 2020

Conversation

cholmes
Copy link
Collaborator

@cholmes cholmes commented Dec 4, 2020

Related Issue(s): #83 #76 #39

Proposed Changes:

  1. Various clean up of markdown to reflect the new structure
  2. Added changelog
  3. Updated info on working with openapi (mostly said we don't have tools to do help yet)
  4. added pull request info (copied from stac-spec)
  5. modified pull request template

PR Checklist:

  • This PR is made against the dev branch (all proposed changes except releases should be against dev, not master).
  • This PR has no breaking changes.
  • I have added my changes to the CHANGELOG or a CHANGELOG entry is not required.
  • OpenAPI files only: I have run npm run generate-all to update the generated OpenAPI files.

@cholmes
Copy link
Collaborator Author

cholmes commented Dec 4, 2020

Up next: extensions.md

@m-mohr m-mohr linked an issue Dec 7, 2020 that may be closed by this pull request
@cholmes cholmes marked this pull request as ready for review December 8, 2020 01:03
@cholmes
Copy link
Collaborator Author

cholmes commented Dec 8, 2020

Ok, I think this is ready for review. Should hopefully be the last major merge in. I was using it for a number of little improvements. I'll try to do another review tonight of everything, but may not get to it. But would be great to review what's here and get it merged.

CONTRIBUTING.md Outdated Show resolved Hide resolved
contained within several YAML files in the various directories. These live in the same place as the markdown defining
various parts of the specification. Currently we expect developers to be up to speed with
OpenAPI and using their own tools to modify things. In the future we will provide tools to make it easier to work with.
We do publish full OpenAPI files online, at TODO: Matt to add final location.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's a ToDo. What sub-domain do we agree on? We also need to change all the Conformance URIs accordingly.

README.md Outdated Show resolved Hide resolved
extensions.md Outdated Show resolved Hide resolved
overview.md Outdated Show resolved Hide resolved
overview.md Show resolved Hide resolved
sections below.The core STAC conformance classes communicate the conformance JSON only in the root (`/`) document, while OGC API
requires they also live at the `/conformance` endpoint.
sections below. The core STAC conformance classes communicate the conformance JSON only in the root (`/`) document, while OGC API
requires they also live at the `/conformance` endpoint. STAC's conformance structure is detailed in the [core](core/).

**NOTE:** *By 1.0.0 we aim to have requirements classes specified in detail, as testable assertions,
like OGC does, but for now the core reference is just this spec document and the OpenAPI yaml. We also desire to have the
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't Matt's PR #86 already publishing the OpenAPIs to the conformance class URIs? At least that's what I hope it does. It doesn't make sense to have them at two places.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, by 'conformance structure' I just meant the full description of STAC's conformsTo JSON construct. I'll reword here.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a misunderstanding, I was referring to:

We also desire to have the URI's for conformance to actually resolve to machine-readable information clients can use.

I thought that is what Matt is working on?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, gotcha - I was looking at the green highlight.

We also desire to have the URI's for conformance to actually resolve to machine-readable information clients can use.

I thought that is what Matt is working on?

I thought he was just publishing html versions online. Not sure if he was trying to make them so they'd be the same location and resolve. I was considering that out of scope for this release, but I'm not opposed to it.

Copy link
Collaborator

@m-mohr m-mohr Dec 8, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not fully understood your conclusion yesterday (non-native speaker issues ;-) ), but I think we should publish the OpenAPIs and HTML versions... And for the HTML versions you usually need the OpenAPIs. But anyway, it doesn't matter here to what it resolves, it would resolve to something and give you the information anyway. cc @matthewhanson

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah. My conclusion was we should just have the OpenAPI's in github, and publish the HTML directly off of those. But I don't feel strongly.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm publishing the yaml files to gh-pages in this repo.
Then we can use ReDoc to point to any of them to create an html version, like in here: https://github.com/radiantearth/stac-site/blob/master/STAC-api.html

cholmes and others added 3 commits December 8, 2020 08:52
@matthewhanson matthewhanson merged commit dd10051 into master Dec 8, 2020
@m-mohr m-mohr deleted the beta.1-refinement branch December 8, 2020 20:45
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.

context extension vs numberMatched and numberReturned from OGC API
3 participants