Move key size fixups from rpmdbAdd & Remove to td2key()
[platform/upstream/rpm.git] / TODO
1 Work-in-progress
2 ----------------
3 - fix the argv const-impedance all around
4 - unleash the const monsters from rpmdb/header* and deal with 'em
5 - audit the rest of the API for const sanity 
6
7 4.5 and beyond
8 --------------
9 Janitorial work:
10 - clean up old junk like workarounds of -95 era (g)libc bugs etc
11 - use glib/glibc (string manipulation, memory handling etc) facilities instead 
12   of internal versions from -95 era 
13 - audit and clean up user visible strings
14 - clean up the build process (auto*-stuff, compiler warnings)
15 - audit int_32 vs uint_32 etc sanity in the interfaces
16 - have "make check" do something useful (use James' test-harness?)
17 - use mkstemp() instead of mktemp() everywhere
18 - refactor those 800+ line monster functions into something more digestable
19 - review, update included README, INSTALL etc docs
20 - macroize hardcoded directories like docDirs 
21 - get rid of static "1024 entries is enough for everybody" buffers
22
23 General:
24 - bdb related improvements like add stale lock detection etc
25
26 API:
27 - proper separation of exported and private headers to clean up the API
28 - package verification API (instead of just printing out letters)
29 - proper package build API (python)
30 - proper separation of rpm-cli and lib functionality
31 - eliminate need for headerGetEntry() where it makes sense (eg changelogs)
32 - provide compat headers for renamed APIs and structures
33
34 Build:
35 - grammar for specfiles, rpm macros 
36 - support adding dep handlers per file type/class/extension without patching rpm
37
38 Python:
39 - audit error handling in bindings (eg ts.addInstall() does not report back
40   failures from rpmtsAddInstallElement())
41 - see if rpmdb can be made to look like pep-0249 
42