Root/qpkg/README

Source at commit 4797aed31346dc4c7fe76919736b5251a51bdbd0 created 12 years 8 months ago.
By Werner Almesberger, mm1rc3/: renamed to m1rc3/
1qpkg - Quick package database query
2===================================
3
4qpkg is a tool that reads package databases of the kind used by opkg
5in OE-derived Jlime (which are very similar to what dpkg and apt use)
6and that can answer a number of queries on them.
7
8While being able to perform some of the database operations commonly
9found in package managers, qpkg is not a package manager itself.
10However, it may be used to help a package manager do its work faster.
11
12
13Except for the files jrb.h and jrb.c, this work is distributed under
14the terms of the GNU GENERAL PUBLIC LICENSE, Version 2:
15
16  This program is free software; you can redistribute it and/or modify
17  it under the terms of the GNU General Public License as published by
18  the Free Software Foundation; either version 2 of the License, or
19  (at your option) any later version.
20
21For your convenience, a copy of the complete license has been included
22in the file COPYING.GPLv2.
23
24
25The implementation of red-black trees, in jrb.h and jrb.c, is
26distributed under the terms of the GNU Lesser General Public License,
27Version 2.1:
28
29  This library is free software; you can redistribute it and/or
30  modify it under the terms of the GNU Lesser General Public
31  License as published by the Free Software Foundation; either
32  version 2.1 of the License, or (at your option) any later version.
33
34For your convenience, the original copyright notice accompanying JRB
35and a copy of the license have been included in the files READNE.jrb
36and LICENSE.jrb, respectively.
37
38
39Objectives
40----------
41
42The original motivation for qpkg comes from the observation that opkg
43consumes inordinate amounts of memory when determining the
44prerequisites for installing a package on a given system, and the
45proof of concept implementation of a shell script wrapper by Rafael
46Zurita, that performs a large subset of the same task with much less
47overhead.
48
49qpkg thus aims to load and parse large package databases as quickly
50and memory-efficiently as possible, and to provide a number of query
51functions that operate on the data.
52
53A second objective is to provide a means to test the integrity of a
54package database, and to perform simple "what if" queries, e.g., to
55test which packages would become uninstallable if a package was to be
56removed or a conflict was to be introduced.
57
58This is to aid not only in general housekeeping of package databases,
59but also to assist in generating - at the package level - restricted
60distributions derived from a master distribution.
61

Archive Download this file

Branches:
master



interactive