From 1036c096a27bd162b30ec35449186016d8ab8a12 Mon Sep 17 00:00:00 2001 From: Ilyas Timour Date: Tue, 27 Jan 2026 16:56:44 +0100 Subject: [PATCH] Make relative links in the description field of core packaging metadata absolute MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #86461. Prior to this patch, the core packaging metadata contained relative contributing and license file URLs in its description field, which is sourced from the `README.md` file. These URLs are relative to the website location they're rendered in. On GitHub, they'd point to neighboring files in the repository but PyPI does not host them and this makes relative URLs point to addresses on PyPI that do not exist. The change updates the lin URLs to be absolute and point to the file views in the GitHub repository, which fixes #86460. Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9685e77748d..72e4c0636bf 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Build Status](https://dev.azure.com/ansible/ansible/_apis/build/status/CI?branchName=devel)](https://dev.azure.com/ansible/ansible/_build/latest?definitionId=20&branchName=devel) [![Ansible Code of Conduct](https://img.shields.io/badge/code%20of%20conduct-Ansible-silver.svg)](https://docs.ansible.com/ansible/devel/community/code_of_conduct.html) [![Ansible mailing lists](https://img.shields.io/badge/mailing%20lists-Ansible-orange.svg)](https://docs.ansible.com/ansible/devel/community/communication.html#mailing-list-information) -[![Repository License](https://img.shields.io/badge/license-GPL%20v3.0-brightgreen.svg)](COPYING) +[![Repository License](https://img.shields.io/badge/license-GPL%20v3.0-brightgreen.svg)][copying] [![Ansible CII Best Practices certification](https://bestpractices.coreinfrastructure.org/projects/2372/badge)](https://bestpractices.coreinfrastructure.org/projects/2372) # Ansible @@ -58,7 +58,7 @@ For more ways to get in touch, see [Communicating with the Ansible community](ht ## Contribute to Ansible -* Check out the [Contributor's Guide](./.github/CONTRIBUTING.md). +* Check out the [Contributor's Guide](https://github.com/ansible/ansible/blob/devel/.github/CONTRIBUTING.md). * Read [Community Information](https://docs.ansible.com/ansible/devel/community) for all kinds of ways to contribute to and interact with the project, including how to submit bug reports and code to Ansible. @@ -98,4 +98,6 @@ and has contributions from over 5000 users (and growing). Thanks everyone! GNU General Public License v3.0 or later -See [COPYING](COPYING) to see the full text. +See [COPYING] to see the full text. + +[copying]: https://github.com/ansible/ansible/blob/devel/COPYING