Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-01-17 | db: database locking and creation to part of opening it | Timo Teras | 8 | -79/+111 | |
Add flags field to db open call. Also make error reporting quite a bit more detailed. | |||||
2009-01-17 | apk: added option --version/-V | Natanael Copa | 1 | -14/+25 | |
Both variants should work: apk --version apk <applet> --version | |||||
2009-01-17 | archive: set suid bit after chown if needed | Natanael Copa | 1 | -0/+6 | |
chown will reset the suid bit so we need to set it again. | |||||
2009-01-17 | del: proper ordering of file db entry deletion | Timo Teras | 2 | -6/+3 | |
2009-01-16 | db: apk_db_read_state() needs to be before apk_db_add_repository() | Timo Teras | 1 | -9/+13 | |
Otherwise installed db load fails due to internal reasons. This would cause a lot of other funny stuff happen. | |||||
2009-01-16 | db: make fetching from other than first repository work | Timo Teras | 1 | -2/+13 | |
2009-01-16 | index: write out only packages specified in command line | Timo Teras | 3 | -20/+33 | |
Ignore /etc/apk/repositories, so additional repositories that depend on other repositories need to have explicit --repository reference on command line when generating the index (to avoid warnings). | |||||
2009-01-16 | db: fix relative --root to work after apk_db_create call | Timo Teras | 1 | -0/+1 | |
This was broke on --initdb addition to add applet since apk_db_create changes the working directory. | |||||
2009-01-16 | add: --upgrade|-u to control if upgrading is preferred or not | Timo Teras | 8 | -21/+17 | |
2009-01-16 | Makefile: added 'make static' target to build apk.static | Natanael Copa | 1 | -0/+3 | |
2009-01-16 | url: allow wget report error messages | Natanael Copa | 1 | -2/+1 | |
2009-01-16 | apk: fix --root/-p option | Natanael Copa | 1 | -1/+1 | |
2009-01-16 | apk: short option for --root is -p | Natanael Copa | 1 | -1/+1 | |
Used to be so in the really old days of apk. | |||||
2009-01-16 | info: only show package desc when --verbose | Natanael Copa | 4 | -11/+17 | |
also introduce apk_verbosity. --quiet reduce verbosity and --verbose increases it. Default verbosity is 1. | |||||
2009-01-16 | db: set the perms to /var/lib/apk/* to 644 | Natanael Copa | 1 | -4/+4 | |
this allows non-root users to query the database. | |||||
2009-01-16 | db, hash: fix package purging/upgrading to update filedb properly | Timo Teras | 2 | -45/+81 | |
2009-01-16 | db: try create root in case it does not exist | Natanael Copa | 1 | -0/+1 | |
But we dont bother try create all subdirs (i.e mkdir -p ...) | |||||
2009-01-15 | db: index file location is a URL | Timo Teras | 3 | -1/+8 | |
2009-01-15 | apk: isalnum() takes only unsigned char values add explicit check for that | Timo Teras | 1 | -1/+2 | |
2009-01-14 | audit: new command to check changed files | Timo Teras | 4 | -15/+178 | |
Currently only implement --backup to get list of (config) files in protected directories to backup. This also fixes a database corruption bug in database.c. | |||||
2009-01-14 | db: keep only filename in file entries, hash by both directory and file | Timo Teras | 4 | -29/+77 | |
2009-01-13 | add: --initdb to replace create applet | Timo Teras | 4 | -53/+62 | |
2009-01-13 | db: hash files by name, instead of keep two directory lists | Timo Teras | 2 | -81/+62 | |
2009-01-13 | state: fix again changeset ordering | Timo Teras | 1 | -2/+2 | |
2009-01-13 | info: implement who owns packages query (apk_info -W) | Timo Teras | 4 | -8/+81 | |
In quiet mode e.g. "apk info -q -W <file list>" a list of dependencies suitable for .PKGINFO is output in one line. | |||||
2009-01-13 | state: fix generation of change-set to honour dependencies | Timo Teras | 1 | -2/+6 | |
2009-01-13 | apk: per applet options | Timo Teras | 10 | -46/+163 | |
2009-01-13 | state: install packages in dependency order (not reverse) | Timo Teras | 1 | -1/+1 | |
2009-01-13 | pkg: use generic blob functions to parse dependencies | Timo Teras | 1 | -38/+36 | |
2009-01-13 | apk: honour --root command line switch | Timo Teras | 1 | -1/+2 | |
Was broken by earlier ROOT environment commit. | |||||
2009-01-12 | apk: support for ROOT environment variable | Natanael Copa | 1 | -1/+5 | |
2009-01-11 | db, package: new dependency format, second try | Natanael Copa | 2 | -6/+6 | |
dependencies are separated with single space rather than ', '. makes db file slightly easier to parse from a shell script which might be handy. | |||||
2009-01-09 | Makefile: build the info applet | Natanael Copa | 1 | -0/+1 | |
2009-01-09 | info: new applet | Natanael Copa | 1 | -0/+43 | |
so far it only lists installed packages | |||||
2009-01-09 | Revert "db: change format for dependencies" | Natanael Copa | 1 | -3/+3 | |
This reverts commit b852d670a985c4da11b012707acaa63b8abdfadc. | |||||
2009-01-09 | db: report error when create db in non-existing dir | Natanael Copa | 1 | -1/+4 | |
2009-01-08 | db: change format for dependencies | Natanael Copa | 1 | -3/+3 | |
Each dep is separated with a single space. I.E: D:dep1 dep2 dep3 | |||||
2009-01-08 | db: allow comments and empty lines in repositories file | Natanael Copa | 1 | -0/+4 | |
2009-01-08 | src/database.c: get repository file from environment variable APK_REPOS | Natanael Copa | 1 | -2/+5 | |
Defaults to /etc/apk/repositories, absolute path and not relative the install root. | |||||
2009-01-08 | src/package.c: fix compiler warning on 64 bit hosts | Natanael Copa | 1 | -2/+2 | |
2009-01-07 | various: make fancy progress bar and update todo | Timo Teras | 11 | -119/+244 | |
2009-01-06 | db: rmdir() directories only on package purge | Timo Teras | 1 | -3/+10 | |
2009-01-06 | db: remove forgotten debug print | Timo Teras | 1 | -2/+0 | |
2009-01-06 | db, pkg: fix rest of memory leaks | Timo Teras | 3 | -1/+38 | |
2009-01-06 | io: fix some memory leaks | Timo Teras | 4 | -4/+15 | |
2009-01-06 | db: restructure in-memory organization | Timo Teras | 3 | -140/+195 | |
2009-01-06 | log: eliminate fortified build warning | Timo Teras | 1 | -1/+1 | |
2009-01-06 | archive: minor clean ups | Timo Teras | 1 | -2/+3 | |
2009-01-06 | io: check inner stream existance before creating gunzip stream | Timo Teras | 1 | -0/+3 | |
2009-01-06 | apk_array: clear newly allocated memory | Timo Teras | 1 | -1/+6 | |