Net::OBS::Client::Project
use Net::OBS::Client::Project; my $obj = Net::OBS::Client::Project->new( apiurl => $apiurl, name => $project, use_oscrc => 0, ); my $res = $obj->fetch_resultlist(package => $package);
my $code = $obj->code($repo, $arch); print "build succeeded\n" if ($code eq 'succeeded');
my $dirty = $obj->dirty($repo, $arch); print "Project is in a clean state - no outstanding actions\n" if !$dirty;
Frank Schreiner, <frank at samaxi.de>
<frank at samaxi.de>
You can find some examples in the "" in contrib directory
Copyright 2016 Frank Schreiner <frank@samaxi.de>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Net::OBS::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::OBS::Client
CPAN shell
perl -MCPAN -e shell install Net::OBS::Client
For more information on module installation, please visit the detailed CPAN module installation guide.