From fc668d01f891ba8f806897711b6c576f9d98b036 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Wed, 12 Feb 2025 09:42:14 +0100 Subject: [PATCH] docs: Fix format id for gitea and gogs to match swh-loader-metadata https://gitlab.softwareheritage.org/swh/devel/swh-loader-metadata/-/blob/c2cdfd5c86d2783ce28c80f84df4930c2eba3cfc/swh/loader/metadata/gitea.py#L121-138 --- docs/extrinsic-metadata-specification.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/extrinsic-metadata-specification.rst b/docs/extrinsic-metadata-specification.rst index 38578582a..6d44b40cb 100644 --- a/docs/extrinsic-metadata-specification.rst +++ b/docs/extrinsic-metadata-specification.rst @@ -278,10 +278,10 @@ Here is a list of all the metadata format stored: ``gitlab-project-json`` The metadata is the response of an API call to `Gitlab's /api/v4/projects/:id <https://docs.gitlab.com/ee/api/projects.html#get-single-project>`_ endpoint. -``gitea-project-json`` +``gitea-repository-json`` The metadata is the response of an API call to `Gitea's /api/v1/repos/{owner}/{repo} <https://gittea.dev/api/swagger#/repository/repoGet>`_ endpoint. -``gogs-project-json`` +``gogs-repository-json`` The metadata is the response of an API call to `Gogs's /api/v1/repos/:owner/:repo <https://github.com/gogs/docs-api/tree/master/Repositories#get>`_ endpoint. ``pypi-project-json`` -- GitLab