Library and eponymous utility to manage the entire lifecycle of repositories
Go to file
Alexandru Avadanii 25b8673f84 packages_tree: exact match trumps other providers
Ubuntu frequently has multiple providers for the same package name,
e.g. "vim" is provided by "vim", "vim-gnome" etc.

We need to adjust the resolving algorithm to:
1. lookup in virtual packages
2. lookup in packages
3. lookup in obsoletes.
Use the package which was found last (version-sorted).

Closes-bug: 1656888

Change-Id: I7279aa6526ff9133829be2e316932c9b052c7814
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-01-26 19:00:00 +01:00
doc Add documentation for packetary 2016-08-03 13:22:38 +03:00
packetary packages_tree: exact match trumps other providers 2017-01-26 19:00:00 +01:00
.coveragerc [packetary] initial commit 2015-10-20 19:33:48 +00:00
.gitignore [packetary] initial commit 2015-10-20 19:33:48 +00:00
.gitreview Adjust .gitreview 2016-01-22 16:44:01 +03:00
.mailmap [packetary] initial commit 2015-10-20 19:33:48 +00:00
.testr.conf [packetary] initial commit 2015-10-20 19:33:48 +00:00
CONTRIBUTING.rst [packetary] initial commit 2015-10-20 19:33:48 +00:00
HACKING.rst [packetary] initial commit 2015-10-20 19:33:48 +00:00
LICENSE Initial commit 2015-04-02 19:05:52 +03:00
MAINTAINERS Drop files are not related to packetary 2015-12-24 13:00:48 +03:00
MANIFEST.in [packetary] initial commit 2015-10-20 19:33:48 +00:00
README.rst Drop files are not related to packetary 2015-12-24 13:00:48 +03:00
babel.cfg [packetary] initial commit 2015-10-20 19:33:48 +00:00
openstack-common.conf [packetary] initial commit 2015-10-20 19:33:48 +00:00
requirements.txt Align to global requirements 2016-05-19 13:18:05 +03:00
setup.cfg Added packaging driver to build RPM by using mock 2016-07-05 16:49:06 +03:00
setup.py Fixed retrieve groups.xml on merge repositories 2016-03-01 15:51:08 +03:00
setup_hooks.py Update file-headers 2015-12-29 12:08:39 +03:00
test-requirements.txt Align to global requirements 2016-05-19 13:18:05 +03:00
tox.ini Add package filtering feature 2016-02-20 07:00:52 +03:00

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.