Closed LostGhost1 closed 3 years ago
See my thoughts on this here: https://github.com/kisslinux/kiss/pull/169#issuecomment-653083828
Thanks for opening this issue.
PS You can implement this yourself via KISS_HOOK or even a simple wrapper around the package manager.
Another 'solution' is to create a package whose deps are all the packages you want for your system. See https://github.com/jedahan/repo-talyn/blob/main/talyn/depends .
The final result of the prototype in that mentioned PR is here: https://gist.github.com/FriendlyNeighborhoodShane/41593680b39c0c04cd82b5497ca25a26
It's not the solution to your exact request, but it serves all of my package maintainance needs.
I feel like what's currently present in contrib/kiss-orphans, a hardcoded list of packages that are supposed to be there, won't do.
The list could be a text file /var/db/kiss/installed-explicit and it could contain names of packages line-by-line.
Arguments to "kiss build" would be attached to the list upon successful compilation, if not already present Arguments to "kiss remove" would be removed from the list upon removal.
Seems simple enough, although I probably missed a few corner cases.
What do you think, dylan?