# Module Index

- gbp - The various things needed by git-buildpackage and friends
  - gbp.command_wrappers - Simple class wrappers for the various external commands needed by git-buildpackage and friends
  - gbp.config - handles command line and config file option parsing for the gbp commands
  - gbp.dch - provides git-dch helpers
  - gbp.deb - provides some debian source package related helpers
    - gbp.deb.changelog - A Debian Changelog
    - gbp.deb.control - A Debian Control file
    - gbp.deb.dscfile - provides some debian source package related helpers
    - gbp.deb.format - Parse debian/source/format
    - gbp.deb.git - A Git Repository that keeps a Debian Package
    - gbp.deb.policy - Debian Packaging policies
    - gbp.deb.pristinetar - Handle checkin and checkout of archives from the pristine-tar branch
    - gbp.deb.rollbackgit - A git repository for Debian packages that can roll back operations
    - gbp.deb.source - provides some debian source package related helpers
    - gbp.deb.upstreamsource - Debian-specific upstream sources
    - gbp.deb.uscan - Interface to uscan
  - gbp.errors - Errors raised in gbp commands
  - gbp.format - Format a message
  - gbp.git - Accessing Git from python
    - gbp.git.args - Git command argument handling helpers
    - gbp.git.commit - Git commit class and helpers
    - gbp.git.errors - Git base error exception
    - gbp.git.fastimport - Git fast import class
    - gbp.git.modifier - Someone who modifiers something in git
    - gbp.git.repository - A Git repository
    - gbp.git.vfs - Make blobs in a git repository accessible as file like objects
  - gbp.log - Simple colored logging classes
  - gbp.notifications - No module docstring; 1/4 functions, 0/1 variables documented
  - gbp.patch_series - Handle Patches and Patch Series
  - gbp.paths - Helpers to handle paths
  - gbp.pkg - Common functionality of the Debian/RPM package helpers
    - gbp.pkg.archive - Undocumented
    - gbp.pkg.compressor - Undocumented
    - gbp.pkg.git - A Git Repository that keeps a Distro Package
    - gbp.pkg.pkgpolicy - No module docstring; 1/1 classes documented
    - gbp.pkg.pristinetar - Handle checkin and checkout of archives from the pristine-tar branch
    - gbp.pkg.upstreamsource - No module docstring; 1/1 classes documented
  - gbp.rpm - provides some rpm source package related helpers
    - gbp.rpm.changelog - An RPM Changelog
    - gbp.rpm.git - No module docstring; 1/1 classes documented
    - gbp.rpm.lib_rpm - Wrapper module for librpm
    - gbp.rpm.linkedlist - Simple implementation of a doubly linked list
    - gbp.rpm.policy - Default packaging policy for RPM
  - gbp.scripts - The gbp commands
    - gbp.scripts.buildpackage - Build a Debian package out of a Git repository
    - gbp.scripts.buildpackage_rpm - Build an RPM package out of a Git repository
    - gbp.scripts.clone - Clone a Git repository and set it up for gbp
    - gbp.scripts.common - Parts shared between the deb and rpm commands
      - gbp.scripts.common.buildpackage - Common functionality for Debian and RPM buildpackage scripts
      - gbp.scripts.common.hook - Common code for runniing hooks
      - gbp.scripts.common.import_orig - Common functionality for import-orig scripts
      - gbp.scripts.common.pq - Common functionality for Debian and RPM patchqueue management
      - gbp.scripts.common.repo_setup - Common repository setup functionality.
    - gbp.scripts.config - Query and display config file values
    - gbp.scripts.create_remote_repo - Create a remote Git repository based on the current one
    - gbp.scripts.dch - Generate Debian changelog entries from Git commit messages
    - gbp.scripts.export_orig - Create orig tarballs from git
    - gbp.scripts.import_dsc - Import a Debian source package into a Git repository
    - gbp.scripts.import_dscs - Import multiple dsc files into Git in one go
    - gbp.scripts.import_orig - Import a new upstream version into a Git repository
    - gbp.scripts.import_ref - Import a new upstream version from a git branch onto the Debian branch
    - gbp.scripts.import_srpm - Import an RPM source package into a Git repository
    - gbp.scripts.pq - Manage Debian patches on a patch queue branch
    - gbp.scripts.pq_rpm - Manage RPM patches in a patch queue
    - gbp.scripts.pristine_tar - Perform pristine-tar import into a Git repository
    - gbp.scripts.pull - Pull remote changes and fast forward debian, upstream and pristine-tar branch
    - gbp.scripts.push - Push your changes to a remote
    - gbp.scripts.rpm_ch - Generate RPM changelog entries from git commit messages
    - gbp.scripts.supercommand - Supercommand for all gbp commands
    - gbp.scripts.tag - Create a Debian tag
  - gbp.tmpfile - Temporary directory handling
  - gbp.tristate - A switch with three states: on|off|auto
  - gbp.version - The current gbp version number
- doctests - No package docstring; 7/8 modules documented
  - doctests.test_Changelog - Test `gbp.deb.changelog.ChangeLog`
  - doctests.test_Config - Test `gbp.config.GbpOptionParser` Test `gbp.config.GbpOptionParserDebian`
  - doctests.test_Control - Test `gbp.deb.control.Control`
  - doctests.test_GitModifier - Test `gbp.git.GitModifier`
  - doctests.test_GitRepository - Test `gbp.git.GitRepository`
  - doctests.test_GitVfs - Test `gbp.git.GitVfs`
  - doctests.test_PristineTar - Test pristine-tar related methods in
  - doctests.test_create_remote_repo - No module docstring; 4/4 functions documented