1. 18 Jun, 2013 4 commits
  2. 17 Jun, 2013 4 commits
  3. 13 Jun, 2013 1 commit
  4. 30 May, 2013 1 commit
    • Timo Teräs's avatar
      db: unify handling of special packages · aec93ee7
      Timo Teräs authored
      make cache a special kind of repository, and automatically cache
      special packages (virtual packages, or ones installed from command
      line). add test cases for handling virtual packages. fixes #1617.
      aec93ee7
  5. 29 May, 2013 1 commit
  6. 20 Sep, 2012 1 commit
  7. 16 Jul, 2012 1 commit
    • Timo Teräs's avatar
      audit: fix protection mask of non-db directories · ea5b08d1
      Timo Teräs authored
      If a directory has protection mask, but does not exist in db, we
      do not handle it right unless we calculate the protection mask by
      hand, or create temporary db dir entry for it. For simplicity create
      always the db dir entry -- depending on audit type we likely need
      to create it anyway. This commit also caches the db dir entry in the
      audit tree context to avoid duplicate lookups. ref #1241.
      ea5b08d1
  8. 29 Feb, 2012 1 commit
    • Timo Teräs's avatar
      solver: merge apk_name_state to apk_name · 2f66295f
      Timo Teräs authored
      apk_name_state is now quite small; and we avoid overhead of two
      pointers (+ malloc overhead) when we just make it part of apk_name.
      It also fixes some problems (that got introduced) where apk_name_state
      was not allocated.
      2f66295f
  9. 24 Feb, 2012 2 commits
  10. 23 Feb, 2012 1 commit
    • Timo Teräs's avatar
      audit, db: add etc/apk/protected_files.d and new audit features · ba3ee3f8
      Timo Teräs authored
      fixes #607.
      
      audit is now mostly rewritten for the new functionality. And
      has new features like --check-permissions, --recursive and
      --packages.
      
      $ROOT/etc/apk/protected_files.d/*.list can now contain additional
      protected paths, one path per line:
      
      +etc
      @etc/init.d
      -tmp
      
      + will include the directory as protected configuration directory.
      @ considers the directory protected, but will backup only symlinks.
      - removes any protection
      
      lbu should be modified to put include and exclude paths in
      etc/apk/protected_files.d/lbu.list. Additionally, some packages
      might provide their own listings.
      
      E.g. ssh might want to provide ssh.list with something like:
      +root/.ssh
      +home/*/.ssh
      ba3ee3f8
  11. 22 Feb, 2012 2 commits
  12. 15 Feb, 2012 1 commit
    • Timo Teräs's avatar
      solver, db: repository pinning improvements · 41fb3a4f
      Timo Teräs authored
      * solver internally calculates now using tags; not repository masks
      * installeddb now contains the tag name where the package came from
        -> we can now handle upgrades properly
      * the pinning is still a preference, and not strictly enforced;
        versioned dependencies may overrule preference
      41fb3a4f
  13. 14 Feb, 2012 1 commit
  14. 10 Feb, 2012 1 commit
  15. 31 Jan, 2012 1 commit
  16. 17 Jan, 2012 1 commit
  17. 12 Jan, 2012 3 commits
  18. 27 Dec, 2011 1 commit
  19. 29 Oct, 2011 1 commit
  20. 14 Sep, 2011 2 commits
  21. 13 Sep, 2011 1 commit
  22. 09 Sep, 2011 1 commit
  23. 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
  24. 16 Jul, 2011 2 commits
  25. 27 May, 2011 1 commit
  26. 14 Apr, 2011 1 commit
  27. 07 Apr, 2011 1 commit
  28. 16 Mar, 2011 1 commit