summaryrefslogtreecommitdiffstats
path: root/TODO
blob: e54ffa7ce72109e0720c66dc2ab4600b846ac557 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46

See issue list: http://code.google.com/p/opkg/issues/list


 * Regression test suite.

 * Fix comments marked "XXX".

 * Clean up out of date comments.

 * Consistent indentation.

 * Propagate errors up the call stack. In particular, unarchive.c fails to do
   this. Errors and error messages must be usable by libopkg frontends.
   Don't try to use errno after its been clobbered by other libc calls.

 * Remove dead and duplicate code. Refactor duplicated functionality.

 * Reduce memory used per pkg_t and peak memory use in general.

 * Refactor opkg_conf_t *conf.
   Make it global instead of passing it to every function.
   Remove args_t args in favour of conf.

 * #includes are a mess.

 * Refactor opkg_install_pkg() into more precise functions.

 * pkg_hash_fetch_best_installation_candidate() is linear search O(P*PN)
   and is slow (frequently called).
      P provider
      PN pkgs in a provider
   It can be O(P) if a hash table is used.

 * Update libbb.



FEATURES

 * Start with all "XXX: FEATURE" comments. Remove them if they are bogus.

 * Implement chrooting to an offline_root for running maintainer scripts.

 * Improve dpkg compatibility, according to the Debian Policy Manual.
   http://www.debian.org/doc/debian-policy/ch-controlfields.html