Add createrepo directive
ClosedPublic

Authored by mkrizek on Feb 20 2014, 4:03 PM.

Details

Summary

Fixes T48
This also includes "Fix opening taskyaml file"

Test Plan

Tested on my dev machine

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped
tflink requested changes to this revision.Feb 24 2014, 3:23 PM

I'd like to see some logging messages coming out of the createrepo directive. An INFO on 'running createrepo on {{ repodir }}" and a DEBUG with output from the subprocess.

Requested change after looking at a pull request fixing the file open issue

libtaskotron/taskyaml.py
5 ↗(On Diff #26)

Can you back this change out? Ralph submitted a pull request with a similar change and while the difference is minimal, I prefer the solution he proposed:

https://bitbucket.org/fedoraqa/libtaskotron/pull-request/1/simplify-things-with-a-context-manager

mkrizek updated this revision.Feb 25 2014, 12:01 PM

Add logging messages

tflink accepted this revision.Feb 25 2014, 6:07 PM

Looks good to me. We still need to figure out how to generate documentation but that's out of scope for this review

mkrizek closed this revision.Feb 26 2014, 1:50 PM

Closed by commit rLTRNcbeecada350f (authored by @mkrizek).