1. 27 Jul, 2011 1 commit
  2. 26 Jul, 2011 1 commit
    • Timo Teräs's avatar
      solver: new package selection logic (which is not yet used) · 79b53d4d
      Timo Teräs authored
       * basic code for a backtracking, forward checking dependency satisfier
       * works better when there are tricky dependencies to solve
         (when can't just upgrade everything to most preferred versions)
       * the new code always evaluates all of 'world' constraints
         (old code just does incremental updates based on heuristics)
       * is probably somewhat slower than old code (probably unnoticeable
         difference in most cases)
       * makes easier to write support for provides and repository pinning
       * test applet and a bunch of test cases added which uses the new code
       * from the old feature set install_if is not yet implemented
      79b53d4d
  3. 24 Jul, 2011 1 commit
    • Timo Teräs's avatar
      dot: applet to generate the dot attributed graph language files · 169cb3a9
      Timo Teräs authored
      This applet can be used to generate data for graphviz tools.
      Useful to visualize package dependencies, and possible errors
      in the repository.
      
      Usage examples:
        apk dot gnome-desktop | tred | dot -Tpng gnome-desktop.png
          -- to generate simplified dependency chart of gnome-desktop
        apk dot --errors | dot -Tpng index-errors.png
          -- to generate chart visualizing dependency errors in index
      169cb3a9
  4. 30 Jun, 2010 1 commit
  5. 16 Jun, 2010 1 commit
  6. 14 Jun, 2010 1 commit
    • Natanael Copa's avatar
      Makefile: Don't build or install the libapk and lua module by default · efdd2f10
      Natanael Copa authored
      Make the libapk and lua module optional at buildtime and off by default.
      This is because enabling libapk requires that mkinitfs also copies the
      libapk.so or the initramfs will not work.
      
      To build libapk:
      
       make LIBAPK=yes
      
      To build lua module (will enable LIBAPK=yes):
      
       make LUAAPK
      
      To link apk to libapk (will enable LIBAPK=yes):
      
       make SHARED_LIBAPK=yes
      
      All the above applies to make install target as well.
      efdd2f10
  7. 11 Jun, 2010 3 commits
  8. 05 Jun, 2010 1 commit
    • Timo Teräs's avatar
      all: rework how arrays work · 7be853e6
      Timo Teräs authored
      Instead of having a null pointer, use a dummy array which just
      says the array is empty. This helps in multiple places of the code
      which would otherwise need explicitly need to check first if the
      array exists. This has been cause of multiple seg.faults in the
      past as the array check is easily omitted.
      
      This also removes (or fixes) all existing checks accordingly.
      7be853e6
  9. 04 Aug, 2009 1 commit
  10. 31 Jul, 2009 1 commit
    • Timo Teräs's avatar
      apk: use *at instead of chdir+normal file syscall · ea901526
      Timo Teräs authored
      this way we never change cwd, and relative filenames are always
      parsed consistently. this also helps filename construction in many
      places. this patch also changes '--root' to override location of
      all configuration to be in the new root. previously it depended
      on the file which one was used.
      ea901526
  11. 29 Jul, 2009 1 commit
  12. 17 Jul, 2009 1 commit
  13. 08 Jul, 2009 2 commits
  14. 29 Jun, 2009 1 commit
  15. 25 Jun, 2009 1 commit
    • Timo Teräs's avatar
      upgrade: new applet · 4d04bd8a
      Timo Teräs authored
      Currently just goes through all world dependencies and updates them
      where possible (ref #51).
      4d04bd8a
  16. 21 Apr, 2009 1 commit
  17. 16 Apr, 2009 2 commits
  18. 15 Apr, 2009 1 commit
  19. 07 Mar, 2009 1 commit
  20. 16 Jan, 2009 1 commit
  21. 14 Jan, 2009 1 commit
  22. 13 Jan, 2009 1 commit
  23. 09 Jan, 2009 1 commit
  24. 28 Nov, 2008 1 commit
  25. 12 Nov, 2008 1 commit
  26. 07 Nov, 2008 1 commit
  27. 21 Apr, 2008 1 commit
  28. 17 Apr, 2008 1 commit