On Thu, Aug 16, 2018 at 3:47 PM Miro Hrončok <mhron...@redhat.com> wrote:

> > I was actually thinking about this some time ago. If there's a
> > responsive fedora-review maintainer who can respond to people's
> > questions and complains (because if we start running it for every
> > package build and show it in Bodhi, there will be some), I can help to
> > make it run as a Taskotron task. The STI can be just a simple wrapper
> > around the fedora-review binary that downloads the build, runs the
> > command, and generates the results format. It should be similar to
> > rpmlint etc tests we already have in there.
> >
> > The important question is - can it be executed on existing SRPMs/RPMs?
>
> Yes, somehow. It has --no-build option, but it searches the package in
> some mock location. Should be fairly easy to change or fake.
>

In man pages, there is also a tutorial how to do that with koji scratch
builds:

       ·  Download the results:
               koji-download-scratch <task number>

       ·  Invoke fedora-review using --prebuilt, --name options and
--rpm-spec:
               fedora-review --rpm-spec --prebuilt --name my-package

For copr builds it is a little bit easier:

fedora-review --copr-build <build-id>

But that version of fedora-review still needs was never released
(https://pagure.io/FedoraReview/commits/devel)


> --
> Miro Hrončok
> --
> Phone: +420777974800
> IRC: mhroncok
> _______________________________________________
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/GX5YDAUDMO432RKL3UHCUQKWIWPS7AFJ/
>
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RAXSKUDDP3DSKL2IVW5JK26VTXH6J4CX/

Reply via email to