aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* change apk audit letters to correspond to old sfic/lbu lettersNatanael Copa2009-05-061-2/+2
| | | | | A = "added" U = "updated"
* info: let -e print which packages are installedNatanael Copa2009-04-211-14/+30
|
* info: do not read the repositories as this tool only query the statedbNatanael Copa2009-04-213-15/+18
| | | | | | | | This allows you to query the state db even if you do not have write permissions in cache dir (which is needed if you have remote repositories) This should speed up things and save some memory if you have big and slow remote repositories.
* search: do not read the state db as this tool only query reposNatanael Copa2009-04-211-1/+1
| | | | This should be slightly faster and comsume less memory in theory
* url: rename to .backup rather than unlink before wgetNatanael Copa2009-04-211-1/+3
|
* db: do not assume root ends with '/'Natanael Copa2009-04-211-4/+4
|
* url: unlink file before trying to downloadNatanael Copa2009-04-211-0/+1
|
* db: improve error reportingNatanael Copa2009-04-211-6/+5
| | | | | | | apk_db_add_repository does its own error reporting and does not set errno reliable. This patch also tell which repository it failed to load the index for rather than just say it failed to open "APK_INDEX.gz" which does not tell much.
* db: fix bug in apk_repository_update()Natanael Copa2009-04-211-1/+1
|
* Makefile: add -nopie to LDFLAGSNatanael Copa2009-04-211-0/+1
|
* db: cache index files, 'update' appletTimo Teras2009-04-166-15/+177
| | | | | | Cache non-local index files always locally. Introduce 'update' applet to force refresh of cached index files. Fixes #19.
* pkg: clean up writing of dependenciesTimo Teras2009-04-168-99/+108
|
* pkg: apk_deps_del helper introducedTimo Teras2009-04-163-12/+23
|
* del: first remove all targets from world, and then calculate changesTimo Teras2009-04-161-4/+7
|
* pkg: fix apk v1.0 URL field importTimo Teras2009-04-161-1/+1
|
* db: fix addition of .apks not in any repositoryTimo Teras2009-04-161-1/+5
|
* build: rewrite make system to something slightly similar to kbuildTimo Teras2009-04-161-45/+12
| | | | | | Tracks now probler header file dependencies and command line parameters used to build files. E.g. changing CFLAGS rebuild all C-files. And changing version rebuild now the files where it's used.
* state: print also the changeset affect on installed-sizeTimo Teras2009-04-151-2/+13
|
* state: fix installation of package broken by autoclean patchTimo Teras2009-04-151-2/+3
|
* state: auto clean packagesTimo Teras2009-04-151-45/+164
| | | | | Automatically remove packages that are no longer required by a top level dependency.
* state: make package deletion saferTimo Teras2009-04-152-5/+13
| | | | | Refuse to delete explicitly specified top-level packages unless --force is specified.
* fetch: close downloaded file. unlink on failureNatanael Copa2009-04-151-0/+3
|
* state: do not derefence unallocated memoryTimo Teras2009-04-152-1/+8
| | | | | Enforce name_id to be within apk_state allocated area. New apk_name:s can be created later for e.g. unknown packages requested at command line.
* state: more uninitialized variables initializedTimo Teras2009-04-151-1/+1
|
* state: style fix, init variable at declarationNatanael Copa2009-04-151-2/+2
|
* state: fix bug with uninitialized variable 'latest'Natanael Copa2009-04-151-1/+1
|
* fetch: new applet to download .apk filesTimo Teras2009-04-159-26/+214
| | | | Fixes #24.
* state: rework changeset calculation algorithmTimo Teras2009-04-1413-236/+581
| | | | | | | | | | | | | | | | | | | | | | | | Calculate changesets directly by stabilizating the package graph instead of recalculating the whole graph and then diffing (similar approach as seen in 'smart' package manager). The algorithm is not complete: defferred search space forking is missing. So you don't always get a solution on complex graphs. Benefits: - usually the search state tree is smaller (less memory used) - speed relational to changeset size, not database size (usually faster) - touch only packages related to users request (can work on partitially broken state; upgrades only necessary packages, fixes #7) Also implemented: - command prompt to confirm operation if packages are deleted or downgraded - requesting deletion of package suggests removal of all packages depending on the package being removed (you'll get list of packages that also get removed if you want package X removed) - option --simulate to see what would have been done (mainly for testing) - an untested implementation of versioned dependencies and conflicts A lot has changed, so expect new bugs too.
* blob: add strspn helpersTimo Teras2009-04-142-1/+37
|
* info: option '-r' to print "required by" infoTimo Teras2009-04-141-43/+71
|
* db: track reverse dependenciesTimo Teras2009-04-142-0/+24
| | | | | | This will be used later by the commit change calculator (for improved changeset calculation, ref #7). Will be also used by "apk info" to show reverse dependencies or "required by" information.
* version: avoid end up in endless loop if we compare 2 equal invalid versionsNatanael Copa2009-04-131-1/+1
| | | | fixes issue with apk version -t asdf asdf
* version: allow more digits come after letterNatanael Copa2009-04-131-1/+4
| | | | | This is so we can handle arpwatch-2.1a15 This makes us not 100% compatible with Gentoo
* version: allow token letter after digit_or_zeroNatanael Copa2009-04-131-1/+2
| | | | | Otherwise we only allow letters after first digit, i.e 2a, 2b but not 2.2a, 2.2b etc.
* version: allow only TOKEN_LETTER after a digitNatanael Copa2009-04-031-1/+1
|
* ver: added --check/-c option to vaildate given version stringNatanael Copa2009-04-031-0/+17
|
* ver: test given version strings with -t or --testNatanael Copa2009-04-031-7/+41
|
* search: use fnmatch so we have support for wildcardsNatanael Copa2009-04-031-1/+2
|
* io: implement write cacheTimo Teras2009-03-171-4/+35
| | | | speeds up writing of package / file database.
* pkg: write dependencies directly file instead of bufferTimo Teras2009-03-173-6/+26
| | | | | So we don't get artificial limits on the amount of dependencies (fixes #8).
* Created search appletCameron Banta2009-03-073-29/+150
|
* Added -o option to apk info to list repository packagesCameron Banta2009-03-061-1/+29
|
* db: unlink apk-new if it is identical to existing configNatanael Copa2009-03-041-0/+3
|
* db: apk-new should be created if the existing file is modifiedTimo Teras2009-03-041-1/+1
|
* db: fix overwrite warningTimo Teras2009-03-041-2/+1
|
* apk: --force to overwrite filesTimo Teras2009-03-043-6/+15
|
* apk: --clean-protected optionTimo Teras2009-03-043-22/+22
| | | | So you will not get .apk-new files of the new configuration files.
* pkg: show warning if deprecated .INSTALL is present in packageTimo Teras2009-02-271-1/+14
|
* db: new apk to have separate install scripts for each actionTimo Teras2009-02-271-2/+6
|
* db: allow more than one --repository argNatanael Copa2009-02-173-6/+29
|