summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-04-16build: eliminate "Nothing to be done for `all'" messageTimo Teras1-1/+5
2009-04-16build: improve dependency file generationTimo Teras1-3/+2
2009-04-16pkg: clean up writing of dependenciesTimo Teras8-99/+108
2009-04-16pkg: apk_deps_del helper introducedTimo Teras3-12/+23
2009-04-16del: first remove all targets from world, and then calculate changesTimo Teras1-4/+7
2009-04-16pkg: fix apk v1.0 URL field importTimo Teras1-1/+1
2009-04-16db: fix addition of .apks not in any repositoryTimo Teras1-1/+5
2009-04-16build: rewrite make system to something slightly similar to kbuildTimo Teras4-103/+303
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.
2009-04-15todo: updateTimo Teras1-8/+2
2009-04-15state: print also the changeset affect on installed-sizeTimo Teras1-2/+13
2009-04-15state: fix installation of package broken by autoclean patchTimo Teras1-2/+3
2009-04-15state: auto clean packagesTimo Teras1-45/+164
Automatically remove packages that are no longer required by a top level dependency.
2009-04-15state: make package deletion saferTimo Teras2-5/+13
Refuse to delete explicitly specified top-level packages unless --force is specified.
2009-04-15fetch: close downloaded file. unlink on failureNatanael Copa1-0/+3
2009-04-15state: do not derefence unallocated memoryTimo Teras2-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.
2009-04-15state: more uninitialized variables initializedTimo Teras1-1/+1
2009-04-15state: style fix, init variable at declarationNatanael Copa1-2/+2
2009-04-15state: fix bug with uninitialized variable 'latest'Natanael Copa1-1/+1
2009-04-15fetch: new applet to download .apk filesTimo Teras9-26/+214
Fixes #24.
2009-04-14state: rework changeset calculation algorithmTimo Teras13-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.
2009-04-14blob: add strspn helpersTimo Teras2-1/+37
2009-04-14info: option '-r' to print "required by" infoTimo Teras1-43/+71
2009-04-14db: track reverse dependenciesTimo Teras2-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.
2009-04-14build: use version from git describe if availableTimo Teras1-3/+7
2009-04-13version: avoid end up in endless loop if we compare 2 equal invalid versionsNatanael Copa1-1/+1
fixes issue with apk version -t asdf asdf
2009-04-13version: allow more digits come after letterNatanael Copa1-1/+4
This is so we can handle arpwatch-2.1a15 This makes us not 100% compatible with Gentoo
2009-04-13version: allow token letter after digit_or_zeroNatanael Copa1-1/+2
Otherwise we only allow letters after first digit, i.e 2a, 2b but not 2.2a, 2.2b etc.
2009-04-03version: allow only TOKEN_LETTER after a digitNatanael Copa1-1/+1
2009-04-03ver: added --check/-c option to vaildate given version stringNatanael Copa1-0/+17
2009-04-03ver: test given version strings with -t or --testNatanael Copa1-7/+41
2009-04-03search: use fnmatch so we have support for wildcardsNatanael Copa1-1/+2
2009-03-202.0_pre10apk-tools-2.0_pre10Timo Teras1-1/+1
2009-03-17io: implement write cacheTimo Teras1-4/+35
speeds up writing of package / file database.
2009-03-17pkg: write dependencies directly file instead of bufferTimo Teras3-6/+26
So we don't get artificial limits on the amount of dependencies (fixes #8).
2009-03-07Created search appletCameron Banta3-29/+150
2009-03-06Added -o option to apk info to list repository packagesCameron Banta1-1/+29
2009-03-042.0_pre9apk-tools-2.0_pre9Timo Teras1-1/+1
2009-03-04db: unlink apk-new if it is identical to existing configNatanael Copa1-0/+3
2009-03-04db: apk-new should be created if the existing file is modifiedTimo Teras1-1/+1
2009-03-04db: fix overwrite warningTimo Teras1-2/+1
2009-03-04apk: --force to overwrite filesTimo Teras3-6/+15
2009-03-04apk: --clean-protected optionTimo Teras3-22/+22
So you will not get .apk-new files of the new configuration files.
2009-02-27pkg: show warning if deprecated .INSTALL is present in packageTimo Teras1-1/+14
2009-02-27db: new apk to have separate install scripts for each actionTimo Teras1-2/+6
2009-02-17db: allow more than one --repository argNatanael Copa3-6/+29
2009-02-12release 2.0_pre8apk-tools-2.0_pre8Natanael Copa1-1/+1
2009-02-08db: do not allow overwrite busybox linksNatanael Copa1-2/+1
we let bb use /bin and /sbin, all packages overriding busybox must install the bins in /usr/bin and /usr/sbin
2009-02-08info: list contents follw same style as list dependsNatanael Copa1-6/+7
- empty lines comes after not before - separate pkgname with : when using -v option
2009-02-08info: implement -R/--depends to show dependenciesNatanael Copa1-1/+42
2009-01-23release 2.0_pre7apk-tools-2.0_pre7Natanael Copa1-1/+1