#83 Summarize modulemd file(s), modules.yaml, repository
Closed: RESOLVED 5 years ago Opened 5 years ago by nphilipp.

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:

  • List module, stream name(s) and profiles from single/multiple modulemd files.
  • List module, stream name(s) and profiles from a multi-document modules.yaml file with marked default streams and profiles.

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.

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

5 years ago

Metadata Update from @rdossant:
- Issue close_status updated to: RESOLVED
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata