From 02d9556e6140857d328a575ac682736f4297f788 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Thu, 1 Aug 2024 11:30:47 +0200 Subject: [PATCH] Add note on github pages repository structure Signed-off-by: Evan Lezar --- 404.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/404.md b/404.md index 473b0a31..510d8360 100644 --- a/404.md +++ b/404.md @@ -46,3 +46,20 @@ Most distributions that use RPM packages. These include: * `https://nvidia.github.io/libnvidia-container/stable/rpm` * `https://nvidia.github.io/libnvidia-container/experimental/rpm` + +## GitHub Pages repository structure + +The packages here are served from the [`gh-pages` branch](https://github.com/NVIDIA/libnvidia-container/tree/gh-pages/) of the +`github.com/NVIDIA/libnvidia-container` repository. The repository folder structure maps directly to the package manager URLs. + +For example, the repositories discused above can be found at: +* `stable/deb`: https://github.com/NVIDIA/libnvidia-container/tree/gh-pages/stable/deb +* `experimental/deb`: https://github.com/NVIDIA/libnvidia-container/tree/gh-pages/experimental/deb +* `stable/rpm`: https://github.com/NVIDIA/libnvidia-container/tree/gh-pages/stable/rpm +* `experimental/rpm`: https://github.com/NVIDIA/libnvidia-container/tree/gh-pages/experimental/rpm + +This also means that packages can be downloaded directly by appending the package filename to the following URLs: +* `https://raw.githubusercontent.com/NVIDIA/libnvidia-container/gh-pages/stable/deb/amd64/` +* `https://raw.githubusercontent.com/NVIDIA/libnvidia-container/gh-pages/experimental/deb/amd64/` +* `https://raw.githubusercontent.com/NVIDIA/libnvidia-container/gh-pages/stable/rpm/amd64/` +* `https://raw.githubusercontent.com/NVIDIA/libnvidia-container/gh-pages/experimental/rpm/amd64/`