1 == This is my custom TODO file ==
3 * Make sure all the alpm_list_t changes are valid (especially alpm_list_free)
6 - There's quite a few single function headers which contain the pacman_*
7 functions. We should move these to a single header (pacman.h) to clean up
11 - move logging (alpm_logaction) out of the library. log files should be
12 written by the app, not the library. Adding a PM_LOG_* constant that
13 frontends can recognize and send to a file is probably a good idea.
14 - clear up list allocation/deallocation - some lists need to be free'd, some
15 do not and there is no clear indication WHEN this should happen.
16 - remove DB entries (directories) on a read error?
18 * pacman: A LOT of functions are way too long. There should be an upper limit of
19 100-200 lines. _alpm_add_commit is around 600 lines, and is far too complex.
21 Quite a lot of this needs to be refactored as we go.
22 Function list (from Dan McGee):
30 _alpm_db_find_conflicts
32 _alpm_pkg_load (getting a bit long)
36 _alpm_downloadfiles_forreal
38 _alpm_sync_sysupgrade (getting there)
42 * pacman: fixup doxygen documentation for public interface
45 * Removal of conflicts on -A and -U (INCOMPLETE)
46 * ordering of packages to be installed based on dependencies
47 i.e. pkga depends=(pkgb pkgc), pkgb depends=(pkgc)
48 pacman -S pkga pkgb pkgc
49 > a depends on b and c, move them: pkgb pkgc pkga
50 > b depends on c, move it: pkgc pkgb pkga
51 > pacman -S pkgc pkgb pkga
52 * gensync: get all info from packages instead of PKGBUILDs
53 for now, we only need to check the PKGBUILD in case of a
55 * pacman: add pactest cases/functionality for all -Q operations and make sure