A higher level API for libapk
Hello,
I think it would be nice if libapk used a friendlier, higher level API for dealing with package operations, so that projects like QtApk or apk-polkit don't have to wrap as much functionality.
Overall, I think the following functionality should be exposed via a higher level API:
- Add packages
- Delete packages
- Upgrading packages
- Querying information about a package
- Listing packages (and filtering, e.g. upgradable/installed)
- Open/Close the database
Other bits probably aren't too interesting for projects using libapk.