app drt-tools

Tools for Debian Release Team work

15 releases

new 0.2.13 Mar 16, 2023
0.2.11 Jan 17, 2023
0.2.10 Oct 30, 2022
0.2.6 Jul 9, 2022
0.1.0 Nov 17, 2021

#44 in Unix APIs

Download history 1/week @ 2022-11-27 2/week @ 2022-12-04 13/week @ 2022-12-11 16/week @ 2022-12-18 5/week @ 2022-12-25 1/week @ 2023-01-01 5/week @ 2023-01-08 26/week @ 2023-01-15 13/week @ 2023-01-22 28/week @ 2023-01-29 75/week @ 2023-02-05 55/week @ 2023-02-12 38/week @ 2023-02-19 11/week @ 2023-02-26 20/week @ 2023-03-12

69 downloads per month


4.5K SLoC

Tools for Debian Release Team work

This crate includes tools to help with typical work of Debian's release team. Currently, it processes excuses.yaml to check for packages that require a binNMU for migration to testing, prepares a list of binNMUs for transitions, and so on.


drt-tools supports common options:

  • -n: Generate a list of wb commands, but do not schedule them.
  • -f,--force: Force processing even if some conditions are not met.

The following commands are provided:

  • grep-excuses: Mostly the same as the tool of the same name from devscripts.
  • process-excuses: Download and process excuses.yaml to generate a list binNMUs for packages that require them for migration. Packages that have other issues preventing them from migrating, are not considered.
  • process-unblocks: Download and process excuses.yaml to generate a list of unblocks for packages in tpu and some other cases.
  • nmu-transition: Take a list packages copies from ben's output and schedules binNMUs. This command supports multiple options:
    • -m message: the binNMU message
    • --dw dependency: additionally generate a dw command with the given dependency
    • --extra-depends dependency: schedule the binNMUs with an extra dependency
    • --bp priority: specify a build priority
    • --suite suite: specify a suite
    • -a architecture: use a different architecture than ANY
  • usrmerged: Check for packages moving files from / to /usr or vice versa.


This crate is Copyright 2021-2022 Sebastian Ramacher and licensed under the GPL version 3.0 or later.


~599K SLoC