Wiki

Aller au contenu | Aller au menu | Aller à la recherche

 

Goals

This script automates to run a specific set of command over a large number of package.

Specifications

When maintaining a large set of packages, from time to time it is required to apply the same change to all packages.

All this kind of changes follow the same mechanism:

  • guess some package dependent variable (debian version, upstream version, binary packages name et al)
  • test if the change applies
  • apply change
  • create a changelog entry

This script helps most of this step:

  • get the package list using a file containing glob pattern
  • guess every variables for each package
  • help generate a perl/sh script to be used with

In order to use it, a change script compliant with this application should be used (helper to write the skeleton of this is provided). This change script is stored in a particular place (.config/debmasschanges/scripts).

This script is called with the name of the change script and additional parameters and apply the change if required to every package listed in the package file.

Examples:

  • upgrade the debhelper compat in every package (don't forget to test if everything is fine regarding dh compat)
  • upgrade the standards version of every package (be sure to do this correctly regarding the standards-version upgrade checklist)
  • check that every README are 72 char wide
  • check that every package are released (compare changelog version to debian repository version)

Lang: Perl

Status

In progress