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

Contributing updates #173

Merged
merged 2 commits into from
Aug 2, 2021
Merged

Conversation

philvarner
Copy link
Collaborator

Related Issue(s): #151

Proposed Changes:

  1. update contributing to reflect changes to core STAC and current practice.

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.
  • This PR does not make any changes to the core spec in the stac-spec directory (these are included as a subtree and should be updated directly in radiantearth/stac-spec)
  • I have added my changes to the CHANGELOG or a CHANGELOG entry is not required.

@philvarner philvarner changed the base branch from master to dev July 14, 2021 20:43
cholmes
cholmes previously approved these changes Jul 23, 2021
Copy link
Collaborator

@cholmes cholmes left a comment

Choose a reason for hiding this comment

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

Overall looks good, but I think the check stuff is a bit off, see my comment.

CONTRIBUTING.md Outdated
To install you'll need npm, which is a standard part of any [node.js installation](https://nodejs.org/en/download/).
Alternatively, you can also use [yarn](https://yarnpkg.com/) instead of npm. In this case replace all occurrences of
`npm` with `yarn` below.
The same check-markdown and check-examples programs that runs as a check on PR's is part of the repo and can be run locally.
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think 'check-examples' is part of the api spec repo? Running 'check' seems to use check-markdown and check-openapi. Should update this to explain what check-openapi does. Running it right now seems to raise some warnings, so we should probably try to fix those:

/Users/cholmes/Repos/stac-api-spec/fragments/filter/cql.yml
 16:9  warning  oas3-parameter-description  Parameter objects should have a `description`.  components.schemas.booleanValueExpression.oneOf[3]
/Users/cholmes/Repos/stac-api-spec/fragments/filter/openapi.yaml
  10:9  warning  operation-description  Operation `description` must be present and non-empty string.  paths./.get
  10:9  warning  operation-tags         Operation should have non-empty `tags` array.                  paths./.get
 29:11  warning  operation-tag-defined  Operation tags should be defined in global tags.               paths./queryables.get.tags[0]
  42:9  warning  operation-description  Operation `description` must be present and non-empty string.  paths./collections/{collectionId}.get
  42:9  warning  operation-tags         Operation should have non-empty `tags` array.                  paths./collections/{collectionId}.get
 74:11  warning  operation-tag-defined  Operation tags should be defined in global tags.               paths./collections/{collectionId}/queryables.get.tags[0]

@philvarner philvarner merged commit 5e79a1e into radiantearth:dev Aug 2, 2021
@philvarner philvarner deleted the contributing-updates branch August 2, 2021 14:35
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.

2 participants