-
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
Broken stac-spec links #114
Comments
So the problem with absolute links is keeping them up to date and properly pinned to the right STAC release. We don't want to just go to master since that may change. The submodule seemed to give us control and easy updates. Is it not working even when you've checked the sub-module out correctly? Or are you just saying that people shouldn't have to check out the sub-module to have links work right? |
The problem I'm seeing is with the README hosted on GitHub. Someone going to https://github.com/radiantearth/stac-api-spec and clicking on the link to one of those objects (e.g. the |
Fair point, and yeah, that seems less than ideal. I wonder if they used to work, as it seems like github has changed some of their links around recently. A PR to fix would be great, and then perhaps also file a ticket to spur us to get a robust way to update the links when we release. |
Actually, using a |
The advantages to this solution are that relative links would work and it continues with the pattern of embedding that spec within this one the same way that we currently do with I'm happy to put together a PR to see what this would look like if folks are interested, but using absolute links to the @m-mohr @matthewhanson @cholmes Curious what you all think would be best. |
@duckontheweb I think I'd be in favor of subtree than absolute links, if we can make it that PRs to the subtree get rejected/can't be merged or so. |
+1 on the subtree. To me that's ok even if we can't get automatic rejection of the PR's, since we'll soon turn on the requirement of 2 reviewers as we have in stac-spec. Reviewers would know that edits to stac-spec aren't supposed to be done here. |
@duckontheweb did your PR resolve this issue? |
Yes, you can close this. I'll also close #115, which is now no longer necessary. |
Great, thanks! |
Links to entities defined in the radiantearth/stac-spec repo are set up as relative links within the
stac-spec
folder. Since this is actually a submodule these links don't work as expected and should maybe be updated to be absolute URLs.I can work on a PR to fix this if it's not already underway.
The text was updated successfully, but these errors were encountered: