Improvements to the dist-git directive.
ClosedPublic

Authored by ralph2 on Nov 16 2016, 7:13 PM.

Details

Summary

Our use case is that we want to be able to run the modlint tool in
response to dist-git commits to modulemd.yaml files. modlint is kind
of like rpmlint, except for module definitions.

We want to run those checks in response to dist-git commits via
taskotron-trigger.

We were excited to see that a dist-git directive already exists, but it
assumed that you were specifying your request in terms of an rpm NEVR
which we do not have in our use case.

This changes opens it up to be able to pull down any file from any
namespace of dist-git repo, on any branch. It is up to the caller of
the dist-git directive to specify all of that information.

Test Plan
Run the test suite.

Diff Detail

Repository
rLTRN libtaskotron
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ralph2 retitled this revision from to Improvements to the dist-git directive..Nov 16 2016, 7:13 PM
ralph2 updated this object.
ralph2 edited the test plan for this revision. (Show Details)
ralph2 added a reviewer: tflink.
Closed by commit rLTRN936083475171: Improvements to the dist-git directive. (authored by Ralph Bean <rbean@redhat.com>). · Explain WhyDec 12 2016, 2:54 PM
This revision was automatically updated to reflect the committed changes.