- 02 Nov, 2017 1 commit
-
-
Ariadne Conill authored
By introducing a new package metadata field, `provider_priority` (index letter `k`), we can specify default packages to satisfy a virtual. 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.
-
- 27 May, 2017 1 commit
-
-
Ariadne Conill authored
This is useful for requirements such as: python3=~3.6, which would match python3-3.6.[0-9]. This implementation should in theory be backwards compatible with the implementation in Adelie.
-
- 10 Dec, 2015 1 commit
-
-
Timo Teräs authored
- self-conflicts when the exact same version of a name is provided twice is now properly detected and diagnozed - don't print redundant satisfies diagnostic
-
- 17 Apr, 2015 1 commit
-
-
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"
-
- 19 May, 2014 1 commit
-
-
Timo Teräs authored
allow packages in the cache's installed to be selected for installation by the solver. add test case for the issue.
-
- 28 Jun, 2013 1 commit
-
-
Dubiousjim authored
Acked-by:
Natanael Copa <ncopa@alpinelinux.org>
-
- 20 Jun, 2013 2 commits
-
-
Timo Teräs authored
Mistakenly allowed masked out package to be installed if it was in cache.
-
Timo Teräs authored
fixes #1482
-
- 19 Jun, 2013 1 commit
-
-
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.
-
- 18 Jun, 2013 1 commit
-
-
Timo Teräs authored
-
- 17 Jun, 2013 2 commits
-
-
Timo Teräs authored
-
Timo Teräs authored
Fixes also 'fetch' applet to prefer copying/linking to files from cache if possible.
-
- 15 Jun, 2013 2 commits
-
-
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 authored
and remove the now unused apk_dep_is_materialized_or_provided which was superceded by apk_dep_analyze.
-
- 13 Jun, 2013 4 commits
-
-
Timo Teräs authored
... in the error printing and the package deletion.
-
Timo Teräs authored
Instead of the dependency oriented logic, switch to print them for each package or name needed. Might give a bit more readable errors now. There's still few corner cases that proper error is not output, which are cought by the test cases.
-
Timo Teräs authored
mostly useful for reboot, when all packages are not available.
-
Timo Teräs authored
Implementing basic dependency handling, install_if and awareness of pinning.
-
- 30 May, 2013 1 commit
-
-
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.
-
- 08 Oct, 2012 1 commit
-
-
Timo Teräs authored
to be functional when backtracking
-
- 29 Feb, 2012 1 commit
-
-
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.
-
- 24 Feb, 2012 2 commits
-
-
Timo Teräs authored
in preparation for provides support. implements also some dependency satisfaction helper routines. ref #574.
-
Timo Teräs authored
ref #574
-
- 22 Feb, 2012 1 commit
-
-
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.
-
- 15 Feb, 2012 1 commit
-
-
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
-
- 12 Jan, 2012 1 commit
-
-
Timo Teräs authored
* default writing the world with spaces if a space is found (for backwards compatibility) for now
-
- 29 Oct, 2011 1 commit
-
-
Timo Teräs authored
Improves /etc/apk/repositories format so you can say: http://nl.alpinelinux.org/alpine/v2.3/main @edge http://nl.alpinelinux.org/alpine/edge/main @testing http://nl.alpinelinux.org/alpine/edge/testing After which you can pin dependencies to these tags using: apk add stableapp newapp@edge bleedingapp@testing Apk will now by default only use the untagged repositories, but adding a tag to specific dependency: 1. will prefer that tag for the name 2. allowing pulling in dependencies from that tag (though, it prefers untagged packages to satisfy deps if possible) fixes #575
-
- 24 Oct, 2011 1 commit
-
-
Timo Teräs authored
One can now say in dependency "!foo<2" which means, that if foo is installed, it needs to be >=2, but it's not a required dependency.
-
- 19 Oct, 2011 2 commits
-
-
Timo Teräs authored
-
Timo Teräs authored
If two packages replace each other, the one with highes priority will keep the file. Additionally, if we have a package overriding another's file it's remembered and handled properly. This is essentially to allow "policy packages" which just overwrite certain (configuration) files from other package(s).
-
- 18 Oct, 2011 1 commit
-
-
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.
-
- 14 Sep, 2011 1 commit
-
-
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.
-
- 13 Sep, 2011 1 commit
-
-
Timo Teräs authored
-
- 05 Aug, 2011 1 commit
-
-
Timo Teräs authored
this allows quite some optimizations to running time and memory requirements.
-
- 26 Jul, 2011 1 commit
-
-
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
-
- 04 Apr, 2011 1 commit
-
-
Timo Teräs authored
Parse these fields from .PKGINFO, and write them to index.
-
- 04 Jan, 2011 1 commit
-
-
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.
-
- 03 Jan, 2011 1 commit
-
-
Timo Teräs authored
Just disable installation of packages using the new stuff. Also flag lower case package info fields as non-critical and allow installation even if that features is not supported.
-
- 01 Jan, 2011 2 commits
-
-
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 authored
It's no longer needed or used.
-