Details
Run any check (do not forget to amend its yaml file) and/or test suite.
Diff Detail
- Repository
- rLTRN libtaskotron
- Lint
Lint Skipped - Unit
Unit Tests Skipped
It seems OK, thanks. Just a few documentation requests.
docs/source/taskyaml.rst | ||
---|---|---|
57–61 | Could you please add a short example for each of these args? So that people know what format is expected (koji_build has two, bodhi_id has two, arch can be a list perhaps?). Thanks. | |
libtaskotron/directives/koji_directive.py | ||
19 | Maybe this could say: "koji: command=download koji_build=<N(E)VR to download> arch=<desired arch> in order to be more obvious. | |
69–72 | If we are to stick to the terminology, this should probably say:
| |
libtaskotron/runner.py | ||
16 | If this should be a public variable, it should have a docstring below it, so that it appears in our generated docs. If this should be a private variable, it should start with an underscore... and it should have a docstring below/comment above it, so that it's clear what it is used for. Something like
|
Looks pretty good to me other than the things kamil mentioned
libtaskotron/directives/koji_directive.py | ||
---|---|---|
69–72 | I'm not sure I understand the advantage of that phrasing. It is downloading a koji build which is a set of 1 or more rpms, no? |
libtaskotron/directives/koji_directive.py | ||
---|---|---|
69–72 | Yes, therefore "getting koji builds for <koji build>" seems weird. A build consists of RPMs, so you can get rpms for a koji build. Or you can get koji builds for a koji tag. But you can't get koji builds for a koji build. Or am I missing something? :) |
libtaskotron/directives/koji_directive.py | ||
---|---|---|
69–72 | OK, I see what you're getting at. How about
I'd prefer that it be specific on what it's downloading since an nevr can be a little ambiguous. |
libtaskotron/directives/koji_directive.py | ||
---|---|---|
69–72 | Sure, great! :) |
Could you please add a short example for each of these args? So that people know what format is expected (koji_build has two, bodhi_id has two, arch can be a list perhaps?). Thanks.