Debbugs::DebArchive(3pm) User Contributed Perl Documentation Debbugs::DebArchive(3pm)

Debbugs::DebArchive -- Routines for reading files from Debian archives

use Debbugs::DebArchive;

   read_packages('/srv/mirrors/ftp.debian.org/ftp/dist',
                 sub { print map {qq($_\n)} @_ },
                 Term::ProgressBar->new(),
                );

This module implements a set of routines for reading Packages.gz, Sources.gz and Release files from the dists directory of a Debian archive.

None known.

     read_release_file('stable/Release')
    

Reads a Debian release file and returns a hashref of information about the release file, including the Packages and Sources files for that distribution

     read_packages($dist_dir,$callback,$progress)
    
Path to dists directory
Function which is called with key, value pairs of suite, arch, component, Package, Source, Version, and Maintainer information for each package in the Packages file.
Optional Term::ProgressBar object to output progress while reading packages.
2020-04-07 perl v5.30.0