libopkg: print error messages to stderr
[project/opkg-lede.git] / TODO
1
2 See issue list: http://code.google.com/p/opkg/issues/list
3
4
5 * Regression test suite.
6
7 * Fix comments marked "XXX".
8
9 * Clean up out of date comments.
10
11 * Consistent indentation.
12
13 * Propagate errors up the call stack. In particular, unarchive.c fails to do
14 this. Errors and error messages must be usable by libopkg frontends.
15 Don't try to use errno after its been clobbered by other libc calls.
16
17 * Remove dead and duplicate code. Refactor duplicated functionality.
18
19 * Remove pkg_info_preinstall_check().
20
21 * Reduce memory used per pkg_t and peak memory use in general.
22
23 * #includes are a mess.
24
25 * Refactor opkg_install_pkg() into more precise functions.
26
27 * pkg_hash_fetch_best_installation_candidate() is linear search O(P*PN)
28 and is slow (frequently called).
29 P provider
30 PN pkgs in a provider
31 It can be O(P) if a hash table is used.
32
33 * Update libbb.
34
35
36
37 FEATURES
38
39 * Start with all "XXX: FEATURE" comments. Remove them if they are bogus.
40
41 * Improve dpkg compatibility, according to the Debian Policy Manual.
42 http://www.debian.org/doc/debian-policy/ch-controlfields.html