debchange, debuild, dget, quilt: add pages (#4022)

client-spec/clarity
Pierre Rudloff 2020-05-14 17:07:23 +02:00 committed by Starbeamrainbowlabs
parent eb83f0ee73
commit 82f56cf95c
No known key found for this signature in database
GPG Key ID: 1BE5172E637709C2
4 changed files with 76 additions and 0 deletions

28
pages/common/quilt.md Normal file
View File

@ -0,0 +1,28 @@
# quilt
> Tool to manage a series of patches.
> More information: <https://savannah.nongnu.org/projects/quilt>.
- Import an existing patch from a file:
`quilt import {{path/to/filename.patch}}`
- Create a new patch:
`quilt new {{filename.patch}}`
- Add a file to the current patch:
`quilt add {{path/to/file}}`
- After editing the file, refresh the current patch with the changes:
`quilt refresh`
- Apply all the patches in the series file:
`quilt push -a`
- Remove all applied patches:
`quilt pop -a`

16
pages/linux/debchange.md Normal file
View File

@ -0,0 +1,16 @@
# debchange
> Tool for maintenance of the debian/changelog file in a Debian source package.
> More information: <https://manpages.debian.org/debchange>.
- Add a new version for a non-maintainer upload to the changelog:
`debchange --nmu`
- Add a changelog entry to the current version:
`debchange --append`
- Add a changelog entry to close the bug with specified ID:
`debchange --closes {{bug_id}}`

16
pages/linux/debuild.md Normal file
View File

@ -0,0 +1,16 @@
# debuild
> Tool to build a Debian package from source.
> More information: <https://manpages.debian.org/debuild>.
- Build the package in the current directory:
`debuild`
- Build a binary package only:
`debuild -b`
- Do not run lintian after building the package:
`debuild --no-lintian`

16
pages/linux/dget.md Normal file
View File

@ -0,0 +1,16 @@
# dget
> Download Debian packages.
> More information: <https://manpages.debian.org/dget>.
- Download a binary package:
`dget {{package_name}}`
- Download and extract a package source from its .dsc file:
`dget {{http://deb.debian.org/debian/pool/main/h/haskell-tldr/haskell-tldr_0.4.0-2.dsc}}`
- Download a package source tarball from its .dsc file but don't extract it:
`dget -d {{http://deb.debian.org/debian/pool/main/h/haskell-tldr/haskell-tldr_0.4.0-2.dsc}}`