Package devscripts

Scripts for Debian Package maintainers

https://packages.debian.org/sid/devscripts

Scripts to make the life of a Debian Package maintainer easier.

General Commands (Section 1)
annotate-output
annotate-output will execute the specified program, while prepending every line with the current time and O for stdout and E for stderr.
bts
This is a command line interface to the Debian Bug Tracking System (BTS), intended mainly for use by developers. It lets the BTS be manipulated using simple...
build-rdeps
build-rdeps searches for all packages that build-depend on the specified package. The default behaviour is to just `grep` for the given dependency in the...
chdist
chdist is a rewrite of what used to be known as 'MultiDistroTools' (or mdt). Its use is to create 'APT trees' for several distributions, making it easy to query...
cowpoke
Uploads a Debian source package to a cowbuilder host and builds it, optionally also signing and uploading the result to an incoming queue.
cvs-debc
cvs-debc is run from the CVS working directory after cvs-buildpackage or cvs-debuild. It uses the cvs-buildpackage system to locate the .changes file generated...
cvs-debi
cvs-debi is run from the CVS working directory after cvs-buildpackage or cvs-debuild. It uses the cvs-buildpackage system to locate the .changes file generated...
cvs-debrelease
cvs-debrelease is run from the CVS working directory after cvs-buildpackage or cvs-debuild. It uses the cvs-buildpackage system to locate the .changes file...
cvs-debuild
cvs-debuild is a wrapper around cvs-buildpackage to run it with debuild as the package-building program. (This cannot simply be accomplished using the -C option...
dcmd
dcmd replaces any reference to a .dsc or .changes file in the command line with the list of files in its 'Files' section, plus the file itself. It allows easy...
dcontrol
dcontrol queries a remote database of Debian binary and source package control files. It can be thought of as an apt-cache webservice that also operates for...
dd-list
dd-list produces nicely formatted lists of Debian (.deb) packages and their maintainers. Input is a list of source or binary package names on the command line...
debc
debc figures out the current version of a package and displays information about the .deb and .udeb files which have been generated in the current build...
debchange
debchange or its alias dch will add a new comment line to the Debian changelog in the current source tree. This command must be run from within that tree. If...
debcheckout
debcheckout retrieves the information about the Version Control System used to maintain a given Debian package (the PACKAGE argument), and then checks out the...
debclean
debclean walks through the directory tree starting at the directory tree in which it was invoked, and executes debian/rules clean for each Debian source...
debcommit
debcommit generates a commit message based on new text in debian/changelog, and commits the change to a package's repository. It must be run in a working copy...
debdiff
debdiff takes the names of two Debian package files (.debs or .udebs) on the command line and compares their contents (considering only the files in the main...
debi
debi figures out the current version of a package and installs it. If a .changes file is specified on the command line, the filename must end with .changes, as...
debpkg
debpkg simply invokes dpkg(1) but first becomes superuser so that dpkg is able to install and remove packages. It also cleans the environment and resets PATH to...
debrelease
debrelease is a simple wrapper around dupload or dput. It is called from within the source code tree of a package, and figures out the current version of a...
debrepro
debrepro will build a given source directory twice, with a set of variation between the first and the second build, and compare the binary packages produced. If...
deb-reversion
deb-reversion unpacks the specified .deb file, changes the version number in the relevant locations, appends a Debian changelog entry with the specified...
debrsign
debrsign takes either an unsigned .dsc file or an unsigned .changes file and the associated unsigned .dsc file (found by replacing the architecture name and...
debsign
debsign mimics the signing aspects (and bugs) of dpkg-buildpackage(1). It takes either an unsigned .dsc file or an unsigned .changes file (along with the...
debsnap
debsnap is a tool to help with retrieving snapshots of old packages from a daily archive repository. The only publicly available snapshot archive is currently...
debuild
debuild creates all the files necessary for uploading a Debian package. It first runs dpkg-buildpackage, then runs lintian on the .changes file created...
dep3changelog
dep3changelog extracts the DEP3 patch headers from the given patch files and builds a changelog entry for each patch. If the patch author differs from the one...
desktop2menu
desktop2menu generates a skeleton menu file from the supplied freedesktop.org desktop file. The package name to be used in the menu file may be passed as an...
devscripts
The devscripts package provides a collection of scripts which may be of use to Debian developers and others wishing to build Debian packages. For a summary of...
dget
dget downloads Debian packages. In the first form, dget fetches the requested URLs. If this is a .dsc or .changes file, then dget acts as a source-package aware...
diff2patches
Extracts patches from .diff.gz which apply to files outside the “debian/” directory scope. A patch is created for each modified file. Each patch is named...
dpkg-depcheck
This program runs the specified command under strace and then determines and outputs the packages used in the process. The list can be trimmed in various ways...
dpkg-genbuilddeps
This program is a wrapper around dpkg-depcheck(1). It should be run from the top of a Debian build tree. It calls dpkg-buildpackage with any arguments given on...
dscextract
dscextract reads a single file from a Debian source package. The idea is to only look into .diff.gz files (source format 1.0) or .debian.tar.gz/bz2 files...
dscverify
dscverify checks that the GPG signatures on the given .changes or .dsc files are good signatures made by keys in the current Debian keyrings, found in the...
edit-patch
edit-patch is a wrapper script around the Quilt, CDBS, and dpatch patch systems. It simplifies the process of preparing and editing patches to Debian source...
getbuildlog
getbuildlog downloads build logs of package from Debian auto-builders. It downloads build logs of all versions and for all architectures if version-pattern and...
grep-excuses
grep-excuses downloads the autoremovals and update_excuses.html files and greps them for the specified maintainer or package name. The wget package is required...
list-unreleased
Searches for packages whose changelogs indicate there are pending changes (UNRELEASED) and either lists them or displays the relevant changelog entry. By...
manpage-alert
manpage-alert searches the given list of paths for binaries without corresponding manpages. If no paths are specified on the command line, the path list /bin...
mass-bug
mass-bug assists in filing a mass bug report in the Debian BTS on a set of packages. For each package in the package-list file (which should list one package...
mergechanges
mergechanges merges two or more .changes files, merging the Architecture, Description and Files (and Checksums-*, if present) fields of the two. There are...
mk-build-deps
Given a package name and/or control file, mk-build-deps will use equivs to generate a binary package which may be installed to satisfy all the build...
mk-origtargz
mk-origtargz renames the given file to match what is expected by dpkg-buildpackage, based on the source package name and version in debian/changelog. It can...
namecheck
This is a simple tool to automate the testing of project names at the most common Open Source / Free Software hosting environments. Each new project requires a...
nmudiff
nmudiff should be run in the source tree of the package being NMUed, after the NMU is built. It assumes that the source packages (specifically, the .dsc and any...
origtargz
origtargz downloads the orig tarball of a Debian package, and also unpacks it into the current directory, if it just contains a debian directory. The main use...
plotchangelog
plotchangelog is a tool to aid in visualizing a Debian changelog. The changelogs are graphed with gnuplot(1) , with the X axis of the graph denoting time of...
pts-subscribe
pts-subscribe sends a subscription request for package to the Package Tracking System at pts@qa.debian.org, and cancels the subscription 30 days later. If...
rc-alert
rc-alert downloads the list of release-critical bugs from the Debian BTS webpages, and then outputs a list of packages installed on the system, or given on the...
rmadison
dak ls queries the Debian archive database ("projectb") and displays which package version is registered per architecture/component/suite. The CGI at...
sadt
sadt is a simple implementation of DEP-8 (“automatic as-installed package testing”) test runner. It is your responsibility to satisfy tests' dependencies. sadt...
suspicious-source
suspicious-source is a script that outputs a list of files which are not common source files. This should be run in the root of a source tree to find files...
svnpath
svnpath is intended to be run in a Subversion working copy. In its simplest usage, svnpath with no parameters outputs the svn url for the repository associated...
tagpending
tagpending parses debian/changelog to determine which bugs would be closed if the package were uploaded. Each bug is then marked as pending, using bts(1) if it...
transition-check
transition-check checks whether any of the listed source packages are involved in a transition for which uploads to unstable are currently blocked. If neither a...
uscan
For basic usage, uscan is executed without any arguments from the root of the Debianized source tree where you see the debian/ directory.
uupdate
uupdate modifies an existing Debian source code archive to reflect an upstream update supplied as a patch or from a wholly new source code archive. The utility...
what-patch
what-patch examines the debian/rules file to determine which patch system the Debian package is using. what-patch should be run from the root directory of the...
who-permits-upload
who-permits-upload looks up the given Debian Maintainer (DM) upload permissions from ftp-master.debian.org and parses them in a human readable way. The tool can...
who-uploads
who-uploads uses the Package Tracking System (PTS) to identify the uploaders of the three most recent versions of the given source packages. Note that the...
wnpp-alert
wnpp-alert downloads the lists of packages which have been orphaned (O), are up for adoption (RFA), or the maintainer has asked for help (RFH) from the WNPP...
wnpp-check
wnpp-check downloads the lists of packages which are listed as being packaged (ITPed) or for which a package has been requested (RFPed) from the WNPP website...
wrap-and-sort
wrap-and-sort wraps the package lists in Debian control files. By default the lists will only split into multiple lines if the entries are longer than the...