-
Notifications
You must be signed in to change notification settings - Fork 47
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
Core as subtree #119
Core as subtree #119
Conversation
@cholmes @matthewhanson @m-mohr This a demo of what it would look like have
|
Also, looks like the failing tests are due to invalid links to the |
I'll fix the broken extension links and add a CI check so you all can review this properly. |
@cholmes @m-mohr @matthewhanson This is ready for review. I added an |
@@ -15,7 +15,8 @@ | |||
"check-openapi-item-search": "spectral lint item-search/openapi.yaml --ruleset .circleci/.spectral.yml", | |||
"check-openapi-fragments": "spectral lint fragments/*/openapi.yaml --ruleset .circleci/.spectral-fragments.yml", | |||
"build-openapi": ".circleci/build-openapi.sh", | |||
"publish-openapi": "node .circleci/publish.js" | |||
"publish-openapi": "node .circleci/publish.js", | |||
"check-stac-spec-changes": "git diff --quiet HEAD ${npm_config_compare_to} -- stac-spec" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is meant to be used by CI only, right? As I think this would fail on any other system (at least on Win), maybe just use that command directly in the CI without exposing it as npm script?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It can be run locally (I've been using it to test prior to putting in the PR to avoid unexpected CI failures). You just need to pass in the --compare-to
option manually when running it locally:
npm run check-stac-spec-changes --compare-to=master
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this would fail on any other system (at least on Win)
You may be right about Windows, I've only tested on Linux and MacOS.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not ideal, but probably the best solution that we can get right now. Thanks for doing it. Left one comment, otherwise lgtm.
Yeah, I totally agree, this feel really heavy-handed for such a simple problem. If a better solution comes along we should definitely take advantage. |
Related Issue(s):
#114
Proposed Changes:
stac-spec
agit subtree
instead of agit submodule
PR Checklist:
I have added my changes to the CHANGELOG ora CHANGELOG entry is not required.