Date:2011-07-23 16:45:24 (7 years 10 months ago)
Author:Werner Almesberger
Commit:326cd339672dc352d6638efe90fedd9cd22754ae
Message:qpkg/: committed some old changes (non-functional)

- TODO: various updates
- pkg.h (enum relop): marked rel_lt as deprecated
- prereq.c (resolve): instrumentation for chasing a dependencies bug
Files: qpkg/TODO (3 diffs)
qpkg/pkg.h (1 diff)
qpkg/prereq.c (1 diff)

Change Details

qpkg/TODO
11Open policy decisions
22=====================
33
4http://www.debian.org/doc/debian-policy/ch-controlfields.html#s5.6.10
5
46- what to do about cyclic dependencies ?
57
8  Update: addressed in
9  http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps
10
611  A cyclic dependency can be bad new or something perfectly normal,
712  depending on how we define the semantics of package A depending on
813  package B, and what policy we adopt with respect to the existence of
...... 
5055
5156- what to do if we need something that's "provided" ?
5257
58  Update: "Provides" is described here, but without answering the above
59  question:
60  http://www.debian.org/doc/debian-policy/ch-relationships.html#s-virtual
61
5362  When determining prerequisites, we may encounter a dependency on an item
54  that only appears in the Provides: field of a package but it not an
63  that only appears in the Provides: field of a package but is not an
5564  installable package itself.
5665
5766  Should we
...... 
105114Still left to do
106115================
107116
117- make comp_versions work according to
118  http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version
119
108120- consider reducing the size of the lists of conflicts, e.g., by making
109121  them unique via a red-black tree
110122
qpkg/pkg.h
3131    rel_eq, /* = */
3232    rel_ge, /* >= */
3333    rel_gg, /* >> */
34    rel_lt, /* < */
34    rel_lt, /* < DEPRECATED */
3535    rel_le, /* <= */
3636    rel_ll, /* << */
3737};
qpkg/prereq.c
239239     * tracking of package state for ordering the dependencies and for
240240     * "Provides" anyway.
241241     */
242
243#if 1
244    while (next_deps) {
245        assert(top->pkg->flags & QPKG_ADDING);
246        top->pkg->flags &= ~QPKG_ADDING;
247        top = top->next;
248        next_deps = next_deps->next;
249    }
250#endif
242251}
243252
244253

Archive Download the corresponding diff file

Branches:
master



interactive