As blogged about a while ago, I also wrote a very crude and simple
oscplugin for the lazy people (like me!) that applies some simple heuristics to pick the most informative build failure log, to avoid having to type the target distribution and architecture as parameters to
osc blWell, it's now available as a package, namely
osc-plugin-faillogTo install, add the home:pbleser:osc repository (pick a subdirectory that suits your distribution), and install the package
osc-plugin-faillogTo use it, just type
osc fwhile being in a package sandbox directory, exactly as with
osc bl(but without having to type e.g.
osc bl openSUSE_11.1 x86_64
:)). The "algorithm" is quite simple:
- if factory (
openSUSE_Factory, or anything else that has
factoryin its distribution name) failed, it will display the log for that
- if not, then it will pick the most recent openSUSE distribution target that failed (i.e.
rpmlintrules. Yes, it's simple and stupid, but it works -- at least for me. And indeed, it doesn't work for non-openSUSE distribution targets as of now.