]> source.dussan.org Git - gitea.git/commit
Fix links in PyPI Simple Repository API page (#30594) (#30612)
authorGiteabot <teabot@gitea.io>
Sat, 20 Apr 2024 03:46:26 +0000 (11:46 +0800)
committerGitHub <noreply@github.com>
Sat, 20 Apr 2024 03:46:26 +0000 (03:46 +0000)
commitb4e1874a8780260736db0a8c52e8226929440447
tree5170000bab1fd0bae0a92cea5265ee26d26f409d
parent60f049318dd45181c64919e45feb1a82e00822bd
Fix links in PyPI Simple Repository API page (#30594) (#30612)

Backport #30594 by wxiaoguang

Thanks to @Zottelchen for looking into problem and proposing the fix.

Ref: https://github.com/astral-sh/uv/issues/3017 ,
https://peps.python.org/pep-0503/

This PR's change is from Zottelchen's work.

And I by the way rename the `$p` to `$pd` because `p` is used as
"package" in code, while `pd` is used as "package description".

----

Co-authored-by: Zottelchen
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
templates/api/packages/pypi/simple.tmpl
tests/integration/api_packages_pypi_test.go