1. 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
  2. 29 May, 2013 2 commits
  3. 29 Apr, 2013 2 commits
  4. 18 Apr, 2013 2 commits
  5. 28 Jan, 2013 2 commits
  6. 22 Jan, 2013 1 commit
  7. 21 Jan, 2013 3 commits
  8. 18 Jan, 2013 4 commits
  9. 05 Nov, 2012 1 commit
  10. 04 Nov, 2012 1 commit
  11. 09 Oct, 2012 3 commits
  12. 08 Oct, 2012 3 commits
  13. 05 Oct, 2012 2 commits
  14. 03 Oct, 2012 3 commits
    • Timo Teräs's avatar
      solver: various fixes · 4dd8c58d
      Timo Teräs authored
       * push_decision expects to always get the package primary 'name'
         as apk_name. ASSERT that and fix problem cases.
         (though - this might need to be reverted, and store the non
          primary name in apk_decision instead to accomodate for better
          backtracking optimizations)
       * fix error reporting of virtual package names
       * make 'assign_name' errors soft. the incorrect packages just are
         no longer consider instead of aborting whole calculation.
       * fix backtracking of virtual packages that are not depended
         directly
      4dd8c58d
    • Natanael Copa's avatar
      solver: improve assert error messages · 081155c4
      Natanael Copa authored
      Print name of package and void double "ERROR"
      081155c4
    • Natanael Copa's avatar
      solver: fix compile with -Werror on 64bit · 00958d92
      Natanael Copa authored
      00958d92
  15. 28 Sep, 2012 1 commit
  16. 20 Sep, 2012 1 commit
  17. 04 Sep, 2012 1 commit
    • Timo Teräs's avatar
      db: remove AT_SYMLINK_NOFOLLOW for directory permissions · 8a4371cc
      Timo Teräs authored
      fchmodat does not support this flag - symlinks do not have permissions.
      
      Sysadmin probably does not expect us to not follow symlinks either:
      if /var -> /mnt/foo/var, we should be making sure the permissions
      and ownership is correct on the target directory, not on the symlink.
      
      Since fchmodat never returned ENOENT with AT_SYMLINK_NOFOLLOW, this
      also fixes directory re-creation if it does not exist. fixes #1348.
      8a4371cc
  18. 16 Jul, 2012 3 commits
  19. 09 Jul, 2012 1 commit
  20. 06 Jun, 2012 1 commit
  21. 07 May, 2012 2 commits
    • Natanael Copa's avatar
      ver: show all packages with -v · a6b28bee
      Natanael Copa authored
      ref #1122
      a6b28bee
    • Natanael Copa's avatar
      ver: make --quiet output suitable for scripting/piping · 08595072
      Natanael Copa authored
      Do not print version numbers or compare result char when in quiet
      mode. This makes the output suitable for be used in scripts or pipes.
      
      For example:
      
        # Upgrade all packages that matches a given regexp
        apk version --limit '<' --quiet | grep $regexp | apk fix --reinstall
      
        # Delete all packages that are removed from repository
        apk version --limit '?' --quiet | xargs apk del
      08595072