Fabio Erculiani 4825bcd522 [services] add portage-repository-converter
This tool aims to easily convert a Portage packages repository,
including attached overlays, to Entropy repository database format,
which is (currently, but well abstracted) SQLite3 based.
This is a very lowlevel tool that allows to use the EntropyRepositoryBase
API in order to search, match and retrieve metadata off snapshots of
Portage packages repository.

Usage is simple:

    $ portage-repository-converter sync <path to entropy database file>

If the Entropy database file already exists, a differential sync will
be executed between Portage and the database itself.
This would allow to keep your Entropy-based metadata up-to-date in
the following way:

    $ emerge --sync
    $ portage-repository-converter sync /tmp/portage.entropy.sqlite
    $ sleep <a few hours>
    $ emerge --sync
    # sync again
    $ portage-repository-converter sync /tmp/portage.entropy.sqlite

How to read metadata off /tmp/portage.entropy.sqlite ?
Using Python and Entropy API!

    >>> from entropy.client.interfaces import Client
    >>> client = Client()
    >>> repo = client.open_generic_repository("/tmp/portage.entropy.sqlite")
    >>> repo.atomMatch("sys-libs/db")
    >>> repo.searchPackages("something")
    >>> repo.close()
    >>> client.shutdown()

For more information regarding Entropy API, please visit:
http://www.sabayon.org/entropy/api/docs
2011-02-14 18:16:45 +01:00
2011-02-14 17:13:29 +01:00
2011-02-10 15:44:14 +01:00
2010-02-17 09:57:31 +01:00

Entropy Package Manager README file. This is a one-man crusade.
===============================================================

This section will be hopefully filled soon.
S
Description
No description provided
Readme 136 MiB
Languages
Python 98.8%
Shell 0.7%
Makefile 0.4%