Crate buildlog_consultant

Crate buildlog_consultant 

Source
Expand description

Buildlog-consultant provides tools for analyzing build logs to identify problems.

This crate contains functionality for parsing and analyzing build logs from various build systems, primarily focusing on Debian package building tools.

Modules§

apt
Module for handling apt-related logs and problems. Module for parsing and analyzing APT package manager logs.
autopkgtest
Module for processing autopkgtest logs. Module for parsing and analyzing autopkgtest logs.
brz
Module for Bazaar (brz) version control system logs. Module for parsing and analyzing Bazaar (brz) version control system logs.
common
Common utilities and helpers for build log analysis. Common utilities for analyzing build logs across different environments.
cudf
Module for Common Upgradeability Description Format (CUDF) logs. Module for parsing CUDF (Common Upgradeability Description Format) files.
lines
Module for line-level processing. Module providing utilities for working with collections of text lines.
match
Match-related functionality for finding patterns in logs. Module providing pattern matching functionality for log analysis.
problems
Module containing problem definitions for various build systems. Module containing problem definitions for various build systems.
sbuild
Module for handling sbuild logs and related problems. Module for parsing and analyzing Debian sbuild logs.

Macros§

regex_line_matcher
Macro for creating regex-based line matchers.
regex_para_matcher
Macro for creating regex-based paragraph matchers.

Structs§

MultiLineMatch
A match for multiple consecutive lines in a log file.
Origin
Source identifier for a match.
SingleLineMatch
A match for a single line in a log file.

Traits§

Match
Trait for representing a match of content in a log file.
Problem
Trait for representing a problem found in build logs.

Functions§

highlight_lines
Prints highlighted lines from a match with surrounding context.