1. 02 Nov, 2017 1 commit
    • Ariadne Conill's avatar
      solver: implement support for choosing default virtuals · f18c7081
      Ariadne Conill authored
      By introducing a new package metadata field, `provider_priority`
      (index letter `k`), we can specify default packages to satisfy a
      If a user wishes to select an alternative provider for the virtual,
      a changeset swapping the default provider for the selected provider
      will be generated by the dependency resolver.
  2. 27 May, 2017 1 commit
  3. 10 Dec, 2015 1 commit
  4. 17 Apr, 2015 1 commit
    • Timo Teräs's avatar
      make file install errors non-fatal, and xattr errors hidden · 90e76033
      Timo Teräs authored
      user xattrs on tmpfs are not supported no non-grsec kernels,
      and many times root fs is mounted without user_xattr. Thus
      to allow things to go smoothly on non-grsec kernels xattr
      unsupported errors are now hidden.
      xattrs can be fixed still now with "apk fix --xattrs"
  5. 19 May, 2014 1 commit
  6. 28 Jun, 2013 1 commit
  7. 20 Jun, 2013 2 commits
  8. 19 Jun, 2013 1 commit
    • Timo Teräs's avatar
      all: few behavioural regression fixes · 6da083fc
      Timo Teräs authored
      Wildcard matching with no names should match all packages only for
      info and search applet. "apk del" would otherwise try to delete
      everything, etc.
      Fix also interactive mode to ask questions only if we are actually
      changing something.
  9. 18 Jun, 2013 1 commit
  10. 17 Jun, 2013 2 commits
  11. 15 Jun, 2013 2 commits
    • Timo Teräs's avatar
      pkg: apk_pkg_foreach_* add matching generation · f79e3946
      Timo Teräs authored
      So same package it is possible to not match same package multiple
      times. Use generation count, so this is handled cleanly during
      recursion, like in the use case of search applet.
    • Timo Teräs's avatar
      lua: use apk_dep_analyze · 5b02400b
      Timo Teräs authored
      and remove the now unused apk_dep_is_materialized_or_provided
      which was superceded by apk_dep_analyze.
  12. 13 Jun, 2013 4 commits
  13. 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.
  14. 08 Oct, 2012 1 commit
  15. 29 Feb, 2012 1 commit
    • Timo Teräs's avatar
      solver, test: make conflicts unconditional · f27f194d
      Timo Teräs authored
      Solver will now never report partial solution where a conflict
      constraint is not satisfied. The is because with --force we might
      install the partial solution; and if conflicted packages were to
      be installed we might have extra trouble.
  16. 24 Feb, 2012 2 commits
  17. 22 Feb, 2012 1 commit
    • Timo Teräs's avatar
      db, solver, io: scan cache items at startup · bf82e2e5
      Timo Teräs authored
      It is faster to just scan the cache directory for existing packages
      at startup than trying to faccessat() them on demand. It also makes
      quite a few parts of the code more readable and simpler.
  18. 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
  19. 12 Jan, 2012 1 commit
  20. 29 Oct, 2011 1 commit
  21. 24 Oct, 2011 1 commit
  22. 19 Oct, 2011 2 commits
  23. 18 Oct, 2011 1 commit
    • Timo Teräs's avatar
      pkg, info: remember installed packages "replaces" · a787038d
      Timo Teräs authored
      "replaces" is now turned to a full dependency type list, so you can
      make package overwrite files only certain versions of the package
      (though, we should probably take this into account already at solution
      calculation phase).
      Also make 'info --replaces' print the "replaces" of the package.
      This is in preparation for the policy package support, which still
      requires "replacement priority" field to decide which packages' files
      get the preference.
  24. 14 Sep, 2011 1 commit
    • Timo Teräs's avatar
      solver: make state pointers completely internal · 803f55ec
      Timo Teräs authored
      the only bit of information needed in solver commit is the "hard"
      topology sorting information for trigger ordering. fixes a bug in
      "apk del" which uses the state pointers to do intermediate
      calculations between solution solving and commit.
  25. 13 Sep, 2011 1 commit
  26. 05 Aug, 2011 1 commit
  27. 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
  28. 04 Apr, 2011 1 commit
  29. 04 Jan, 2011 1 commit
    • Timo Teräs's avatar
      pkg: recognize install_if · 28dcd5d3
      Timo Teräs authored
      Parse install_if from package metadata and include it in the
      indexes. Also setup the reverse install_if dependencies when
      loading a database. ref #443.
      Actual install_if functionality is not yet implemented.
  30. 03 Jan, 2011 1 commit
  31. 01 Jan, 2011 2 commits
    • Timo Teräs's avatar
      pkg: dependencies to specific package checksum · 1c7e8d26
      Timo Teräs authored
      When package is installed from commandline, we should always
      install that specific instance of package (never favor repository
      version if it has difference identity). Otherwise we might not
      always end-up installing the .apk given on command line. The
      dependency is now against specific checksum identity (marked
      with >< dependency comparison). Fixes #492.
    • Timo Teräs's avatar
      index: remove support of old index format · 0cc41ba4
      Timo Teräs authored
      It's no longer needed or used.