What other functionalities would like to have on sbopkg
I would like to update packages according to their dependencies in their original queue files. Thus if I need to upgrade package A and B, but A depends on B, then sbopkg would get the order right from the original queue files. If C also depended on B, then maybe you would like to re-build it as well. I had written a script that does this for me but it is just a script and therefore not integrated in sbopkg.
I would also like to see some clever way to uninstall packages. If I would like to uninstall package A, but B was only installed as a dependency for A, then sbopkg would let me know and offer the option of removing both.
If I would like to uninstall B, it would be nice to warn you that A and C depend on B.
sbopkg does not uninstall packages, but it might be helpful if the queue files have been carefully compiled.
I would also like to optionally ignore md5sum checksum errors; they are pretty useless most of the time, and there is not much to do about them.
+1 for including queues as a built in part of sbopkg, however if a package includes an optional dependency this could be a problem for some people. Should the queue only contain the files that are essential or should it include all?
When you build a package you list your dependencies in a queue file. At that point there are no optional dependencies, they are either in the queue file or not. When upgrading, the same queue file would be referred.
I am attaching my upgrade script. I had written it some time ago and I did not maintain it much. Most of the time it works, and occasionally it fails:-
|All times are GMT -5. The time now is 03:16 AM.|