Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Emulate reprepro's upload permissions
Perl Augeas
Branch: master

v0.004

latest commit 9e70c1565c
@raphink authored
Failed to load latest commit information.
fakeroot/etc/reprepro Initial commit
lenses Initial commit
lib/Reprepro v0.004
t Version 0.003: report unknown key errors
Build.PL Add repository
ChangeLog v0.004
MANIFEST Remove MANIFEST.SKIP from MANIFEST
README Initial commit

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.