Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-10-08 | url: fix double free from late libfetch changes | Timo Teräs | 1 | -1/+0 | |
2014-10-08 | io,url,db: support for if-modified-since | Timo Teräs | 6 | -53/+81 | |
2014-10-08 | url: use libfetch to retrieve http/https/ftp files | Timo Teräs | 3 | -56/+51 | |
2014-10-07 | db: fix crash if unable to download cache item | Timo Teräs | 1 | -2/+3 | |
fixes #3371 | |||||
2014-10-07 | io: fix few error path leaks | Timo Teräs | 2 | -6/+9 | |
2014-10-07 | db: rework directory permission handling | Timo Teräs | 4 | -58/+88 | |
Apk used to reset directory permissions always, but this is undesirable if user has modified the permissions - especially during tmpfs boot. Though, it is desirable to update the permissions when packaging has changed permissions, or a new package is installed and the merged permission mask / owner changes. Thus the new code updates the permissions only if: 1) We are booting and directory is not in apkovl 2) The directory is modified by a package install/remove/upgrade 3) The filesystem directory permission matched database Additionally "apk fix --directory-permissions" can be used to reset all directory permissions to the database defaults. Fixes #2966 | |||||
2014-10-06 | solver: enforce conflicts during upgrades and new pkg installs | Timo Teräs | 1 | -2/+11 | |
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-10-06 | cache: delete more aggressively unneeded cached files | Timo Teräs | 2 | -6/+12 | |
Also if --purge is specified delete all uninstalled packages. Fixes #2889 | |||||
2014-10-06 | db: use per-pkg architecture (if available) to form download url | Timo Teräs | 1 | -2/+6 | |
Allows one arch index files to refer to other arch packages. Mostly useful with noarch packages, but could be used e.g. to ship build with some of packages optimized for specific cpu generation and share most packages with the standard build. | |||||
2014-10-06 | info who-owns: print symlink target owner as a fallback | Timo Teräs | 1 | -3/+15 | |
busybox trigger creates symlinks to itself. This helps user to see where these come from. | |||||
2014-10-06 | index: fix warning about package names without provider | Timo Teräs | 3 | -9/+11 | |
It's real only if there's a package with actual dependency (conflicts and install_if dependencies do not count). | |||||
2014-05-19 | solver: fix installation of non-repository packages during tmpfs boot | Timo Teräs | 4 | -3/+13 | |
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 | -3/+15 | |
2014-05-19 | del: allow deletion of world dependency when it is not installed | Timo Teräs | 1 | -0/+3 | |
this happens e.g. after tmpfs boot when not all packages where available: the dependency is in world, but not installed. | |||||
2014-05-12 | finally fix building PIE binaries | Timo Teräs | 3 | -14/+37 | |
the dynamic applet registration never worked with PIE, and as a temporary hack -nopie was added to default link flags in 2008. this commit reworks the applet registration mechanism to something that is compatible with PIE, and removes the hack. finally! | |||||
2014-04-25 | db: allow replacing files of origin package is same | Timo Teräs | 1 | -0/+3 | |
basically this makes packager's life simpler as there is no need to list the subpkg names in replaces. this was also very error prone and tedious job to do properly. | |||||
2014-04-10 | package: do not report duplicate reverse dependencies | Timo Teräs | 1 | -1/+4 | |
most notable in error report from 'del' applet | |||||
2014-04-10 | url: double-fallback to static busybox | Timo Teräs | 1 | -0/+1 | |
2014-04-10 | solver: purge install_if packages deleted from repositories on upgrade -a | Timo Teräs | 1 | -2/+9 | |
2014-04-10 | solver: fix cleaning of packages that got replaced by provides | Timo Teräs | 1 | -1/+4 | |
2014-04-04 | solver: fix inherited flags/pinning for install_if packages | Timo Teräs | 1 | -56/+28 | |
noticeable fixes upgrading of packages which get pulled in only by install_if rule. this also simplifies the inheritance calculation for packages, as well as the place where it is done for install_if triggered packages. | |||||
2014-04-04 | solver: do not consider packages in cache as 'available' | Timo Teräs | 1 | -5/+16 | |
'available' really means 'available in one or more configured repository'. Cache is not a repository we track, so those are only available for installation, but not available as preferred to be installed from repository. fixes #2831. | |||||
2014-03-12 | audit: report missing files in system mode | Timo Teräs | 1 | -21/+64 | |
fixes #2113 | |||||
2014-03-12 | solver: additional improvements to install_if handling | Timo Teräs | 2 | -4/+22 | |
2014-03-12 | audit: include all files in etc/apk in overlay | Timo Teräs | 3 | -40/+50 | |
This implements a new protected path flag '!' to include always matching entries in the backup mode (overlay). This is also turned on for etc/apk to include everything there in overlay, because the full list of repositories and signing keys need to be in overlay - just getting them from a package is not enough during bootstrap. | |||||
2014-03-11 | solver: fixes to install_if handling | Timo Teräs | 1 | -14/+21 | |
2014-03-07 | info: fix printing of 'replaces' field | Timo Teräs | 1 | -1/+1 | |
2014-02-03 | fetch: disable all progress/log output with --stdout | Natanael Copa | 1 | -1/+3 | |
2014-02-03 | fetch: disable progress when outputting pkg to stdout | Timo Teräs | 1 | -1/+4 | |
2014-01-06 | Revert "fetch: run quiet when --stdout" | Natanael Copa | 1 | -1/+0 | |
This reverts commit a99bedba6fa66cc55b30575b32b1359e22cfefb5. | |||||
2014-01-06 | apk: new option --print-arch | Natanael Copa | 1 | -0/+10 | |
Simply print the default arch and exit. This is so scripts don't need to parse the output of -V. | |||||
2013-12-10 | fetch: run quiet when --stdout | Natanael Copa | 1 | -0/+1 | |
Prevent the progressbar and status messages to mess up stdout. | |||||
2013-12-05 | print: flush on apk_log | Natanael Copa | 1 | -0/+1 | |
Makes it more useful whith pipes. | |||||
2013-10-11 | print: use stdout instead of stderr for logging and progress | Timo Teräs | 2 | -11/+10 | |
stdout is the proper place for it. this also fixes the progress bar in musl, which seems to not support using line buffering for stderr. | |||||
2013-10-02 | db: allow using cached packages with --no-network | Timo Teräs | 1 | -1/+1 | |
2013-10-01 | db, url: fix exec sentinels | Timo Teräs | 2 | -3/+3 | |
http://ewontfix.com/11/ | |||||
2013-09-20 | db: minor improvements to an error and a verbose log messages | Timo Teräs | 1 | -2/+2 | |
2013-09-20 | archive: fix handling of name lengths of exactly 100 bytes | Timo Teräs | 1 | -0/+3 | |
2013-09-20 | db: fix error message | Timo Teräs | 1 | -1/+1 | |
2013-09-10 | apk: new option --no-scripts | Timo Teräs | 3 | -2/+7 | |
to not run any per-package scripts. useful for managing buildroot when cross-compiling. | |||||
2013-09-06 | solver: if pinning is specified, it overrides preferred repos | Timo Teräs | 1 | -1/+1 | |
add also a test case for this | |||||
2013-09-05 | arch: use armhf for arm hardfloat eabi | Timo Teräs | 1 | -2/+2 | |
at least debian and musl do this, so let's go along with that. | |||||
2013-08-28 | apk: minor fix in help text and a whitespace fix | Natanael Copa | 1 | -2/+2 | |
2013-08-28 | search: implement --has-origin | Natanael Copa | 1 | -1/+15 | |
This option lets us search for all package with given origin. | |||||
2013-08-05 | commit: fix segfault | Natanael Copa | 1 | -1/+1 | |
apk would try run the trigger even if package failed to install. | |||||
2013-08-03 | commit: don't ask questions if simulating | Timo Teräs | 1 | -9/+9 | |
2013-07-17 | solver: do not disqualify already disqualified packages | Natanael Copa | 1 | -1/+1 | |
We should not disqualify non-selectable packages as it would mark it as dirty, forcing it to reconsider the name again, which could end up in an endless loop. fixes #2135 | |||||
2013-07-17 | db: fix segfault when --root points to invalid dir | Natanael Copa | 1 | -1/+3 | |
fixes #2134 | |||||
2013-07-08 | del: don't print own name as reverse dependency | Timo Teräs | 1 | -2/+8 | |
2013-07-08 | apk: give more space for applet descriptions on generic help | Timo Teräs | 1 | -1/+1 | |