Skip to content

tingv/php-apt-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This script contains functions to parse Debian APT-repository files
(Packages.gz, Sources.gz) and generate an XHTML summary of them.

Usage:
 include_once("parse-apt-files.inc");
 parse_and_list( "Packages.gz", "Sources.gz" );

... or if the repository consist of multiple Packages files:

 include_once("parse-apt-files.inc");
 parse_and_list( 
     Array("i386/Packages.gz", 
           "powerpc/Packages.gz"), 
     "Sources.gz" );

... or especially for debarchiver:

 include_once("parse-apt-files.inc");
 parse_and_list(
     Array("dists/sid/main/binary-i386/Packages.gz",
           "dists/sid/contrib/binary-i386/Packages.gz",
           "dists/sid/non-free/binary-i386/Packages.gz"),
     Array("dists/sid/main/source/Sources.gz",
           "dists/sid/contrib/source/Sources.gz",
           "dists/sid/non-free/source/Sources.gz"),
     "dists/sid/installed",
     "build_logs");

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages