Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Emulate reprepro's upload permissions

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 fakeroot
Octocat-spinner-32 lenses
Octocat-spinner-32 lib
Octocat-spinner-32 t
Octocat-spinner-32 Build.PL
Octocat-spinner-32 ChangeLog
Octocat-spinner-32 MANIFEST
Octocat-spinner-32 README
README
NAME
       Reprepro::Uploaders - Emulates reprepro's upload permissions

SYNOPSIS
       use Reprepro::Uploaders;

       # Initialize
       my $uploaders = Reprepro::Uploaders->new(
          uploaders   => "/etc/reprepro/uploaders",  # Mandatory, no default
          verbose     => 1,                          # Or debug for more messages
          augeas_opts => {                           # Setup Config::Augeas
             root     => "/var/lib/fakeroot",
          },
       );

       my %package = (
          source         => 'libfoo-bar-perl',
          binaries       => [ 'libfoo-bar-perl' ],
          key            => 'ABCD1234',
          architectures  => [ 'source' ],
          sections       => [ 'main/perl' ],
       );

       print "Package accepted".$/ if ($uploaders->check_package(\%package));

SEE ALSO
    Config::Augeas

Something went wrong with that request. Please try again.