Skip to content

Conversation

@kzu
Copy link
Member

@kzu kzu commented Oct 16, 2025

This allows permalinks at pack time by turning non-absolute URLs to repository-relative blob+commit URLs.

We don't use the branch/tag since that isn't necessarily permanent. Since the repository metadata for the package is immutable, we map the URL to an equally immutable full path URL.

Fixes #641

This allows permalinks at pack time by turning non-absolute URLs to repository-relative blob+commit URLs.

We don't use the branch/tag since that isn't necessarily permanent. Since the repository metadata for the package is immutable, we map the URL to an equally immutable full path URL.

Fixes #641
@kzu kzu added the enhancement New feature or request label Oct 16, 2025
@kzu kzu enabled auto-merge (rebase) October 16, 2025 03:40
@kzu
Copy link
Member Author

kzu commented Oct 16, 2025

301 passed 301 passed 1 skipped

🧪 Details on Microsoft Windows 10.0.26100

from dotnet-retest v1.0.0 on .NET 9.0.9 with 💜 by @devlooped

@kzu kzu merged commit b79b0d3 into main Oct 16, 2025
5 checks passed
@kzu kzu deleted the dev/relativeurls branch October 16, 2025 03:49
@devlooped devlooped locked and limited conversation to collaborators Nov 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for repository url relative URLs in readme

2 participants