mirror of
https://github.com/release-engineering/repo-autoindex.git
synced 2025-02-23 05:32:56 +00:00
Generate static HTML indexes of various repository types
![]() Directories are generally expected to be listed first in directory indexes. That was already working for yum and file repos, but wasn't the case for kickstart repos due to their combination of different types of content. This commit applies a consistent sorting so that directories will always come first, and entries will otherwise be sorted by name, for all repo types. |
||
---|---|---|
.github | ||
docs | ||
repo_autoindex | ||
tests | ||
.gitignore | ||
.pre-commit-config.yaml | ||
bandit.yaml | ||
LICENSE | ||
poetry.lock | ||
pyproject.toml | ||
README.md | ||
tox.ini |
repo-autoindex
Generate static HTML indexes of various repository types
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.2.0 - 2023-09-22
- Support streamed fetching to reduce memory usage when fetching large files.
v1.1.2 - 2023-09-18
- Add
py.typed
to make package PEP 561 compliant / enable downstream type-checking.
v1.1.1 - 2023-04-12
- Fix handling of kickstart repositories with no checksums in treeinfo.
v1.1.0 - 2023-04-04
- Added limited support for kickstart repositories.
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.