Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/TODO.dan
diff options
context:
space:
mode:
Diffstat (limited to 'TODO.dan')
-rw-r--r--TODO.dan49
1 files changed, 4 insertions, 45 deletions
diff --git a/TODO.dan b/TODO.dan
index 70e08295..a6c33682 100644
--- a/TODO.dan
+++ b/TODO.dan
@@ -4,23 +4,9 @@ TODO.dan
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.
-Only vaguely related to pacman:
--------------------------------
-
-Port the libdownload (libfetch) manpage from BSD style to Linux style, or at
-very least change references to BSD.
-
-
Pacman 3.1:
-----------
-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.
-
-Update cache cleaning functionality - keep installed version, choose number to
-keep, etc. Good python script in the forums that we should try to emulate.
-
Downgrade feature - allow users to see cached packages and downgrade to
(previous or any?) available options.
@@ -46,12 +32,6 @@ 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).
-Rewrite _alpm_sortbydeps to use Topological Sort. Should work using a standard
-topo sort algorithm, once the crazy types can be fixed up a bit. Include a
-cycle check - print a big error message if this happens.
- -- http://en.wikipedia.org/wiki/Topological_sort
- -- http://everything2.com/?node_id=556079
-
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
@@ -59,12 +39,6 @@ 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.
-If we stick with autotools, add more defines to configure.in, including
-CACHEDIR, PKGEXT, so these can be specified at configure time for ease of use
-by other distributions which may want to change the defaults. Also, review what
-needs to be in config.h and what does not. There may be excess #depends which
-are hard coded into the sources. (from TODO.autoconf)
-
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
@@ -72,12 +46,10 @@ 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
-(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
-differ here. Sizes of packages (e.g. 10,400.23 MB) should all be localized with
-correct seperators.
+Fix other localized issues- use non-printf when necessary. We may need to use
+some wchar_t output on the progress bar as char/byte counts differ here. Sizes
+of packages (e.g. 10,400.23 MB) should all be localized with correct
+seperators.
Rewrite makepkg to use terminal-safe coloring/bolding. tput utility should
allow us to do this. Make universal message functions for systemwide use,
@@ -86,11 +58,6 @@ including all pacman utilites- abs, pacman-optimize, etc.
Bugs/FRs to smash: 6468, 6437, 6430?, 6420, 6404, 6389, 6312?, 6284, 6273?,
6255?, 6208, 5987, 5885, 5571, 4182, 3492, 2810?, 1769, 1588, 1571
-Remove _alpm from function names now that we have SYMHIDDEN and static
-declarations.
-
-Remove alpm.c, put functions where they should be.
-
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.
@@ -106,8 +73,6 @@ 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?
-
Refine makepkg error codes. Each kind of failure could have its own code:
--package already built
--failed integ checks
@@ -119,14 +84,8 @@ to KB, MB, GB.
Revamp the downloadprog function a bit. Seems kind of messy.
-Add localized pkgdesc variables to makepkg.
-
--print-uri option to sync should not require saying yes or no to up to date
-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.
-
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).