Updating simple SlackBuilds
by drgibbon from LinuxQuestions.org on (#58GYJ)
I get tired of updating info files and SlackBuild version numbers by hand, so here's a Python script I wrote to do easy version bumps (sbup). It only works for simple SlackBuilds at the moment, and doesn't yet handle multi-line downloads (or download links that change by more than just the version number). It also does no GPG signature checking, but I'm not sure exactly how to automate that.
Anyway, you can see it in action here. If you have sbuild in your PATH somewhere it will offer to test the build in a chroot/overlayfs, and warn you if the script writes to the filesystem outside of /tmp. Comments, code etc welcome.


Anyway, you can see it in action here. If you have sbuild in your PATH somewhere it will offer to test the build in a chroot/overlayfs, and warn you if the script writes to the filesystem outside of /tmp. Comments, code etc welcome.