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

Place source dist readmes next to Cargo.toml #2184

Merged
merged 3 commits into from
Aug 21, 2024
Merged

Conversation

konstin
Copy link
Member

@konstin konstin commented Aug 19, 2024

package.readme may point to any point above the package, so when we move the directory, but keep the readme position, we could get different readme files at the same archive location. To solves this, we rewrite Cargo.toml to find the readme in the same directory and add the readme to this directory.

Fixes #2154

@konstin konstin added the bug Something isn't working label Aug 19, 2024
Copy link

netlify bot commented Aug 19, 2024

Deploy Preview for maturin-guide ready!

Name Link
🔨 Latest commit 1027877
🔍 Latest deploy log https://app.netlify.com/sites/maturin-guide/deploys/66c3dae5db7932000879c72c
😎 Deploy Preview https://deploy-preview-2184--maturin-guide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Aug 19, 2024

Deploy Preview for maturin-guide ready!

Name Link
🔨 Latest commit 0592bd9
🔍 Latest deploy log https://app.netlify.com/sites/maturin-guide/deploys/66c65de42e53e10008d35d6a
😎 Deploy Preview https://deploy-preview-2184--maturin-guide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@konstin konstin force-pushed the konsti/fix-readme-position branch 2 times, most recently from 0b9360a to 91d13dc Compare August 21, 2024 20:05
@konstin konstin marked this pull request as ready for review August 21, 2024 20:10
Place source dist readmes next to Cargo.toml

`package.readme` may point to any point above the package, so when we move the directory, but keep the readme position, we could get different readme files at the same archive location. To solves this, we rewrite `Cargo.toml` to find the readme in the same directory and add the readme to this directory.
@konstin konstin merged commit a748407 into main Aug 21, 2024
20 of 22 checks passed
@konstin konstin deleted the konsti/fix-readme-position branch August 21, 2024 21:45
@konstin konstin mentioned this pull request Aug 21, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue with README building sdist
1 participant