NAME

Debian::Snapshot - interface to snapshot.debian.org

VERSION

version 0.001

SYNOPSIS

This module provides an interface to the snapshot.debian.org service.

ATTRIBUTES

url

URL used to contact the snapshot service. Defaults to http://snapshot.debian.org.

user_agent

The LWP::UserAgent object used to query the server.

METHODS

binaries($name, $version?)

Returns an arrayref of Debian::Snapshot::Binary object for the binary package named $name.

If the optional parameter $version is present, only return binaries whose binary version matches $version.

file($hash)

Returns a Debian::Snapshot::File object for the file with the given $hash.

package($package, $version)

Returns a Debian::Snapshot::Package object for the source package $package version $version.

packages

Returns an arrayref of source package names.

package_versions($package)

Returns an arrayref of versions for source package $package.

SEE ALSO

http://snapshot.debian.org/

AUTHOR

Ansgar Burchardt <ansgar@43-1.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Ansgar Burchardt <ansgar@43-1.org>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.