Skip to content

Commit

Permalink
Add note on github pages repository structure
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Lezar <[email protected]>
  • Loading branch information
elezar committed Aug 1, 2024
1 parent 627b035 commit 02d9556
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions 404.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/`

0 comments on commit 02d9556

Please sign in to comment.