log task name, ignore empty namespace
ClosedPublic

Authored by kparal on Feb 23 2017, 4:11 PM.

Details

Summary

It's impossible to figure out the task name from task log only. This
adds a printout that prints the task name after formula is parsed.

Also, if namespace is empty, use the default value, instead of None.

Test Plan

run a task with --debug and see something like this:

[libtaskotron:overlord.py:38] 2017-02-23 16:07:10 DEBUG   Found task: dist.rpmlint

also try to modify the formula like this:

namespace:

and see scratch namepsace being correctly used.

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.
kparal retitled this revision from to log task name, ignore empty namespace.Feb 23 2017, 4:11 PM
kparal updated this object.
kparal edited the test plan for this revision. (Show Details)
kparal added a reviewer: libtaskotron.
mkrizek accepted this revision.Feb 23 2017, 4:15 PM
mkrizek added a reviewer: mkrizek.
This revision is now accepted and ready to land.Feb 23 2017, 4:15 PM
Closed by commit rLTRN4a6dee4f2107: log task name, ignore empty namespace (authored by Kamil Páral <kparal@redhat.com>). · Explain WhyFeb 24 2017, 3:26 PM
This revision was automatically updated to reflect the committed changes.