Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-06-14 | fetch: ignore conflicts when solving --recursive fetches | Timo Teräs | 3 | -9/+25 | |
2018-06-14 | fetch: include install_if dependencies with --recursive | Natanael Copa | 1 | -26/+23 | |
Run apk_solver_solve once with all args as dependencies instead of running apk_solver_solve for each arg. This is neccesary so the install_if calculation is done correctly. | |||||
2018-05-08 | url: return relevant error value from apk_istream_fetch | Edan Bedrik | 1 | -3/+10 | |
2018-04-05 | db: fix refreshing index if time is zero | Timo Teräs | 1 | -3/+5 | |
During netboot on systems without RTC, time() will be near zero, and the index fill not exist. Thus the plain test of st.st_mtime against system time failed. Verify that fstatat() succeeds. | |||||
2018-02-21 | solver: allow names with only one provider to be autoselected regardless of ↵ | William Pitcock | 2 | -3/+11 | |
priority | |||||
2018-02-20 | tests: make sure adding a pinning to a child dependency fails | William Pitcock | 1 | -0/+5 | |
2018-02-20 | add: child dependencies can never take a pinning, give a useful error | William Pitcock | 1 | -3/+4 | |
2018-02-20 | apk: in test mode, always exit 0 (so the test harness doesn't stop running ↵ | William Pitcock | 1 | -0/+5 | |
tests) | |||||
2018-02-09 | travis: update alpine-chroot-install to 0.7.0 | Jakub Jirutka | 1 | -3/+3 | |
2018-01-31 | libfetch: support OpenSSL | A. Wilcox | 1 | -1/+1 | |
TLS_client_method is a LibreSSL extension. SSLv23_client_method is generic, and doesn't mean SSL v2/v3 only. | |||||
2018-01-29 | list: use `apk list --providers` to search virtual providers instead of ↵ | William Pitcock | 1 | -6/+8 | |
enabling virtuals by default | |||||
2018-01-29 | search: remove from APK_COMMAND_GROUP_QUERY | William Pitcock | 1 | -1/+0 | |
list does everything search does and more | |||||
2018-01-29 | list: add option to match against real names only instead of providers | William Pitcock | 1 | -1/+7 | |
2018-01-29 | list: add --depends option for searching based on rdepends | William Pitcock | 1 | -3/+27 | |
2018-01-29 | list: refactor package dumping vs package filtering | William Pitcock | 1 | -20/+20 | |
2018-01-29 | test: fix test6 testcase | William Pitcock | 1 | -1/+1 | |
2018-01-28 | list: new applet | William Pitcock | 2 | -1/+236 | |
The list applet provides a convenient way of inspecting both the available and installed package databases by listing their contents. In some ways, it is similar to `apk search` but is considered to be a superset of `apk search` functionality. A few `apk list` criterion are not yet ready though, such as `apk list --depends` which searches by runtime dependency (replacing `apk info --rdepends`). | |||||
2018-01-09 | apk: make --help --verbose actually work. | William Pitcock | 1 | -1/+10 | |
2018-01-09 | apk: properly error out if an unknown command is requested | William Pitcock | 1 | -1/+5 | |
2018-01-09 | apk: commit options help text: fix typo concerning diskless boot | William Pitcock | 1 | -1/+1 | |
2018-01-09 | apk: usage: cleanup help text when no applet is selected | William Pitcock | 16 | -13/+52 | |
2018-01-09 | fix --update-cache help to reflect reality | Timo Teräs | 1 | -1/+1 | |
Internally the value is in seconds, but on command line it's in minutes. | |||||
2018-01-08 | apk-tools-2.9.1v2.9.1 | Timo Teräs | 1 | -1/+1 | |
2018-01-08 | auto-update index only when database is opened for writing | Timo Teräs | 2 | -1/+3 | |
2018-01-04 | increase libfetch connection pool limits slightly | Timo Teräs | 1 | -1/+1 | |
2018-01-04 | enable automatic update of indexes controlled by --cache-max-age | Timo Teräs | 9 | -36/+53 | |
This modifies apk cache for indexes to be automatically refreshed periodically without explicit 'update' or '--update-cache' usage. The default is to do if-modified-since request if the local copy is older than 4 hours. This age can be changed with --cache-max-age. Using --update-cache will change this age to 60 seconds to make sure the cached copy is relatively new. The small age is in order to try to avoid downloading indexes second time when apk-tools is upgraded and apk re-execs after self-upgrade. Accordingly using explicitly 'apk update' will now enforce --force-refresh and request the very latest index by requesting any potential http proxy to do refresh too. | |||||
2018-01-03 | url: add "Cache-Control: no-cache" header with --force-refresh | Timo Teräs | 1 | -1/+1 | |
fixes #8161 | |||||
2018-01-03 | split --force to several --force-[type] options | Timo Teräs | 9 | -24/+60 | |
This unloads --force as several of the things are really not wanted together. E.g. --force-refresh is a lot different from --force-broken-world and doing --force to get the other might introduce unwanted behaviour. --force is still kept for backwards compatibility and it enables most things --force was used for. | |||||
2018-01-03 | libfetch: add option to set "Cache-Control: no-cache" | Timo Teräs | 1 | -1/+4 | |
ref #8161 | |||||
2018-01-03 | add new umbrella flag --initramfs-diskless-boot | Henrik Riomar | 1 | -0/+6 | |
This flag enables a group of options used during initramfs tmpfs initial install. | |||||
2018-01-03 | add new flag --no-commit-hooks | Henrik Riomar | 3 | -0/+9 | |
This flag skips running hook scripts This flag *must* be used during initramfs tmpfs initial install. The reason that this new flag is needed is that the hooks will currently always fail as musl and /bin/sh is missing at this stage on diskless. | |||||
2018-01-03 | libfetch: honor https_proxy variable for https | Timo Teräs | 1 | -11/+30 | |
fixes #8160 | |||||
2018-01-03 | db: fix triggers to report deleted directories | Timo Teräs | 2 | -16/+20 | |
This change just changes to keep deleted directory items in the hash with ref count zero and modified flag set. Those entries are reused when needed. The side effect is that fire_triggers() will now see those removed direcotries and reports them. Other enumerators of the directories hash are protected to skip removed directories when appropriate. | |||||
2018-01-03 | apk, del: fix few memory leaks | Timo Teräs | 2 | -1/+5 | |
This fixes couple of valgrind reported leaks - though they are non-important since the leak happens on "exit" only and kernel frees it anyway. | |||||
2018-01-02 | commit: properly analyze packages with provides="$pkgname" | Timo Teräs | 3 | -1/+17 | |
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-30 | apk-tools-2.9.0v2.9.0 | Timo Teräs | 1 | -1/+1 | |
2017-12-15 | fix typo in MIPS byte-order apk_defines.h | Nils Andreas Svee | 1 | -1/+1 | |
2017-12-12 | solver: fix potential install_if processing failure, fixes #8237 | Timo Teräs | 3 | -46/+77 | |
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-12-11 | add detection of mips archs | Nils Andreas Svee | 1 | -0/+8 | |
2017-11-28 | fetch: print additional error diagnostics in verbose mode | Timo Teräs | 1 | -2/+5 | |
2017-11-02 | solver: prefer highest requirer count above installed status | William Pitcock | 2 | -7/+8 | |
This ensures a swap is emitted when replacing a virtual with apk add. | |||||
2017-11-02 | solver: fix dbg_printf() call in select_package() | William Pitcock | 1 | -2/+2 | |
2017-11-02 | solver: only select a default if there is at least one provider with a ↵ | William Pitcock | 3 | -1/+31 | |
declared provider_priority | |||||
2017-11-02 | solver: instead of tracking selected packages, score by requirer count for ↵ | William Pitcock | 2 | -7/+13 | |
tiebreaking | |||||
2017-11-02 | solver: implement support for choosing default virtuals | William Pitcock | 9 | -11/+51 | |
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-10-27 | apk-tools-2.8.1v2.8.1 | Timo Teräs | 1 | -1/+1 | |
2017-10-27 | build: add 'make tag' | Timo Teräs | 1 | -0/+4 | |
2017-10-27 | solver: consider virtual provides to exclude non-provides transitively | Timo Teräs | 2 | -12/+20 | |
this fixes package selection when a 'real' package exists, but would need to be provided by another package with 'virtual provides'. In current package database this can happen with postgresql which is also provided by postgresql-bdr. Normally postgresql would be satisfied by postgresql, but if any package depends on postgresql-bdr and there's no versioned dependency on postgresql this will help apk figure out that postgresql-bdr should be used. |