Crate debian_analyzer

Source
Expand description

Library for manipulating Debian packages.

Modules§

abstract_control
Abstract interface for editing debian packages, whether backed by real control files or debcargo files.
benfile
File parsing for the benfile format.
changelog
Functions for working with debian/changelog files.
config
Lintian-brush configuration file.
control
Tools for working with Debian control files.
debcargo
debcargo.toml file manipulation
debcommit
Functions for creating commits with debcommit-like behavior.
debhelper
Debhelper utilities.
detect_gbp_dch
Detect whether the changelog should be updated.
editor
Editing files
lintian
Lintian data structures and utilities
maintscripts
Maintscript file parsing and generation
patches
Functions for working with patches in a Debian package.
publish
Publishing utilities for updating Vcs-* headers and creating VCS repositories.
relations
Functions for working with package relations.
release_info
Debian and Ubuntu release information.
rules
This module provides functions to manipulate debian/rules file.
salsa
Salsa location guessing utilities
snapshot
Interacting with snapshot.debian.org
transition
Handling of transitions
vcs
Information about version control systems.
vendor
Information about the distribution vendor
versions
Debian version handling utilities.

Enums§

ApplyError
Error applying a change
Certainty
Certainty of a change.
ChangelogError
A changelog error

Constants§

DEFAULT_BUILDER
Default builder

Functions§

add_changelog_entry
Add an entry to a changelog.
apply_or_revert
Apply a change in a clean tree.
certainty_sufficient
Check if the actual certainty is sufficient.
control_file_present
Check whether there are any control files present in a tree.
control_files_in_root
Check whether the package in a tree has control files in the root, rather than in debian/.
gbp_dch
Run gbp dch
get_committer
Get the committer string for a tree
is_debcargo_package
Check whether the package in a tree uses debcargo.
min_certainty
Return the minimum certainty from a list of certainties.
parseaddr
Parse a Debian name and email address from a string.