Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-10-25 | version: increase number of digits supported in version component | Timo Teräs | 1 | -0/+1 | |
Report also version numbers as invalid if there's more than 18 digits. fixes #10774 | |||||
2021-05-20 | solver: don't consider requirer count for preference | Timo Teräs | 2 | -0/+29 | |
The original intent was to choose packages to which there is most dependencies. However, since the code has evolved this is has been mostly obsolete. And in fact now interferes with the provides and provides priority mechanism. Remove this as obsolete. Fixes #10742 | |||||
2021-02-07 | io: Handle really long lines | Olliver Schinagl | 2 | -19779/+0 | |
While commit 18b0b45 (io: Handle long lines, Thu Jan 7 17:25:23 2021 +0100) did attempt to address this issue, the buffer really is still to small when dealing with big-big dependency lists. Lets make it sufficiently large for now, until the new APKINDEX format can support multi-line dependencies, making this not needed any more. [TT: Originally the buffer size was conservative to run on resource constrained embedded platforms. But since the available memory on those has also increased much, the adjustment to 128kB makes sense also to increase performance a little bit. Removing also the iolimit test.] Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> | |||||
2021-01-14 | database.c: Fixed package DESCRIPTION parsing | thibault.ferrante | 1 | -1/+1 | |
Regression introduced by 0fb0d30 which makes parsing a description a critical failure. [TT: Minor stylistic change. Fix also missing final line change from the earlier commit] | |||||
2021-01-11 | database: Propagate errors when loading an APKINDEX | thibault.ferrante | 2 | -0/+19779 | |
In case of failure when loading an APKINDEX, no errors are propagated to the user which may uncorrectly interpret the current problem. | |||||
2020-10-03 | commit: rephrase the error messages more understandable | Timo Teräs | 16 | -17/+17 | |
fixes #10703 | |||||
2020-09-28 | Implement upgrade --prune to remove stale world dependencies | Timo Teräs | 2 | -0/+38 | |
2020-07-30 | test: add test for granular upgrade | Ariadne Conill | 3 | -0/+31 | |
2020-02-23 | fix test6.sh - linux-vanilla was renamed to linux-lts in v3.11 | Jakub Jirutka | 1 | -3/+3 | |
2020-01-26 | remove tests connected to help output validation | Timo Teräs | 1 | -10/+0 | |
The help has been moved to man pages now. | |||||
2019-12-12 | upgrade: implement --ignore to exclude some packages from upgrade | nrybowski | 1 | -0/+7 | |
2019-11-18 | add: always use UTC for virtual package versions | Max Rees | 1 | -1/+0 | |
2019-06-05 | reset TZ when running solver tests as some output has local time | Timo Teräs | 3 | -2/+3 | |
Fixes commits 37fbafcd and 1c47f374. | |||||
2019-06-05 | print usage and exit with error on invalid arguments | Timo Teräs | 1 | -0/+26 | |
Add also some testing to make sure help, long help and handling of invalid arguments works as expected. Based on pull request #19 originally by Laurent Arnoud (@spk). | |||||
2019-06-03 | use fixed system time in test mode to have fixed test output | Timo Teräs | 2 | -2/+2 | |
fixes test suite regression from previous commit | |||||
2018-11-02 | print: don't print spurious newlines | Timo Teräs | 2 | -4/+2 | |
2018-02-21 | solver: allow names with only one provider to be autoselected regardless of ↵ | William Pitcock | 1 | -1/+8 | |
priority | |||||
2018-02-20 | tests: make sure adding a pinning to a child dependency fails | William Pitcock | 1 | -0/+5 | |
2018-01-29 | test: fix test6 testcase | William Pitcock | 1 | -1/+1 | |
2018-01-02 | commit: properly analyze packages with provides="$pkgname" | Timo Teräs | 2 | -0/+15 | |
2018-01-02 | test: add test to ensure a provider that is already satisfied doesn't get ↵ | William Pitcock | 1 | -0/+7 | |
swapped | |||||
2018-01-02 | test: add testcases to ensure provider collisions generate an error | William Pitcock | 3 | -0/+36 | |
2017-12-12 | solver: fix potential install_if processing failure, fixes #8237 | Timo Teräs | 2 | -0/+28 | |
In discovery phase, there was logic to not process packages multiple times. However, that logic failed to account the package's depth and install_if state for the name being processed. This caused install_if processing failure in certain topologies of the dependency graph. Adds also a test case that should catch this issue reliably. | |||||
2017-11-02 | solver: prefer highest requirer count above installed status | William Pitcock | 1 | -2/+3 | |
This ensures a swap is emitted when replacing a virtual with apk add. | |||||
2017-11-02 | solver: only select a default if there is at least one provider with a ↵ | William Pitcock | 2 | -1/+25 | |
declared provider_priority | |||||
2017-11-02 | solver: implement support for choosing default virtuals | William Pitcock | 5 | -4/+24 | |
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. | |||||
2017-06-11 | test: modernize testing APKBUILDs | Jakub Jirutka | 6 | -59/+54 | |
2017-06-11 | test: fix test4.sh, script failure is non-fatal | Jakub Jirutka | 1 | -2/+2 | |
This behaviour has been changed in: 7d5cd2c8a0052a7446515f90d3d0ea5cc2e93efe. | |||||
2017-06-11 | test: fix running root-tests with QEMU user-mode emulation | Jakub Jirutka | 1 | -1/+12 | |
Variable QEMU_EMULATOR is set by enter-chroot script from alpine-chroot-install. | |||||
2017-06-11 | test: run test*.sh with set -x | Jakub Jirutka | 1 | -1/+1 | |
2017-06-11 | test: fix test6.sh, vmlinuz and initramfs are not symlinks | Jakub Jirutka | 1 | -2/+2 | |
2017-06-11 | test: fix test6.sh, replace linux-grsec w/ linux-vanilla, add alpine-keys | Jakub Jirutka | 1 | -3/+3 | |
2017-06-11 | test: exit with non-zero status when some root-test fail | Jakub Jirutka | 1 | -3/+4 | |
2017-06-11 | test: print output log when test fail | Jakub Jirutka | 1 | -3/+6 | |
2017-06-11 | test: fix invalid SYSREPO with http://nl.a.o | Jakub Jirutka | 1 | -1/+1 | |
2017-06-11 | test: fix target $(repos), APKINDEX is now generated by abuild | Jakub Jirutka | 1 | -3/+0 | |
2017-06-11 | test: fix target $(repos), PKGDEST is no longer supported | Jakub Jirutka | 1 | -1/+1 | |
2017-06-11 | test: fix missing "arch" in testing APKBUILDs | Jakub Jirutka | 6 | -0/+6 | |
2017-04-28 | test: add test for bug fixed in commit ba7b50c0 | Timo Teräs | 3 | -0/+22 | |
2016-07-22 | upgrade: improve self upgrade functionality a bit | Timo Teräs | 9 | -1/+121 | |
trigger it only if apk-tools can be upgrade, add test cases | |||||
2015-01-30 | sort world dependencies alphabetically | Timo Teräs | 4 | -14/+14 | |
this makes 'lbu diff' and aaudit diffs nice when a world dependency is added or removed. sorting also makes the ordering more deterministic as the world targets constraints are always applied in the same order. test suite updated accordingly. | |||||
2014-10-06 | solver: enforce conflicts during upgrades and new pkg installs | Timo Teräs | 3 | -0/+50 | |
This makes sure any conflicted packages will be removed first. Useful if we know there are conflicting files, and want to avoid adding potentially harmful replaces line. Add a test case for this too. | |||||
2014-05-19 | solver: fix installation of non-repository packages during tmpfs boot | Timo Teräs | 1 | -0/+8 | |
allow packages in the cache's installed to be selected for installation by the solver. add test case for the issue. | |||||
2014-05-19 | test: improve loading of repositories, fix broken install-if test | Timo Teräs | 1 | -0/+8 | |
2014-05-19 | del: allow deletion of world dependency when it is not installed | Timo Teräs | 1 | -0/+7 | |
this happens e.g. after tmpfs boot when not all packages where available: the dependency is in world, but not installed. | |||||
2013-09-06 | solver: if pinning is specified, it overrides preferred repos | Timo Teräs | 3 | -0/+19 | |
add also a test case for this | |||||
2013-06-20 | commit, db: make file conflicts and script errors non-fatal | Timo Teräs | 3 | -4/+4 | |
fixes #1482 | |||||
2013-06-19 | solver: properly order deletion of unneeded packages | Timo Teräs | 4 | -2/+49 | |
2013-06-19 | upgrade: new option: --latest (-l) | Timo Teräs | 3 | -3/+28 | |
Select latest version of package (if it is not pinned), and print error if it cannot be installed due to other dependencies. Together with --available, it selects the latest package which is present at least in some repository. This also fixes few solver issues with ordering of package selection that got quite apparent with this flag. Namely, we cannot "lock" a package until it's reverse dependencies are locked or not all of the solver flags are propagated properly. | |||||
2013-06-18 | errors: fix a test case, and misanalysis of certain names | Timo Teräs | 1 | -1/+1 | |
the pinning11 changed when @repo got the leading @ on error messages. analyze_dep() now properly ignores conflict dependencies, as those names are usually intentionally left unassigned. |