prt-get functionality idea/suggestion - uninstalled port log
Good afternoon, I want to share a idea to extend the functionality of prt-get, based on my previous Slackware experience: when prt-get remove a package and have the log option enabled, remove the program log from /var/log/pkgbuild or move it to another directory (maybe pkgbuild_removed or something like that), as the Slackware package tools do (I do not mean by saying this that CRUX must be like to Slackware). The idea behind this is because the user can look in a directory which packages are installed in his machine and also, it help to know which packages has been removed. This also help to clean up /var/log/pkgbuild a little, because if the package was removed, I do not think that have a log file there it is helpfull (this is my personal opinion, of course). And when a removed port it is installed again, the log in the "removed directory" can be deleted. prt-get have an option to delete the log in a successful build, which it is great if you do not want to have a full directory with logs, and only pay your attention over those who failed in a build, but it does not have an option to keep track on uninstalled ports (or at least, I did not find it), and also, it does not clean /var/log/pkgbuild when the port it is uninstalled. I came a cross with this idea while I am writing Pkgfiles for ports in my repo, and as I have the log option enabled in prt-get, I have to remove them by hand after I uninstall a port (to keep the directory clean and mostly because I am testing the dependencies installed as well). Maybe adding a variable to control this setting as well in /etc/prt-get.conf, so the user can set it as he/she prefers. What do you think? Thanks in advance for read this and for CRUX! P.S.: sorry if my english is bad, it is not my primary language. samsep10l
participants (1)
-
Dark_Bakura