Aeliot-Tm / todo-registrar

This tool creates issues in Issue Tracker depends on your TODO-comments in php-code
MIT License
10 stars 2 forks source link

Registrar related extra-config in body of comment #11

Closed Aeliot-Tm closed 3 months ago

Aeliot-Tm commented 4 months ago

It may be useful to support some additional configuration related to registrar for fine tuning of issues created by registrar in Issue Tracker. So, it will be able to provide exact set of labels or liked issues or what ever you want.

It may look like this:

/* TODO: implement worker XWorker for interface YInterface
 *       {EXTRAS: {link_issues: [XX-1938], labels: [tech-debt] }}
 */

Perhaps, we have to support multi-lime configs:

/* TODO: iterate LoanDayState with overdue instead of iteration of all paid loans.
 *       {EXTRAS: 
 *          {
 *              link_issues: [PC-1938], 
 *              labels: [tech-debt] 
 *          }
 *       }
 */

Perhaps, in YAML-like notation:

/* TODO: iterate LoanDayState with overdue instead of iteration of all paid loans.
 *       <<<EXTRAS
 *          link_issues: [PC-1938]
 *          labels: [tech-debt]
 *       >>>EXTRAS
 */