WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

openSUSE/logdetective-obs

Repository files navigation

logdetective-obs

OBS - Log detective integration tools

Repository to store documentation, scripts and tools for the integration of openSUSE openbuild service with log detective.

The goal is to use and improve the LLM AI from Log Detective for openSUSE packaging development. So we can have a simple plain text explanation for build failures.

In the future, if the model is good enough we can even get some kind of automated tools for categorization of build failures, or even get some kind of automated request creation with easy fix.

Features

  • 🧾 Fetches all failed build logs for a given package from OBS
  • 🧠 Optionally analyzes logs using the LogDetective model:
    • Run locally with the logdetective model.
    • Or use the hosted LogDetective API
  • 📂 Organizes logs and explanations into structured subfolders by package name

Installation

The following instructions have been tested on the latest opensuse:Tumbleweed.

Install the OBS command line tool osc

zypper in osc

Install the build-essentials

zypper install -y gcc gcc-c++ cmake # Install the compilers and CMake

Install the logdetective project using pip/pipx

pipx install logdetective

Then you can run the script file (eg. command)

python3 get-logs.py openSUSE:Factory -e

This repository is related to the 2025 Google Summer of Code project

About

OBS - Log detective integration tools

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages