teemtee / fmf

Flexible Metadata Format
GNU General Public License v2.0
22 stars 28 forks source link

Store plugin requirements #236

Open LecrisUT opened 3 months ago

LecrisUT commented 3 months ago

This is primarily for tmt but it doesn't hurt to implement it as a standard here.

Issue: Similarly to how tmt expanda upon an fmf tree, the tree might not be fully valid depending on how it is parsed, e.g. w.r.t. schema validation.

Approach: Along with .fmf/version, a .fmf/plugins could be optionally parsed. The format would be similar to that of a requirements.txt, i.e. PEP508, and parsed via packaging.requirements. So it may look like:

tmt
tmt-cmake [cmake] @ git+https://github.com/LecrisUT/tmt-cmake@main

Fmf responsibility here would be just to:

Impact: