NAME

Net::OBS::Client::Project

SYNOPSIS

  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);

ATTRIBUTES

resultlist

METHODS

fetch_resultlist - fetch build result code and other information for a project

code - get current build result code

  my $code = $obj->code($repo, $arch);

  print "build succeeded\n" if ($code eq 'succeeded');

dirty -

  my $dirty = $obj->dirty($repo, $arch);

  print "Project is in a clean state - no outstanding actions\n" if !$dirty;

AUTHOR

Frank Schreiner, <frank at samaxi.de>

SEE ALSO

You can find some examples in the "" in contrib directory

COPYRIGHT

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.