aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* search: implement --has-originNatanael Copa2013-08-281-1/+15
| | | | This option lets us search for all package with given origin.
* commit: fix segfaultNatanael Copa2013-08-051-1/+1
| | | | apk would try run the trigger even if package failed to install.
* commit: don't ask questions if simulatingTimo Teräs2013-08-031-9/+9
|
* solver: do not disqualify already disqualified packagesNatanael Copa2013-07-171-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
* db: fix segfault when --root points to invalid dirNatanael Copa2013-07-171-1/+3
| | | | fixes #2134
* apk-tools-2.4.0_rc2Timo Teräs2013-07-081-1/+1
|
* del: don't print own name as reverse dependencyTimo Teräs2013-07-081-2/+8
|
* apk: give more space for applet descriptions on generic helpTimo Teräs2013-07-081-1/+1
|
* build: honor CPPFLAGSTimo Teräs2013-07-051-2/+2
|
* io: use fget{pw,gr}ent_r only on uclibc and glibcTimo Teräs2013-07-041-4/+23
| | | | musl does not have those.
* solver: use ffs (posix) instead of ffsl (gnu extension)Timo Teräs2013-07-041-1/+2
| | | | for musl compatibility
* upgrade: prefer not to upgrade dependencies during self-upgradeTimo Teräs2013-07-021-1/+1
|
* defines: detect endianess on arm, for armelTimo Teräs2013-07-021-0/+3
|
* Allow "apk search -x" for -eDubiousjim2013-06-301-1/+3
|
* apk: infrastructure for short-option-only synonymsDubiousjim2013-06-301-8/+9
|
* fix: improve usageDubiousjim2013-06-281-2/+2
| | | | Acked-by: Natanael Copa <ncopa@alpinelinux.org>
* version: clarify usageDubiousjim2013-06-281-3/+4
| | | | Acked-by: Natanael Copa <ncopa@alpinelinux.org>
* add, del: main dependencies -> 'world'Dubiousjim2013-06-282-2/+2
| | | | Acked-by: Natanael Copa <ncopa@alpinelinux.org>
* various: applet help text and comment fixesDubiousjim2013-06-2812-22/+21
| | | | Acked-by: Natanael Copa <ncopa@alpinelinux.org>
* build: lua module build fixesNatanael Copa2013-06-262-4/+6
| | | | | | | | - do not link with -llua. We should not link apk or lua module with it. - default to lua 5.2 - allow override the lua version with LUA_VERSION - allow override the lua pkg-config package with LUA_PC - only add the pkg-config lua --cflags to the lua module
* db: write ipkg flags in proper placeTimo Teräs2013-06-211-7/+8
|
* db: reset broken pkg state on reinstallTimo Teräs2013-06-211-0/+2
|
* commit: fix another re-installing misspelling to reinstallingTimo Teräs2013-06-211-1/+1
|
* apk-tools-2.4.0_rc1Timo Teräs2013-06-201-1/+1
|
* commit: fix ssize_t printingTimo Teräs2013-06-201-4/+5
|
* solver: fix pinning+cache to workTimo Teräs2013-06-205-24/+32
| | | | | Mistakenly allowed masked out package to be installed if it was in cache.
* commit, db: make file conflicts and script errors non-fatalTimo Teräs2013-06-208-138/+144
| | | | fixes #1482
* solver: fix package deletion to consier provides properlyTimo Teräs2013-06-193-28/+48
|
* all: few behavioural regression fixesTimo Teräs2013-06-196-5/+13
| | | | | | | | | 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.
* solver: properly order deletion of unneeded packagesTimo Teräs2013-06-196-75/+179
|
* applets: unify help message by removing final dotsTimo Teräs2013-06-1913-24/+16
|
* fetch, del: perform wildcard matchingTimo Teräs2013-06-192-88/+92
| | | | ref #511
* solver: add logic: transitive provides exclusionTimo Teräs2013-06-192-25/+67
| | | | | | | If name N is required, and all providers of A also provide B, it means that only instances of B can be selected that provide N. This is strong help with cases when so:libfoo.so.1 is updated to so:libfoo.so.2 and not everything is recompiled.
* apk: set automatic flags before parsing the optsNatanael Copa2013-06-191-1/+1
| | | | Otherwise we cannot override with --no-progress
* print: move progress bar update logic to apk_print_progressNatanael Copa2013-06-195-49/+48
| | | | | | | | | | | | | | | | | | | - let the apk_print functions deal with the forced print itself. We avoid that the callbacks need to deal with the force flag. We can also get rid of the APK_PRINT_PROGRESS_* defines. - let the reader of --progress-fd decide how often things are updated rather than having a fixed granularity off 1/100 (percent) - avoid detect screen size and percent/bar calculations in case the --no-progress was given - track satistics for both the ascii bar and percent info and update bar only if either percent or bar changes. This makes the bar go smoother when width is wider than 100 chars and it makes the percent counter go smooth when screen width is less thann 100 chars. It also simplifies the callbacks as they no longer need to deal with update granularity.
* del: fix a segfault when trying to delete uninstalled packagesTimo Teräs2013-06-191-1/+4
|
* print: percent arg for process_fd is integerNatanael Copa2013-06-191-1/+1
| | | | | | With commit 0a131418899436b58a163978176d99c08cbddb0c the percent variable became an integer instead of size_t. We fix the format modifier accordingly.
* dot: new option: --installedTimo Teräs2013-06-191-2/+13
| | | | to consider only installed packages
* upgrade: new option: --latest (-l)Timo Teräs2013-06-198-65/+134
| | | | | | | | | | | | | 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.
* errors: fix a test case, and misanalysis of certain namesTimo Teräs2013-06-182-1/+3
| | | | | | 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.
* policy: new appletTimo Teräs2013-06-184-6/+83
| | | | | to show different versions of package and the repositories from which it is available from.
* db: store repository tag names including leading @Timo Teräs2013-06-185-57/+67
|
* fix, info, ver: perform wildcard matchingTimo Teräs2013-06-184-120/+62
| | | | ref #511
* apk: use string array in applet mains, separate apk_name_foreach_matchingTimo Teräs2013-06-1819-214/+284
|
* url: fix fetching from local repositoriesNatanael Copa2013-06-182-5/+6
|
* errors: improve analysis for virtual packagesTimo Teräs2013-06-184-18/+35
| | | | | if all packages named N provide the virtual package, list only the name N instead of all packages providing it.
* all: various conversions to foreach_array_item, and simplifications of codeTimo Teräs2013-06-187-189/+109
|
* fetch: implement progress (fixes #1170)Timo Teräs2013-06-172-45/+65
|
* io: get rid of APK_PROGRESS_SCALETimo Teräs2013-06-175-30/+11
| | | | | no need to muldiv all the time, just pass the current amount of bytes done, and let callbacks use that directly.
* cache: implement progress bar (ref #1170)Timo Teräs2013-06-176-16/+51
|