#479 RFE: Koji _taskLabel() support for plugins
Opened by yazug. Modified

buildContainer from https://github.com/release-engineering/koji-containerbuild koji plugin would be more usable if it could provide hints for brew watch-task to get the additional parameters to make a given task identifiable and so that it doesn't show up as buildContainer(noarch)

https://pagure.io/fork/yazug/koji/branch/buildContainer-watch-task - is a proof of concept for mapping this information in, but from quick IRC with Mike McLean he identified this would not be merged into core koji and that there was no easy plugin mechanism for _taskLabel() right now.


PR #478

PR #478
This pull request was for image indirection builds not container builds

Ah, missed that. Sorry. Makes more sense now :-)

@mikem This looks like we finally need those 'full plugins' as this can't be placed in CLI/hub without duplication. Or something like 'base' plugins for koji module? If it is the only possible place (I haven't gone through code), simple decorator (ala @patch_taskLabel) could be also used.

the other idea I've had since posting this but haven't had a chance to look at viablity, would be to rotate _taskLabel() to look for existance of fields by pattern and show that data first if it exists ... as most of the cases in there can fold down into several variants on the patterns and reserve specific task names/type for when you need special case handling vs generic inspection based logic.

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/479

Please continue any further discussion there.

Metadata