[pacman-dev] CVS update of pacman-lib (TODO.dan doc/PKGBUILD.5 scripts/rankmirrors)

dan at archlinux.org dan at archlinux.org
Sun Feb 11 20:08:35 EST 2007


    Date: Sunday, February 11, 2007 @ 20:08:35
  Author: dan
    Path: /home/cvs-pacman/pacman-lib

Modified: TODO.dan (1.7 -> 1.8) doc/PKGBUILD.5 (1.6 -> 1.7)
          scripts/rankmirrors (1.4 -> 1.5)

* Unified description of arch variable. Recommend using single quotes in
  the array, e.g. arch=('i686').
* Updated my TODO.
* Changed the email address in rankmirrors script.


---------------------+
 TODO.dan            |    7 ++++++-
 doc/PKGBUILD.5      |    2 +-
 scripts/rankmirrors |    2 +-
 3 files changed, 8 insertions(+), 3 deletions(-)


Index: pacman-lib/TODO.dan
diff -u pacman-lib/TODO.dan:1.7 pacman-lib/TODO.dan:1.8
--- pacman-lib/TODO.dan:1.7	Fri Feb  9 10:37:20 2007
+++ pacman-lib/TODO.dan	Sun Feb 11 20:08:35 2007
@@ -62,6 +62,11 @@
 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
+operations up (e.g. a 'count' field).
+
 Other ideas:
 ============
 
@@ -69,7 +74,7 @@
 
 Possibly split utilities/extras from pacman package
 
-Rewrite gensync/updatesync, and add a 'repo-remove' script
+Rewrite gensync/updatesync
 
 FS #4185 - move where message is logged, perhaps?
 
Index: pacman-lib/doc/PKGBUILD.5
diff -u pacman-lib/doc/PKGBUILD.5:1.6 pacman-lib/doc/PKGBUILD.5:1.7
--- pacman-lib/doc/PKGBUILD.5:1.6	Fri Feb  9 10:37:20 2007
+++ pacman-lib/doc/PKGBUILD.5	Sun Feb 11 20:08:35 2007
@@ -100,7 +100,7 @@
 .TP
 .B arch \fI(array)\fP
 Defines on which architectures the given package is available. (e.g.
-\fBarch=("i686" "x86_64")\fP) 
+\fBarch=('i686' 'x86_64')\fP) 
 
 .TP
 .B backup \fI(array)\fP 
Index: pacman-lib/scripts/rankmirrors
diff -u pacman-lib/scripts/rankmirrors:1.4 pacman-lib/scripts/rankmirrors:1.5
--- pacman-lib/scripts/rankmirrors:1.4	Tue Jan 16 22:48:02 2007
+++ pacman-lib/scripts/rankmirrors	Sun Feb 11 20:08:35 2007
@@ -3,7 +3,7 @@
 #   rankmirrors : read a list of mirrors from a file and rank them by speed
 #
 #   Original Idea copyright (c) 2006 R.G. <chesercat>
-#   Modified 2006 by Dan McGee <dpmcgee at gmail.com>
+#   Modified 2006 by Dan McGee <dan at archlinux.org>
 #
 #   This program is free software; you can redistribute it and/or modify
 #   it under the terms of the GNU General Public License as published by




More information about the pacman-dev mailing list