As a modularity developer,
I want to have a tool to analyze/summarize one or more modulemd files, multi-document modules.yaml file(s) or repository metadata,
so I don't have to extract the information from YAML files manually.
AC:
Note: libmodulemd 1.6.0+ now has a new function, Modulemd.index_from_string() (documentation here) that will return a hash table of ImprovedModule objects, which contain all of the streams for the named module.
Modulemd.index_from_string()
ImprovedModule
You can use these structures in fedmod to produce this report.
Side-note: I just realized that the docstring for the above-mentioned function is completely wrong. I will fix that today...
I've fixed the documentation now.
How do you envision the output to be like?
* module-name: [stream1]: /profile1/profile2/... [...] [streamN]: /profile1/profile2/... * module-name: ...
Metadata Update from @rdossant: - Issue assigned to rdossant
Tool added as of PR #90
Metadata Update from @rdossant: - Issue close_status updated to: RESOLVED - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.