[pacman-dev] CVS update of pacman-lib (TODO.aaron lib/libalpm/deps.h)

Aaron Griffin aaron at archlinux.org
Wed Jan 31 03:10:03 EST 2007


    Date: Wednesday, January 31, 2007 @ 03:10:03
  Author: aaron
    Path: /home/cvs-pacman/pacman-lib

Modified: TODO.aaron (1.13 -> 1.14) lib/libalpm/deps.h (1.17 -> 1.18)

* Forgot the int->enum header checkin
* Removed the dep-sorting TODO item - switch the sorting to a topological sort
  later (I'll let Dan do the CS stuff, heh)


--------------------+
 TODO.aaron         |    6 ------
 lib/libalpm/deps.h |    2 +-
 2 files changed, 1 insertion(+), 7 deletions(-)


Index: pacman-lib/TODO.aaron
diff -u pacman-lib/TODO.aaron:1.13 pacman-lib/TODO.aaron:1.14
--- pacman-lib/TODO.aaron:1.13	Wed Jan 31 01:54:28 2007
+++ pacman-lib/TODO.aaron	Wed Jan 31 03:10:01 2007
@@ -43,12 +43,6 @@
 
 **** BUGS ****
 * Removal of conflicts on -A and -U (INCOMPLETE)
-* ordering of packages to be installed based on dependencies
-    i.e. pkga depends=(pkgb pkgc), pkgb depends=(pkgc)
-    pacman -S pkga pkgb pkgc
-    > a depends on b and c, move them: pkgb pkgc pkga
-    > b depends on c, move it: pkgc pkgb pkga
-    > pacman -S pkgc pkgb pkga
 * gensync: get all info from packages instead of PKGBUILDs
   for now, we only need to check the PKGBUILD in case of a
   'force' option
Index: pacman-lib/lib/libalpm/deps.h
diff -u pacman-lib/lib/libalpm/deps.h:1.17 pacman-lib/lib/libalpm/deps.h:1.18
--- pacman-lib/lib/libalpm/deps.h:1.17	Tue Jan 23 22:02:54 2007
+++ pacman-lib/lib/libalpm/deps.h	Wed Jan 31 03:10:03 2007
@@ -46,7 +46,7 @@
                                   pmdepmod_t depmod, const char *depname,
 																	const char *depversion);
 int _alpm_depmiss_isin(pmdepmissing_t *needle, alpm_list_t *haystack);
-alpm_list_t *_alpm_sortbydeps(alpm_list_t *targets, int mode);
+alpm_list_t *_alpm_sortbydeps(alpm_list_t *targets, pmtranstype_t mode);
 alpm_list_t *_alpm_checkdeps(pmtrans_t *trans, pmdb_t *db, pmtranstype_t op,
                              alpm_list_t *packages);
 int _alpm_splitdep(char *depstr, pmdepend_t *depend);




More information about the pacman-dev mailing list