2007-01-30 02:35:51 -05:00
|
|
|
TODO.dan
|
2007-02-07 17:08:37 -05:00
|
|
|
========
|
|
|
|
|
|
|
|
This is my personal TODO list. No guarantees if it is out of date and things no
|
|
|
|
longer apply. If you want to help out with any of it, send me an email.
|
|
|
|
|
2007-02-21 03:16:26 -05:00
|
|
|
Only vaguely related to pacman:
|
|
|
|
-------------------------------
|
2007-02-07 17:08:37 -05:00
|
|
|
|
|
|
|
Port the libdownload (libfetch) manpage from BSD style to Linux style, or at
|
|
|
|
very least change references to BSD.
|
|
|
|
|
2007-02-21 03:16:26 -05:00
|
|
|
|
2007-02-07 17:08:37 -05:00
|
|
|
Pacman 3.1:
|
2007-02-21 03:16:26 -05:00
|
|
|
-----------
|
|
|
|
|
|
|
|
Documentation- look into moving man page format to a more portable source
|
|
|
|
format to make translation easier to keep up-to-date (something like txt2tags,
|
|
|
|
docbook, asciidoc) This will need some research.
|
2007-02-07 17:08:37 -05:00
|
|
|
|
2007-02-21 03:16:26 -05:00
|
|
|
Update cache cleaning functionality - keep installed version, choose number to
|
|
|
|
keep, etc. Good python script in the forums that we should try to emulate.
|
2007-02-07 17:08:37 -05:00
|
|
|
|
|
|
|
Downgrade feature - allow users to see cached packages and downgrade to
|
|
|
|
(previous or any?) available options.
|
|
|
|
|
2007-03-20 15:16:17 -04:00
|
|
|
Installed size and download size in -Si/Qi output should scale with package
|
|
|
|
size- KB to MB to GB. We should also get consistancy of K/KB, M/MB, etc.
|
|
|
|
|
2007-02-07 17:08:37 -05:00
|
|
|
Extreme similarity between some of the sync and add code...we have to be able
|
|
|
|
to abstract more away from sync actions and add actions to just 'actions'
|
|
|
|
(example: sync,c, add.c, and deptest.c all contain a switch on PM_DEP_MOD_*).
|
|
|
|
Merge update, add, and sync code when possible, so we reduce duplication.
|
|
|
|
|
2007-02-21 03:16:26 -05:00
|
|
|
Review progress/transaction event subsystem. (from TODO)
|
2007-02-07 17:08:37 -05:00
|
|
|
|
|
|
|
Add Doxygen comments to every function in libalpm including private functions.
|
|
|
|
Ensure functions are doing exactly their purpose and nothing more. Find
|
|
|
|
functions that perform duplicate behavior and merge them. Combine and refactor
|
|
|
|
others. Delete unnecessary functions. Stop keeping everything clustered in
|
|
|
|
little add/sync/remove parts, allow transactions to share code.
|
|
|
|
|
|
|
|
Go through options list. Decide if namings are good, all options are still
|
|
|
|
relevant, etc. Ideas for -Re (#6273), changing meaning of -c (has two meanings,
|
2007-02-12 02:03:43 -05:00
|
|
|
another FS bug), etc. Remove the -A flag and possibly -D, -T, and -Y (-Y is
|
|
|
|
killed now in favor of vercmp binary) if they can be done by other actions.
|
|
|
|
Possible switch of -U --> -I (#5571).
|
2007-02-07 17:08:37 -05:00
|
|
|
|
|
|
|
Review display and logging functions. There seems to be an abundance of them.
|
|
|
|
Make it extensible to use color, review what verbose/debug means. Perhaps
|
|
|
|
separate logging functionality- Pacman has its normal log, and alpm backend
|
|
|
|
keeps a very simple log file - listing only adds (including syncs) and removes.
|
|
|
|
This way a consistency list can be kept of what is currently installed and what
|
|
|
|
isn't, without all the logging junk from the front end.
|
|
|
|
|
2007-02-11 20:08:35 -05:00
|
|
|
Profile the code. Find the functions that are being called a lot, and see what
|
|
|
|
can be done about it. Find out if all these calls are necessary (e.g. excessive
|
|
|
|
alpm_list_count calls), and maybe think about changing data structures to speed
|
2007-02-14 14:35:41 -05:00
|
|
|
operations up (e.g. a 'count' field). NOTE: already found two huge issues with
|
|
|
|
quick profiling- excessive setlocale calls, and extremely excessive strcmp
|
|
|
|
calls.
|
|
|
|
|
|
|
|
Localize the date display done in --info output. Also, fix other localized
|
|
|
|
issues- use non-printf when necessary, make sure all two line printed messages
|
2007-02-21 03:16:26 -05:00
|
|
|
(especially usage instructions) are printed using one print statement. We
|
|
|
|
may need to use some wchar_t output on the progress bar as char/byte counts
|
2007-03-13 17:05:01 -04:00
|
|
|
differ here. Sizes of packages (e.g. 10,400.23 MB) should all be localized with
|
|
|
|
correct seperators.
|
2007-02-11 20:08:35 -05:00
|
|
|
|
2007-02-17 00:06:13 -05:00
|
|
|
Rewrite makepkg to use terminal-safe coloring/bolding. tput utility should
|
2007-02-26 10:10:53 -05:00
|
|
|
allow us to do this. Make universal message functions for systemwide use,
|
|
|
|
including all pacman utilites- abs, pacman-optimize, etc.
|
2007-02-17 00:06:13 -05:00
|
|
|
|
2007-02-26 10:10:53 -05:00
|
|
|
Bugs/FRs to smash: 6468, 6437, 6430?, 6420, 6404, 6389, 6312?, 6284, 6273?,
|
|
|
|
6255?, 6208, 5987, 5885, 5571, 4182, 3492, 2810?, 1769, 1588, 1571
|
|
|
|
|
|
|
|
Update doxygen comments, they may need some work. Try to document all of the
|
|
|
|
private internal functions too- it helps a ton for people just getting a
|
|
|
|
start on pacman hacking.
|
2007-02-21 23:36:02 -05:00
|
|
|
|
2007-02-21 03:16:26 -05:00
|
|
|
Other smaller things:
|
|
|
|
---------------------
|
2007-02-07 17:08:37 -05:00
|
|
|
|
|
|
|
unsigned int vs. unsigned- determine a standard and stick with it
|
|
|
|
|
|
|
|
FS #4185 - move where message is logged, perhaps?
|
|
|
|
|
|
|
|
Update copyrights (2007)
|
|
|
|
|
|
|
|
Update pacman website, and add/finish pacman coding style page
|
|
|
|
|
|
|
|
autogen.sh / autoclean.sh - these seem messy. Can we clean this up?
|
|
|
|
|
2007-02-08 00:24:17 -05:00
|
|
|
Refine makepkg error codes. Each kind of failure could have its own code:
|
|
|
|
--package already built
|
|
|
|
--failed integ checks
|
|
|
|
--failed build
|
|
|
|
--etc.
|
2007-02-09 10:37:20 -05:00
|
|
|
|
|
|
|
Add utility function to either frontend or backend to convert sizes: e.g. bytes
|
|
|
|
to KB, MB, GB.
|
|
|
|
|
|
|
|
Revamp the downloadprog function a bit. Seems kind of messy.
|
|
|
|
|
|
|
|
Add localized pkgdesc variables to makepkg.
|
2007-02-17 00:06:13 -05:00
|
|
|
|
|
|
|
--print-uri option to sync should not require saying yes or no to up to date
|
|
|
|
|
2007-02-21 03:16:26 -05:00
|
|
|
Add testing scripts to pactest for issues we have been working on (especially
|
|
|
|
files moving between packages). Also, take a look at cleaning up the output and
|
|
|
|
structure of the pactest.py program itself.
|
2007-02-17 00:06:13 -05:00
|
|
|
|
2007-02-19 21:14:27 -05:00
|
|
|
Build a replacement for this, or at least standardize its use. We shouldn't
|
|
|
|
always need to pass handle->root around, it is constant. Something like char*
|
|
|
|
buildpath(file).
|
|
|
|
/* build the new entryname relative to handle->root */
|
|
|
|
snprintf(filename, PATH_MAX, "%s%s", handle->root, entryname);
|
|
|
|
|
2007-02-21 03:16:26 -05:00
|
|
|
Random ideas:
|
|
|
|
-------------
|
|
|
|
|
|
|
|
Possibly split utilities/extras from pacman package
|
|
|
|
|
|
|
|
Make .indent.pro file for GNU indent (started, but didn't finish)
|
|
|
|
|