cb261b0994
In certain scenarios, mirror components (e.g. trusty-security) are present in both packetary configuration input, and in target system's apt source definitions, but contain no packages of interest. For such repository/requirements combinations, packetary currently skips creating metadata (Release, Packages) for those components, which leads to the partial mirror missing some critical files for apt, (an empty file would be enough). e.g.: Using packetary to create a partial Ubuntu mirror, then trying to build a bootstrap image from the new mirror leads to: W: Failed to fetch http://127.0.0.1:8080/mirrors/ubuntu/dists/\ trusty-security/multiverse/binary-amd64/Packages 404 Closes-bug: 1638631 Change-Id: I850b43d5b4d8742d99e9a5702cc9ad4de881a401 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> |
||
---|---|---|
doc | ||
packetary | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MAINTAINERS | ||
MANIFEST.in | ||
README.rst | ||
babel.cfg | ||
openstack-common.conf | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
setup_hooks.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Repository structure
debian Specs for DEB packages.
doc Documentation for packetary module.
packetary Package provides object model and API for dealing with deb and rpm repositories. One can use this framework to implement operations like building repository from a set of packages, clone repository, find package dependencies, mix repositories, pull out a subset of packages into a separate repository, etc.
Features:
- Common interface for different package-managers.
- Utility to build dependency graph for package(s).
- Utility to create mirror of repository according to dependency graph.
specs Specs for RPM packages.