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

Fix outdated links to tiny-skia #134

Merged
merged 3 commits into from
Nov 28, 2024
Merged

Conversation

dominikh
Copy link
Contributor

This updates all links to tiny-skia from RazrFalcon to linebender. The changes to links to GitHub Pages are necessary, as the current links are 404. All other changes are optional and only avoid relying on redirections.

This PR is split into three commits:

  • the necessary updates
  • updates to redirecting links that aren't in the changelog
  • updates to redirecting links that are in the changelog

I'm unsure about updating the links that redirect, and very unsure about changing the changelog. We can drop any of those two commits if we want to.

It would seem that GitHub Pages don't automatically get redirected after
a repository moves to a new owner.
All of the links changed here were still working thanks to redirects on
GitHub's end. This change is just a clean-up.

We don't touch links in the changelog in this change.
This updates the links to tiny-skia in the changelog.

All of the links changed here were still working thanks to redirects on
GitHub's end. This change is just a clean-up.
Copy link
Member

@DJMcNab DJMcNab left a comment

Choose a reason for hiding this comment

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

Thanks!

@@ -6,7 +6,7 @@ edition = "2018"
description = "A tiny-skia Bezier path implementation"
documentation = "https://docs.rs/tiny-skia-path/"
readme = "README.md"
repository = "https://github.com/RazrFalcon/tiny-skia/tree/master/path"
repository = "https://github.com/linebender/tiny-skia/tree/master/path"
Copy link
Member

Choose a reason for hiding this comment

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

I think this should be:

Suggested change
repository = "https://github.com/linebender/tiny-skia/tree/master/path"
repository = "https://github.com/linebender/tiny-skia"

The docs (https://doc.rust-lang.org/cargo/reference/manifest.html#the-repository-field) are a bit underspecified

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure, either. But as is, the "Repository" link on https://crates.io/crates/tiny-skia-path is more useful IMO.

Copy link
Member

Choose a reason for hiding this comment

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

Hmm, should this not at least have been changed to /main/?

Incidentally, the advantage of repository as documented is that it's the URL you'd use if you wanted to add a git dependency on the project.
A quick check:

  • tracing uses the top-level repository
  • serde uses the top-level repository
  • Vello uses the top-level repository
  • Naga uses the GitHub specific path

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmm, should this not at least have been changed to /main/?

Probably, yeah. GitHub does redirect it, though, so it'll be just another cleanup.

I'll defer to actual Rust users on crate metadata, but I'm inclined to agree with you.

@dominikh dominikh merged commit cd83264 into linebender:main Nov 28, 2024
3 checks passed
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