Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | 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 | 1 | -1/+2 | |
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 | 1 | -46/+49 | |
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 | 1 | -5/+5 | |
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 | 1 | -0/+6 | |
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 | 4 | -7/+27 | |
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 | 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. | |||||
2017-10-12 | io: fix skip and splice to detect unexpected end-of-file | Timo Teräs | 2 | -31/+22 | |
2017-10-10 | db: handle default root correctly for /proc | Timo Teräs | 1 | -1/+1 | |
dbopts->root may be null; use db->root instead fixes #7162 | |||||
2017-10-05 | build and use bundled libfetch natively | Timo Teräs | 1 | -4/+7 | |
2017-10-04 | package: remove package script after use (fixes #7974) | Timo Teräs | 1 | -6/+9 | |
this is a regression introduced in commit 349c61c9 ("add support for pre and post commit hooks") | |||||
2017-09-27 | info: fix typo in help | Damiano Albani | 1 | -1/+1 | |
2017-08-23 | commit: proper singular/plural for 'error(s)' in commit message | Timo Teräs | 1 | -1/+2 | |
based on github pull request #5 | |||||
2017-08-23 | fix comparison of unsigned expression < 0 is always false | Dmitry Golovin | 2 | -4/+7 | |
found by clang | |||||
2017-08-23 | use labs istead of abs with long argument | Dmitry Golovin | 1 | -1/+1 | |
2017-07-29 | index: Only rewrite arch if no error is encountered | A. Wilcox | 1 | -2/+2 | |
2017-07-29 | database: include POSIX header for ST_* defines | A. Wilcox | 1 | -0/+1 | |
2017-06-26 | tar: use standard header prefix | Timo Teräs | 1 | -1/+9 | |
APKs have been created with GNU tar so far, which uses the GNU extensions for long names. In order to increase portability support the standard header's 'prefix' portion in case the GNU extensions are not present. | |||||
2017-06-26 | db: fix current directory instance caching in tar extraction | Timo Teräs | 1 | -1/+1 | |
Depending how the directory entries are ordered, the cached dir instance might not have been updated correctly. This has not been a problem as the entries have been ordered, but is now triggered on ppc. | |||||
2017-06-26 | database: mark error on renameat failure | A. Wilcox | 1 | -2/+6 | |
2017-06-23 | io: make io vtables const struct, and add accessors for them | Timo Teräs | 13 | -120/+195 | |
This reduces function pointers in heap, and unifies how the io functions are called. | |||||
2017-06-23 | archive: validate reading of pax and gnu long filename extensions | Timo Teräs | 1 | -14/+14 | |
Detect properly if the file stream gets an error during these read operations. Reported-by: Ariel Zelivansky from Twistlock | |||||
2017-06-23 | archive: fix incorrect bounds checking for memory allocation | Timo Teräs | 1 | -2/+4 | |
The value from tar header is unsigned int; keep it casted to unsigned int and size_t instead of (signed) int, otherwise the comparisons fail to do their job properly. Additionally check entry.size against SSIZE_MAX so the rounding up later on is guaranteed to not overflow. Fixes CVE-2017-9669 and CVE-2017-9671. Reported-by: Ariel Zelivansky from Twistlock | |||||
2017-06-23 | Revert "version: consider pkg-rX and pkg to be the same version" | William Pitcock | 1 | -5/+0 | |
This reverts commit ee5ce7284aef8679fabcf728dd5bd5a17c965798. | |||||
2017-06-01 | print: oh dear, i have reworked the progress bar again | William Pitcock | 1 | -4/+15 | |
- rework the progress bar a little bit, basically removing the [ and ] to give a more modern aesthetic. - if utf-8 locale is enabled, use unicode codepoint 0x2588 instead of # to give the progress bar a nicer look. - if APK_PROGRESS_CHAR environment variable is defined, use the character defined there for the progress bar. | |||||
2017-06-01 | apk_defines: implement mulmod() | William Pitcock | 1 | -0/+8 | |
2017-05-28 | index: fix unsatisfied dependencies warning (maybe vs may be) | William Pitcock | 1 | -1/+1 | |
2017-05-28 | manifest: fix up help entry | William Pitcock | 1 | -4/+5 | |
2017-05-27 | version: add support for fuzzy version matching | William Pitcock | 5 | -9/+26 | |
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. | |||||
2017-05-27 | version: consider pkg-rX and pkg to be the same version | A. Wilcox | 1 | -0/+5 | |
2017-05-27 | manifest: add file support as well as apkdb support | William Pitcock | 1 | -0/+55 | |
2017-05-27 | manifest: dump checksum type too | William Pitcock | 1 | -1/+5 | |
2017-05-25 | db: fix regression preventing remounting apk cache r/w | Timo Teräs | 1 | -1/+2 | |
Introduced in commit c0f2d88f342f4d185f3991f98b79ab61a03896e4. fstatfs is needed to inspect the mount flags. | |||||
2017-05-20 | manifest: new applet which dumps checksums in sha1sum format for a package | William Pitcock | 2 | -1/+75 | |
2017-04-28 | close database on SIGINT | Kaarle Ritvanen | 1 | -1/+9 | |
cleans up procfs mount | |||||
2017-04-28 | db: separate init from open | Kaarle Ritvanen | 4 | -11/+19 | |
2017-04-27 | solver: don't clobber package swaps in cases where an installed package is ↵ | William Pitcock | 1 | -5/+18 | |
being replaced by a provider | |||||
2017-04-26 | print: handle mixing stdout and stderr printing | Timo Teräs | 1 | -0/+2 | |
Fixes regression from commit 5ba27c90 which caused stdio buffering issues now that output is split to stderr/stdout. See also commit 51737872 for some of the history. Fixes #7107 | |||||
2017-04-25 | fetch: spell "its" properly in user visible message | readerreader | 1 | -1/+1 | |
2017-04-25 | fetch: open the installed database to allow fetching a dependency tree ↵ | William Pitcock | 1 | -2/+1 | |
rooted by a virtual | |||||
2017-04-25 | fetch: don't segfault when given an unknown package name | William Pitcock | 1 | -1/+2 | |
2017-04-24 | print: don't shadow log() | William Pitcock | 1 | -3/+3 | |