[Maniphest] [Created] T45: dynamically load modules for task directives

tflink (Tim Flink) phab at qadevel.cloud.fedoraproject.org
Tue Jan 14 20:44:26 UTC 2014


tflink created this task.
tflink added subscribers: qa-devel, tflink.
tflink added a project: taskotron

TASK DESCRIPTION
  In the demo code, the directives (koji, python, etc.) are all loaded at run time. While this works for the time being, it will start contributing to undesired side-effects as we add functionality.
   - increased imports @ runtime
   - longer requires (instead of optional requires)
   - invitation to more tightly coupled code
  
  Change the code around so that directive modules are only loaded if they are used in the task description.
  
  simple example:
  
    preparation:
      foo: somearg
    execution:
      bar: someotherarg
  
  In this case, the only directive modules loaded would be foo and bar. baz could be implemented but it would not be loaded.

TASK DETAIL
  https://phab.qadevel.cloud.fedoraproject.org/T45

To: tflink
Cc: qa-devel, tflink


More information about the qa-devel mailing list