[Slackbuilds-users] Help offer

Thomas Szteliga ts at websafe.pl
Sun Nov 6 18:02:53 UTC 2016


On 11/06/2016 12:47 PM, David Spencer wrote:
> So the outline idea would be
>   - a submission arrives


Will we be able to download submissions from the pending queue?
That's a question to SlackBuilds.org maintainers :-)
https://slackbuilds.org/pending/


>   - our bot checks if it's a simple update, and how many packages
> depend on it -- including optional deps ;)


slpkg can do this (based on REQUIRES).
Short example with virt-manager:


# slpkg -t sbo virt-manager --check-deps
Resolving dependencies... Done

+====================================
| Package virt-manager dependencies :
+====================================
\
 +---[ Tree of dependencies ]
 |
 +--1: vala is dependency --> gtk-vnc, libosinfo, libvirt-glib,
spice-gtk, virt-manager, virt-viewer, vte3
 |
 +--2: celt051 is dependency --> spice, spice-gtk, virt-manager
 |
 +--3: pyparsing is dependency --> spice, spice-gtk, virt-manager
 |
 +--4: six is dependency --> spice, spice-gtk, virt-manager
 |
 +--5: spice-protocol is dependency --> spice, spice-gtk, virt-manager
 |
 +--6: spice is dependency --> spice-gtk, virt-manager
 |
 +--7: yajl is dependency --> libvirt, libvirt-glib, libvirt-python,
virt-manager
 |
 +--8: urlgrabber is dependency --> libvirt, libvirt-glib,
libvirt-python, virt-manager
 |
 +--9: libvirt is dependency --> libvirt-glib, libvirt-python, virt-manager
 |
 +--10: libosinfo is dependency --> virt-manager
 |
 +--11: libvirt-glib is dependency --> virt-manager
 |
 +--12: libvirt-python is dependency --> virt-manager
 |
 +--13: gnome-python2-gconf is dependency --> virt-manager
 |
 +--14: tunctl is dependency --> virt-manager
 |
 +--15: ipaddr-py is dependency --> virt-manager
 |
 +--16: python-urllib3 is dependency --> virt-manager
 |
 +--17: python-requests is dependency --> virt-manager
 |
 +--18: gtk-vnc is dependency --> virt-manager, virt-viewer
 |
 +--19: spice-gtk is dependency --> virt-manager
 |
 +--20: vte3 is dependency --> virt-manager



>   - if it's a simple update, and the total expected build time
> (including depending packages) is less than a threshold, throw all
> those builds and rebuilds at the automatic build queue (I already have
> a database of build times)
>   - if possible, do builds with multiple build tools (sbopkg sbotools
> slackrepo) because diverse tests catch more problems


And don't forget about slpkg: https://github.com/dslackw/slpkg


>   - do some automated tests on the final package (e.g. Heinz's lintpkg)


https://github.com/pprkut/lintpkg



-- 
Thomas Szteliga


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3719 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20161106/5a41c828/attachment.p7s>


More information about the SlackBuilds-users mailing list