25 releases

0.2.23 Jun 9, 2024
0.2.20 Feb 17, 2024
0.2.18 Nov 21, 2023
0.2.16 Jun 11, 2023
0.1.0 Nov 17, 2021

#42 in Unix APIs

Download history 34/week @ 2024-02-24 4/week @ 2024-03-02 12/week @ 2024-03-09 23/week @ 2024-03-16 11/week @ 2024-03-30 123/week @ 2024-04-06 7/week @ 2024-04-13 171/week @ 2024-04-27 7/week @ 2024-05-04 172/week @ 2024-06-08

172 downloads per month



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
  • nmu-eso: Produce and schedule a list of rebuilds for packages having Built-Using on source packages with Extra-Source-Only: yes set. This command supports the following options:
    • --bp priority: specifiy a build priority (default: -50)
    • --suite suite: specify a suite


Copyright 2021-2024 Sebastian Ramacher

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.


~593K SLoC