Generate static HTML indexes of various repository types
Find a file
Caleigh Runge-Hottman b284ddbd9f Generate kickstart repo index [RHELDST-14528]
Due to the presence of a "repodata/repomd.xml" path in a kickstart
repo, repo-autoindex previously interpreted kickstart repos as yum
repos. As such, a kickstart repo's index would solely consist of two
directories: "Packages" and "repodata".

While a kickstart repo does contain a yum repo, kickstart repos also
contain two additional repo entry points: treeinfo and extra_files.json.
Each entry point references additional files that should be included
in a kickstart repo's index. These files were previously ignored.

Now, when repo-autoindex encounters a kickstart repo, repo-autoindex
produces a repo index that reflects the content referenced in all
three repo entry points (repomd.xml, treeinfo, extra_files.json).
2023-03-31 17:53:57 -04:00
.github/workflows Drop redundant pypi release workflow 2022-08-15 09:38:23 +10:00
docs Generate kickstart repo index [RHELDST-14528] 2023-03-31 17:53:57 -04:00
repo_autoindex Generate kickstart repo index [RHELDST-14528] 2023-03-31 17:53:57 -04:00
tests Generate kickstart repo index [RHELDST-14528] 2023-03-31 17:53:57 -04:00
.gitignore Initial implementation 2022-06-17 10:31:31 +10:00
.pre-commit-config.yaml Add some basic tests & CI setup 2022-06-29 15:52:00 +10:00
bandit.yaml Integrate bandit SAST tool with CI [RHELDST-14787] 2022-11-16 23:52:28 +08:00
LICENSE Initial commit 2022-06-17 10:00:43 +10:00
poetry.lock chore: scheduled poetry update 2023-02-26 20:24:12 +00:00
pyproject.toml Integrate safety dep scanner to CI [RHELDST-14788] 2022-11-18 20:32:42 +08:00
README.md Release 1.0.2 2022-10-21 09:00:36 +10:00
tox.ini Integrate safety dep scanner to CI [RHELDST-14788] 2022-11-18 20:32:42 +08:00

repo-autoindex

Generate static HTML indexes of various repository types

Build Status Coverage Docs PyPI

Overview

repo-autoindex provides a minimal CLI and Python library to generate static HTML indexes for certain types of content, such as yum repositories.

pip install repo-autoindex
REPO_URL=$(curl -s 'https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f36&arch=x86_64' | egrep '^http' | head -n1)
repo-autoindex $REPO_URL
xdg-open index.html

See the manual for more information about the usage of repo-autoindex.

Changelog

v1.0.2 - 2022-10-21

  • Reduced memory usage when handling large yum repositories.

v1.0.1 - 2022-08-15

  • Use correct SPDX license identifier in package metadata.

v1.0.0 - 2022-08-15

  • Initial stable release.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.