### Install from specific .changes file Source: https://context7.com/debian/devscripts/llms.txt Use 'debi' with the path to a .changes file to install the Debian packages listed within it. ```bash debi ../package_1.0-1_amd64.changes ``` -------------------------------- ### Install package from source directory Source: https://context7.com/debian/devscripts/llms.txt Navigate to the package's source directory and run 'debi' to install the currently built version of the Debian package. ```bash cd /path/to/package-source debe ``` -------------------------------- ### Use specific tool for installation Source: https://context7.com/debian/devscripts/llms.txt The '--tool' option allows specifying an alternative command (e.g., 'apt-get') for 'debi' to use for installing the packages. ```bash debi --tool "apt-get -y" ../package_1.0-1_amd64.changes ``` -------------------------------- ### Generate and install build-dependency package Source: https://context7.com/debian/devscripts/llms.txt Use `mk-build-deps -i` to both generate the build-dependency package and immediately install it using the system's package manager. ```bash mk-build-deps -i debian/control ``` -------------------------------- ### Install multiarch .changes file Source: https://context7.com/debian/devscripts/llms.txt Use the '--multi' option with 'debi' to correctly handle installation from .changes files that contain packages for multiple architectures. ```bash debi --multi ``` -------------------------------- ### Install build-deps and remove the .deb afterwards Source: https://context7.com/debian/devscripts/llms.txt Combine installation (`-i`) with automatic removal (`-r`) of the generated build-dependency package after its dependencies are satisfied. ```bash mk-build-deps -i -r debian/control ``` -------------------------------- ### Install with dependency resolution Source: https://context7.com/debian/devscripts/llms.txt Use 'debi --with-depends' to instruct 'debi' to attempt to resolve and install any missing dependencies required by the package. ```bash debi --with-depends ../package_1.0-1_amd64.changes ``` -------------------------------- ### Use a specific installation tool with mk-build-deps Source: https://context7.com/debian/devscripts/llms.txt Customize the package installation command using the `-t` option. This allows specifying alternative package managers or adding specific flags. ```bash mk-build-deps -i -t "apt-get -y --no-install-recommends" debian/control ``` -------------------------------- ### Install specific packages from .changes file Source: https://context7.com/debian/devscripts/llms.txt Specify individual package names after the .changes file path to install only those particular packages using 'debi'. ```bash debi ../package_1.0-1_amd64.changes package-core package-utils ``` -------------------------------- ### Extract downloaded source Source: https://context7.com/debian/devscripts/llms.txt By default, 'dget -x' extracts the source code after downloading. This example shows downloading and extracting from a .dsc URL. ```bash dget -x https://example.com/package_1.0-1.dsc ``` -------------------------------- ### Cross-compilation setup with mk-build-deps Source: https://context7.com/debian/devscripts/llms.txt Specify the target host architecture for cross-compilation using the `--host-arch` option when generating build dependencies. ```bash mk-build-deps --host-arch arm64 debian/control ``` -------------------------------- ### Only upgrade already-installed packages Source: https://context7.com/debian/devscripts/llms.txt Use 'debi --upgrade' to ensure that only packages already present on the system are upgraded, preventing new installations. ```bash debi --upgrade ../package_1.0-1_amd64.changes ``` -------------------------------- ### Send multiple commands to BTS Source: https://context7.com/debian/devscripts/llms.txt The 'bts' command can send multiple commands in a single invocation. This example sets the severity and adds a tag to a bug report. ```bash bts severity 123456 normal , tag 123456 + wontfix ``` -------------------------------- ### Compare two binary Debian packages Source: https://context7.com/debian/devscripts/llms.txt Use 'debdiff' to compare the contents of two binary Debian package files (.deb). This helps identify differences in installed files. ```bash debdiff package_1.0-1_amd64.deb package_1.0-2_amd64.deb ``` -------------------------------- ### Get current user information from Salsa GitLab Source: https://context7.com/debian/devscripts/llms.txt Use `salsa whoami` to retrieve information about the authenticated user on salsa.debian.org. ```bash salsa whoami ``` -------------------------------- ### Get the last CI status for a project on Salsa GitLab Source: https://context7.com/debian/devscripts/llms.txt Check the status of the most recent CI pipeline for a project on salsa.debian.org using `salsa last_ci_status`. Format is `group/project`. ```bash salsa last_ci_status js-team/nodejs ``` -------------------------------- ### Generate build-dependency package from control file Source: https://context7.com/debian/devscripts/llms.txt Create a dummy package to satisfy build dependencies by running `mk-build-deps` with the path to the `debian/control` file. ```bash mk-build-deps debian/control ``` -------------------------------- ### Build after download Source: https://context7.com/debian/devscripts/llms.txt Use 'dget --build' to automatically attempt to build the package after successfully downloading and extracting the source. ```bash dget --build devscripts ``` -------------------------------- ### Download all binary packages for a source package Source: https://context7.com/debian/devscripts/llms.txt The '--all' option with 'dget' downloads all associated binary packages for a given source package. ```bash dget --all devscripts ``` -------------------------------- ### Download source package by name Source: https://context7.com/debian/devscripts/llms.txt Use 'dget' to download the source package for 'devscripts' from configured APT sources. ```bash dget devscripts ``` -------------------------------- ### Create a new repository on Salsa GitLab Source: https://context7.com/debian/devscripts/llms.txt Initialize a new repository on salsa.debian.org with `salsa create_repo`. Requires a repository name and the target group. ```bash salsa create_repo mypackage --group debian ``` -------------------------------- ### Upload built Debian package using default configuration Source: https://context7.com/debian/devscripts/llms.txt Execute `debrelease` without arguments to upload a built Debian package using the default `dput` or `dupload` configuration found in `~/.dput.cf`. ```bash debrelease ``` -------------------------------- ### Simulate Debian package upload (dry run) Source: https://context7.com/debian/devscripts/llms.txt Perform a dry run of the upload process with `debrelease -S` or `--simulate`. This checks configurations and simulates steps without actually uploading. ```bash debrelease -S ``` -------------------------------- ### Backup existing files Source: https://context7.com/debian/devscripts/llms.txt The '--backup' option for 'dget' creates backups of any existing files that would be overwritten during the download. ```bash dget --backup devscripts ``` -------------------------------- ### Format all supported Debian control files Source: https://context7.com/debian/devscripts/llms.txt Run `wrap-and-sort` without arguments to format all supported files within the `debian/` directory, ensuring consistent line wrapping and dependency sorting. ```bash wrap-and-sort ``` -------------------------------- ### Compare multiple debs using from/to syntax Source: https://context7.com/debian/devscripts/llms.txt The '--from' and '--to' options allow comparing multiple Debian packages specified in groups. ```bash debdiff --from old1.deb old2.deb --to new1.deb new2.deb ``` -------------------------------- ### Use a specific GPG program with debsign Source: https://context7.com/debian/devscripts/llms.txt Specify the GPG executable to use for signing with the `-p` or `--gpg-program` option. Ensure the specified GPG program is in your PATH. ```bash debsign -pgpg2 package_1.0-1_amd64.changes ``` -------------------------------- ### Download package from URL Source: https://context7.com/debian/devscripts/llms.txt Download a Debian source package directly from a URL using 'dget'. It typically requires a .dsc file. ```bash dget https://example.com/pool/main/d/devscripts/devscripts_2.21.6.dsc ``` -------------------------------- ### Sort and wrap dependencies with wrap-and-sort Source: https://context7.com/debian/devscripts/llms.txt Apply both sorting and line wrapping to dependency fields in Debian control files using the `-a` flag. ```bash wrap-and-sort -a ``` -------------------------------- ### Download without extracting Source: https://context7.com/debian/devscripts/llms.txt Use 'dget -d' to download the package files without automatically extracting the source code. ```bash dget -d devscripts ``` -------------------------------- ### Download specific version of a package Source: https://context7.com/debian/devscripts/llms.txt Specify the exact version of a package to download using the 'packagename=version' syntax with 'dget'. ```bash dget devscripts=2.21.6 ``` -------------------------------- ### Keep the first entry at the top with wrap-and-sort Source: https://context7.com/debian/devscripts/llms.txt The `-k` option preserves the first entry in a list (e.g., `Build-Depends`) at the top, which can be useful for maintaining specific ordering conventions like those used by debhelper. ```bash wrap-and-sort -k ``` -------------------------------- ### Upload Debian package from a specific directory Source: https://context7.com/debian/devscripts/llms.txt Use the `--debs-dir` option to tell `debrelease` where to find the built packages if they are not in the current directory. ```bash debrelease --debs-dir ../build-results ``` -------------------------------- ### Quiet mode for dget Source: https://context7.com/debian/devscripts/llms.txt Use 'dget -q' to run in quiet mode, suppressing most output during the download process. ```bash dget -q devscripts ``` -------------------------------- ### Upload Debian package to a specific host Source: https://context7.com/debian/devscripts/llms.txt Specify the target upload host (e.g., 'mentors') using the `-t` or `--target` option with `debrelease`. ```bash debrelease -t mentors ``` -------------------------------- ### Compare two .changes files Source: https://context7.com/debian/devscripts/llms.txt Compare two .changes files to see differences in the packages they describe. This is useful for tracking changes between builds. ```bash debdiff package_1.0-1_amd64.changes package_1.0-2_amd64.changes ``` -------------------------------- ### Allow unauthenticated sources Source: https://context7.com/debian/devscripts/llms.txt Use 'dget --allow-unauthenticated' to download packages from sources that do not have valid GPG signatures or authentication. ```bash dget --allow-unauthenticated https://example.com/package.dsc ``` -------------------------------- ### Push local repository to Salsa with configurations Source: https://context7.com/debian/devscripts/llms.txt Upload a local repository to salsa.debian.org using `salsa push_repo`. Supports configuring CI/CD (`--kgb`) and IRC notifications (`--irc`). ```bash salsa push_repo . --group js-team --kgb --irc devscripts ``` -------------------------------- ### Format debian/tests/control with wrap-and-sort Source: https://context7.com/debian/devscripts/llms.txt Use the `-f` option to format specific files outside the main `debian/` directory, such as `debian/tests/control`. ```bash wrap-and-sort -f debian/tests/control ``` -------------------------------- ### Build Debian Packages with debuild Source: https://context7.com/debian/devscripts/llms.txt Use debuild to automate the package build process, including environment sanitization, lintian checks, and GPG signing. ```bash # Build a package from the source directory (basic usage) cd /path/to/package-source debuild # Build binary-only package without signing debuild -i -us -uc -b # Build source-only package debuild -i -us -uc -S # Build with specific GPG key debuild -k0x12345678 # Build using fakeroot (default) with lintian options debuild --lintian-opts -i # Preserve specific environment variable during build debuild -e CC=gcc-10 # Build with custom root command debuild -rfakeroot # Skip lintian checks debuild --no-lintian # Set environment variable for build debuild --set-envvar CFLAGS="-O2 -g" # Check build dependencies before building debuild -D ``` -------------------------------- ### Checkout a repository from Salsa GitLab Source: https://context7.com/debian/devscripts/llms.txt Clone a repository from salsa.debian.org using `salsa checkout`. Specify the repository name and optionally the group. ```bash salsa checkout devscripts --group debian ``` -------------------------------- ### Lint mode for editor integration Source: https://context7.com/debian/devscripts/llms.txt Run 'checkbashisms --lint' for integration with editors, providing output suitable for real-time feedback on potential bashisms. ```bash checkbashisms --lint myscript.sh ``` -------------------------------- ### Sign .changes file Source: https://context7.com/debian/devscripts/llms.txt Use 'debsign' to sign a .changes file, which also signs the associated .dsc and .buildinfo files, updating checksums. ```bash debsign package_1.0-1_amd64.changes ``` -------------------------------- ### Open bug in web browser Source: https://context7.com/debian/devscripts/llms.txt The 'bts --web show' command opens a specific bug report in the default web browser. ```bash bts --web show 123456 ``` -------------------------------- ### Query multiple packages with rmadison Source: https://context7.com/debian/devscripts/llms.txt Provide multiple package names as arguments to `rmadison` to query their status simultaneously. ```bash rmadison devscripts dpkg-dev lintian ``` -------------------------------- ### Fork a repository from Salsa GitLab Source: https://context7.com/debian/devscripts/llms.txt Create a personal fork of a repository hosted on salsa.debian.org using `salsa fork`. Specify the source repository in `group/project` format. ```bash salsa fork debian/devscripts ``` -------------------------------- ### Compare control files with wdiff Source: https://context7.com/debian/devscripts/llms.txt Use 'debdiff --controlfiles' to compare control files (like postinst) between Debian packages, optionally using wdiff for detailed comparison. ```bash debdiff --controlfiles control,postinst old.deb new.deb ``` -------------------------------- ### Sign a .commands file for dcut using debsign Source: https://context7.com/debian/devscripts/llms.txt The `debsign` command can also be used to sign `.commands` files, typically for use with tools like `dcut`. ```bash debsign mycommands.commands ``` -------------------------------- ### Format a specific Debian control file Source: https://context7.com/debian/devscripts/llms.txt Use the `-f` option with `wrap-and-sort` to specify a single file for formatting, such as `debian/control`. ```bash wrap-and-sort -f debian/control ``` -------------------------------- ### bts - Bug Tracking System Interface Source: https://context7.com/debian/devscripts/llms.txt The bts command provides a CLI interface to interact with the Debian Bug Tracking System (BTS). ```APIDOC ## bts ### Description Manages bug reports, tags, and status updates in the Debian BTS. ### Method CLI Command ### Parameters - **show [bug_id]** (command) - Required - Show bug information - **bugs [package]** (command) - Optional - Show bugs for a package - **tag [bug_id] [tags]** (command) - Optional - Tag a bug - **severity [bug_id] [level]** (command) - Optional - Set bug severity - **close [bug_id] [version]** (command) - Optional - Close a bug - **reassign [bug_id] [package]** (command) - Optional - Reassign bug to another package ``` -------------------------------- ### Include directory comparisons with debdiff Source: https://context7.com/debian/devscripts/llms.txt Use the '-d' option with 'debdiff' to include comparisons of directories within the Debian packages. ```bash debdiff -d package_1.0-1_amd64.deb package_1.0-2_amd64.deb ``` -------------------------------- ### Query Ubuntu archive with rmadison Source: https://context7.com/debian/devscripts/llms.txt Query package information specifically from the Ubuntu archive using the `-u` or `--ubuntu` option. ```bash rmadison -u ubuntu devscripts ``` -------------------------------- ### debuild - Build a Debian Package Source: https://context7.com/debian/devscripts/llms.txt The debuild command is a wrapper around dpkg-buildpackage that automates the package build process, including environment sanitization, lintian checks, and GPG signing. ```APIDOC ## debuild ### Description Builds a Debian package from source, handling signing, lintian checks, and environment setup. ### Method CLI Command ### Parameters - **-i** (flag) - Optional - Ignore diffs of files - **-us** (flag) - Optional - Do not sign source package - **-uc** (flag) - Optional - Do not sign .changes file - **-b** (flag) - Optional - Binary-only build - **-S** (flag) - Optional - Source-only build - **-k[keyid]** (string) - Optional - Use specific GPG key - **-e[var=val]** (string) - Optional - Preserve or set environment variable - **-D** (flag) - Optional - Check build dependencies before building - **--no-lintian** (flag) - Optional - Skip lintian checks ``` -------------------------------- ### Upload source-only Debian changes Source: https://context7.com/debian/devscripts/llms.txt Use the `--source` option with `debrelease` to upload only the source package and associated changes, omitting binary packages. ```bash debrelease --source ``` -------------------------------- ### Set package architecture with mk-build-deps Source: https://context7.com/debian/devscripts/llms.txt Define the architecture for which the package is being built using the `--arch` option. ```bash mk-build-deps --arch amd64 debian/control ``` -------------------------------- ### Search for a project on Salsa GitLab Source: https://context7.com/debian/devscripts/llms.txt Find projects on salsa.debian.org using `salsa search_project`. Provide a search term to filter results. ```bash salsa search_project devscripts ``` -------------------------------- ### Interact with Debian Bug Tracking System using bts Source: https://context7.com/debian/devscripts/llms.txt The bts command provides a CLI interface for managing bug reports, including tagging, reassigning, and closing issues. ```bash # Show bug information bts show 123456 # Show bugs for a package bts bugs devscripts # Show your bugs (requires DEBEMAIL set) bts bugs # Tag a bug bts tag 123456 + confirmed patch # Set bug severity bts severity 123456 serious # Reassign bug to another package bts reassign 123456 other-package # Close a bug bts close 123456 1.2.3-1 # Merge duplicate bugs bts merge 123456 789012 # Mark bug as forwarded upstream bts forwarded 123456 https://github.com/user/project/issues/42 # Add user tags bts user your@email.com usertag 123456 + mytag # Set bug title bts retitle 123456 "New bug title" ``` -------------------------------- ### Sort binary packages in control file Source: https://context7.com/debian/devscripts/llms.txt Use the `-b` option with `wrap-and-sort` to sort the list of binary packages declared in the `Package` field of a control file. ```bash wrap-and-sort -b ``` -------------------------------- ### Cache bug pages locally Source: https://context7.com/debian/devscripts/llms.txt Use 'bts --cache-mode=mbox cache' to store bug report pages locally for offline access or faster retrieval. ```bash bts --cache-mode=mbox cache 123456 ``` -------------------------------- ### Sort only (no wrapping) with wrap-and-sort Source: https://context7.com/debian/devscripts/llms.txt Apply sorting to dependency lists but skip line wrapping using the `--sort-only` option. ```bash wrap-and-sort --sort-only ``` -------------------------------- ### Show extra context for analysis Source: https://context7.com/debian/devscripts/llms.txt Use 'checkbashisms --extra' to display additional context around detected bashisms, aiding in analysis and correction. ```bash checkbashisms --extra myscript.sh ``` -------------------------------- ### Check repository configuration on Salsa GitLab Source: https://context7.com/debian/devscripts/llms.txt Verify repository configurations on salsa.debian.org using `salsa check_repo`. Can check all repositories (`--all`) and specific features (`--kgb`, `--tagpending`). ```bash salsa check_repo --group debian --all --kgb --tagpending ``` -------------------------------- ### Query binary packages only with rmadison Source: https://context7.com/debian/devscripts/llms.txt Use the `-b` flag with `rmadison` to retrieve information only for binary packages. ```bash rmadison -b devscripts ``` -------------------------------- ### Compare two source Debian packages Source: https://context7.com/debian/devscripts/llms.txt Use 'debdiff' with .dsc files to compare the source code and metadata of two Debian source packages. ```bash debdiff package_1.0-1.dsc package_1.0-2.dsc ``` -------------------------------- ### Sign source-only .changes file Source: https://context7.com/debian/devscripts/llms.txt Use the '-S' option with 'debsign' to sign only the source components of a package, typically when only source files are being uploaded. ```bash debsign -S ``` -------------------------------- ### Check specific path for cached files Source: https://context7.com/debian/devscripts/llms.txt The '--path' option allows 'dget' to look for cached package files in a specified directory. ```bash dget --path /var/cache/pbuilder/result package ``` -------------------------------- ### Exit on first error Source: https://context7.com/debian/devscripts/llms.txt The '--early-fail' option causes 'checkbashisms' to stop processing and exit immediately upon encountering the first detected bashism. ```bash checkbashisms --early-fail myscript.sh ``` -------------------------------- ### Sign a Debian package from a specific debs directory Source: https://context7.com/debian/devscripts/llms.txt Use the `--debs-dir` option to specify an alternative directory for Debian build artifacts when signing. ```bash debsign --debs-dir ../build-results ``` -------------------------------- ### Use short indent with wrap-and-sort Source: https://context7.com/debian/devscripts/llms.txt Apply a minimal indent (one space) for wrapped lines using the `-s` flag. This affects how long dependency lists are formatted. ```bash wrap-and-sort -s ``` -------------------------------- ### Sign files on remote host Source: https://context7.com/debian/devscripts/llms.txt The '-r' option allows 'debsign' to sign files located on a remote build host via SSH. ```bash debsign -r user@buildhost:~/packages/package_1.0-1_amd64.changes ``` -------------------------------- ### Query source packages only with rmadison Source: https://context7.com/debian/devscripts/llms.txt Use the `-S` flag with `rmadison` to retrieve information only for source packages. ```bash rmadison -S devscripts ``` -------------------------------- ### Wrap only (no sorting) with wrap-and-sort Source: https://context7.com/debian/devscripts/llms.txt Perform only line wrapping on Debian control files without altering the order of dependencies by using the `--wrap-only` flag. ```bash wrap-and-sort --wrap-only ``` -------------------------------- ### Generate build-deps from a package name Source: https://context7.com/debian/devscripts/llms.txt If the package is available in repositories, `mk-build-deps` can generate the build-dependency package directly from the package name, fetching its control information via apt. ```bash mk-build-deps mypackage ``` -------------------------------- ### Query specific architecture with rmadison Source: https://context7.com/debian/devscripts/llms.txt Limit `rmadison` query results to a specific architecture (e.g., 'amd64') using the `-a` or `--arch` option. ```bash rmadison -a amd64 devscripts ``` -------------------------------- ### Look for packages in specific directory Source: https://context7.com/debian/devscripts/llms.txt The '--debs-dir' option tells 'debi' to search for .deb files in a directory other than the current one. ```bash debi --debs-dir /var/cache/pbuilder/result ``` -------------------------------- ### Check multiple shell scripts for bashisms Source: https://context7.com/debian/devscripts/llms.txt Analyze multiple shell scripts simultaneously for bashisms by providing them as arguments to 'checkbashisms'. ```bash checkbashisms script1.sh script2.sh script3.sh ``` -------------------------------- ### Sign with specific maintainer name Source: https://context7.com/debian/devscripts/llms.txt Use the '-m' option with 'debsign' to specify the maintainer's name and email for the signature. ```bash debsign -m "John Doe " package_1.0-1_amd64.changes ``` -------------------------------- ### Generate only Build-Depends-Indep with mk-build-deps Source: https://context7.com/debian/devscripts/llms.txt Use the `-A` flag to generate dependencies exclusively for `Build-Depends-Indep`, omitting `Build-Depends`. ```bash mk-build-deps -A debian/control ``` -------------------------------- ### Search for a user on Salsa GitLab Source: https://context7.com/debian/devscripts/llms.txt Find users on salsa.debian.org using `salsa search_user`. Enter a username to search. ```bash salsa search_user username ``` -------------------------------- ### Handle file moves between packages Source: https://context7.com/debian/devscripts/llms.txt The '--move' option in 'debdiff' helps track files that have been moved between package versions or locations. ```bash debdiff --move /usr/share/doc/old /usr/share/doc/new old.deb new.deb ``` -------------------------------- ### Show moved files between packages Source: https://context7.com/debian/devscripts/llms.txt Use 'debdiff --show-moved' to specifically list files that have been moved between the compared Debian packages. ```bash debdiff --show-moved old.changes new.changes ``` -------------------------------- ### Include diffstat in output Source: https://context7.com/debian/devscripts/llms.txt Use 'debdiff --diffstat' to include a summary of file changes (insertions/deletions) in the output. ```bash debdiff --diffstat old.dsc new.dsc ``` -------------------------------- ### Set specific wrap width with wrap-and-sort Source: https://context7.com/debian/devscripts/llms.txt Control the maximum line length for wrapping using the `--max-line-length` option. Defaults to 79 characters. ```bash wrap-and-sort --max-line-length=79 ``` -------------------------------- ### Monitor Upstream Updates with uscan Source: https://context7.com/debian/devscripts/llms.txt The uscan utility parses debian/watch files to detect and download new upstream software releases. ```bash # Check for new upstream version (basic usage) uscan # Check without downloading uscan --no-download # Download and rename upstream tarball uscan --download # Force download even if up-to-date uscan --force-download # Show verbose output uscan --verbose # Check specific directory uscan --watchfile debian/watch --package mypackage --upstream-version 1.0 # Output in DEHS XML format (for automated systems) uscan --dehs # Safe mode (no script execution) uscan --safe # Report current status uscan --report # Download to specific directory uscan --destdir ../tarballs # Specify download version uscan --download-version 2.0.0 # Check all packages in subdirectories uscan --check-dirname-level 0 # Example debian/watch file (version 4) # version=4 # https://github.com/user/project/releases \ # .*/v?(\d[\d.]+)\.tar\.gz ``` -------------------------------- ### Query Debian archive for package status Source: https://context7.com/debian/devscripts/llms.txt Use `rmadison` to query the Debian archive database for information about a specific package across different distributions and architectures. ```bash rmadison devscripts ``` -------------------------------- ### Generate only Build-Depends with mk-build-deps Source: https://context7.com/debian/devscripts/llms.txt Use the `-B` flag to instruct `mk-build-deps` to generate dependencies only for `Build-Depends`, excluding `Build-Depends-Indep`. ```bash mk-build-deps -B debian/control ``` -------------------------------- ### Re-sign an already signed Debian package changes file Source: https://context7.com/debian/devscripts/llms.txt Use `debsign --re-sign` to re-sign an existing .changes file. This is useful when the original signature is no longer valid or needs to be updated. ```bash debsign --re-sign package_1.0-1_amd64.changes ``` -------------------------------- ### Skip signing check during upload Source: https://context7.com/debian/devscripts/llms.txt Bypass the signature verification step during the upload process by using the `--no-check-signature` flag with `debrelease`. ```bash debrelease --no-check-signature ``` -------------------------------- ### Check shell script with POSIX strict mode Source: https://context7.com/debian/devscripts/llms.txt Enable POSIX strict mode with 'checkbashisms --posix' to enforce stricter POSIX compliance checks on the script. ```bash checkbashisms --posix myscript.sh ``` -------------------------------- ### Sign with specific key ID Source: https://context7.com/debian/devscripts/llms.txt Specify the GPG key ID to use for signing with the '-k' option in 'debsign'. ```bash debsign -k 0x12345678 package_1.0-1_amd64.changes ``` -------------------------------- ### List repositories within a group on Salsa GitLab Source: https://context7.com/debian/devscripts/llms.txt Display all repositories belonging to a specific group on salsa.debian.org using `salsa list_repos`. Requires the group name. ```bash salsa list_repos --group debian ``` -------------------------------- ### dch - Manage debian/changelog Source: https://context7.com/debian/devscripts/llms.txt The dch (debchange) command automates the maintenance of the debian/changelog file, including version increments and release metadata. ```APIDOC ## dch ### Description Updates the debian/changelog file for new releases, NMUs, or QA uploads. ### Method CLI Command ### Parameters - **-i** (flag) - Optional - Increment version number - **-a** (flag) - Optional - Append to current version entry - **-v [version]** (string) - Optional - Set specific version - **-r** (flag) - Optional - Finalize changelog for release - **--nmu** (flag) - Optional - Create Non-Maintainer Upload entry - **--qa** (flag) - Optional - Create QA upload entry - **--bpo** (flag) - Optional - Create backport entry - **--closes [bug_ids]** (string) - Optional - Close specific bug IDs ``` -------------------------------- ### Search for a group on Salsa GitLab Source: https://context7.com/debian/devscripts/llms.txt Locate groups on salsa.debian.org with `salsa search_group`. Useful for finding teams or project collections. ```bash salsa search_group js-team ``` -------------------------------- ### uscan - Scan for Upstream Updates Source: https://context7.com/debian/devscripts/llms.txt The uscan utility monitors upstream sources defined in debian/watch and manages the download of new tarballs. ```APIDOC ## uscan ### Description Checks for new upstream versions and optionally downloads them. ### Method CLI Command ### Parameters - **--no-download** (flag) - Optional - Check without downloading - **--download** (flag) - Optional - Download and rename tarball - **--force-download** (flag) - Optional - Force download even if up-to-date - **--verbose** (flag) - Optional - Show verbose output - **--dehs** (flag) - Optional - Output in DEHS XML format - **--destdir [path]** (string) - Optional - Specify download directory ``` -------------------------------- ### Safely update repositories on Salsa GitLab Source: https://context7.com/debian/devscripts/llms.txt Perform safe updates on salsa.debian.org repositories with `salsa update_safe`. This command only applies updates if the repository is already configured. ```bash salsa update_safe --all --group js-team ``` -------------------------------- ### Block a bug with another bug Source: https://context7.com/debian/devscripts/llms.txt Use the 'bts block' command to block a bug report on another bug. This is useful for tracking dependencies between bug reports. ```bash bts block 123456 by 789012 ``` -------------------------------- ### Update repository settings on Salsa GitLab Source: https://context7.com/debian/devscripts/llms.txt Modify existing repository settings on salsa.debian.org with `salsa update_repo`. Options include disabling features like `--disable-kgb`. ```bash salsa update_repo node-mongodb --group js-team --disable-kgb ``` -------------------------------- ### Check a single shell script for bashisms Source: https://context7.com/debian/devscripts/llms.txt Use 'checkbashisms' to analyze a shell script for constructs that are specific to Bash and not POSIX-compliant. ```bash checkbashisms myscript.sh ``` -------------------------------- ### List members of a group on Salsa GitLab Source: https://context7.com/debian/devscripts/llms.txt Retrieve a list of all members belonging to a specific group on salsa.debian.org using `salsa group`. Requires the group name. ```bash salsa group --group js-team ``` -------------------------------- ### Auto sort by version with debdiff Source: https://context7.com/debian/devscripts/llms.txt The '--auto-ver-sort' option automatically sorts the compared Debian source packages based on their version numbers. ```bash debdiff --auto-ver-sort old.dsc new.dsc ``` -------------------------------- ### Manage debian/changelog with dch Source: https://context7.com/debian/devscripts/llms.txt The dch command automates updates to the debian/changelog file, supporting various release types and versioning requirements. ```bash # Add a new changelog entry (increment version) dch -i "Fixed buffer overflow in parser" # Append to current version's entries dch -a "Added additional documentation" # Create new changelog entry with specific version dch -v 1.2.3-1 "New upstream release" # Finalize changelog for release (change UNRELEASED to unstable) dch -r # Create a Non-Maintainer Upload entry dch --nmu "NMU to fix RC bug" # Create a QA upload entry (orphaned package) dch --qa "QA upload" # Create a backport entry dch --bpo "Backport to bullseye" # Create changelog for security upload dch --security "Security fix for CVE-2023-12345" # Set specific distribution dch -D experimental "Experimental upload" # Set urgency level dch -u high "Critical security fix" # Create a new changelog file dch --create --package mypackage -v 1.0-1 "Initial release" # Close bugs automatically dch --closes 123456,789012 "Fixed issues reported in bugs" # Edit changelog in editor dch -e ``` -------------------------------- ### Query specific distribution with rmadison Source: https://context7.com/debian/devscripts/llms.txt Filter `rmadison` results for a particular distribution (e.g., 'unstable') using the `-s` or `--distribution` option. ```bash rmadison -s unstable devscripts ``` -------------------------------- ### Specify output format with rmadison Source: https://context7.com/debian/devscripts/llms.txt Control the output format of `rmadison` results using the `-f` or `--format` option, such as 'csv'. ```bash rmadison -f csv devscripts ``` -------------------------------- ### Add a user to a group on Salsa GitLab Source: https://context7.com/debian/devscripts/llms.txt Grant membership to a user within a specific group on salsa.debian.org using `salsa add_user`. Requires the group name and username. ```bash salsa add_user developer username --group js-team ``` -------------------------------- ### Check for echo -n usage Source: https://context7.com/debian/devscripts/llms.txt Use 'checkbashisms --newline' to specifically check for the non-POSIX 'echo -n' usage in shell scripts. ```bash checkbashisms --newline myscript.sh ``` -------------------------------- ### Exclude specific patterns with debdiff Source: https://context7.com/debian/devscripts/llms.txt The '--exclude' option allows you to ignore files matching certain patterns during the 'debdiff' comparison. ```bash debdiff --exclude '*.pyc' old.deb new.deb ``` -------------------------------- ### Add trailing comma with wrap-and-sort Source: https://context7.com/debian/devscripts/llms.txt Append a comma to the last entry in a wrapped list using the `-t` option. This can aid in version control diffs. ```bash wrap-and-sort -t ``` -------------------------------- ### Force checking even with bash shebang Source: https://context7.com/debian/devscripts/llms.txt The '--force' option in 'checkbashisms' forces the script to be checked even if it has a bash-specific shebang line. ```bash checkbashisms --force myscript.sh ``` -------------------------------- ### Disable trailing comma with wrap-and-sort Source: https://context7.com/debian/devscripts/llms.txt Ensure no trailing comma is added after the last entry in a wrapped list by using the `--no-trailing-comma` option. ```bash wrap-and-sort --no-trailing-comma ``` -------------------------------- ### Remove a user from a group on Salsa GitLab Source: https://context7.com/debian/devscripts/llms.txt Revoke membership for a user from a group on salsa.debian.org using `salsa del_user`. Specify the username and group. ```bash salsa del_user username --group js-team ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.