apk-tools/TODO

46 lines
1.4 KiB
Plaintext
Raw Normal View History

- confirm whether to act (show changeset-size, installed, removed) if
other packages affected then the ones explicitly specified
2008-11-07 07:53:44 +00:00
- Index/pkginfo reader: same field multiple times -> memleak
- Compress 'installed' and 'scripts'
2008-11-07 07:53:44 +00:00
- Repository support:
- always keep local copy of index
- cache .apks on USB stick when using network repo for reboot
- Error handling and rollback
- Dependency manipulation API: deletion, overwrite, check compatibility
- New user/group creation
- Non-trivial solution finder
- Versioned dependencies
- Conflicts
- Provides
- Order removal of packages to honour dependencies
- Create reverse dependencies for installed pkgs
- Remember counts for hash table creation
- Possibly create a token hash for package names, versions and licenses, etc.
- Option to not read fs entry cache
2008-11-07 07:53:44 +00:00
- Special packages?:
- alpine-core: refuse to remove, installed at reboot?
- alpine-sdk: to setup sdk environment
- Oldies:
add, delete: read (pkgs+fs), modify DEPs, recalc+commit+write (pkgs+fs)
fetch: read (pkgs), download remote packages
fetch -u: read (pkgs), download indexes, write (pkgs)
glob: read (pkgs), operate on package db
info: read (pkgs+fs), mostly on package db, might need .apks
version: read (pkgs), compare all installed pkg versions
- New:
deps: show master dependencies
index: new TARGET, scan packages, write INDEX (pkgs)
upgrade: read TARGET, mark upgrade flags, recalculate, commit (pkgs+fs)