mash directive: add docstrings
ClosedPublic

Authored by mkrizek on May 30 2014, 9:02 AM.

Diff Detail

Repository
rLTRN libtaskotron
Lint
Lint Skipped
Unit
Unit Tests Skipped
mkrizek retitled this revision from to mash directive: add docstrings.May 30 2014, 9:02 AM
mkrizek updated this object.
mkrizek edited the test plan for this revision. (Show Details)
mkrizek added reviewers: tflink, kparal, lbrabec.
lbrabec accepted this revision.May 30 2014, 9:09 AM

Seems to be ok.

This revision is now accepted and ready to land.May 30 2014, 9:09 AM
kparal requested changes to this revision.May 30 2014, 12:18 PM
kparal added inline comments.
libtaskotron/directives/mash_directive.py
33–34

Can you please also specify what the directive actually does? Something like:

This will create a YUM repository in rpmdir from all RPM packages inside the same directory. It will call mash tool to perform this task.

36–39

Can you please also somehow specify what this directive returns as a return value? We already touched this topic in D104. I think we should have that information in all our directives.

This revision now requires changes to proceed.May 30 2014, 12:18 PM
mkrizek updated this revision to Diff 329.May 30 2014, 12:43 PM

Add description of what the directive does

Can you please also somehow specify what this directive returns as a return value?

At this point, it doesn't return anything (well, it returns None).

At this point, it doesn't return anything (well, it returns None).

Great, please document.

libtaskotron/directives/mash_directive.py
33–34

Just a nitpicking, you might want to consider better doc rendering using:

``rpmdir``

and

``mash``
mkrizek updated this revision to Diff 330.May 30 2014, 2:15 PM

Address issue in the review

kparal accepted this revision.May 30 2014, 2:42 PM
This revision is now accepted and ready to land.May 30 2014, 2:42 PM
mkrizek closed this revision.Jun 2 2014, 8:39 AM
mkrizek updated this revision to Diff 338.

Closed by commit rLTRN050891fc940e (authored by @mkrizek).