I noticed that apparently galaxy-importer does not care about collection dependencies that have been installed before running it, and it itself does no attempt at installing collection dependencies, and apparently also doesn’t do that when publishing collections to https://galaxy.ansible.com/.
This has a serious drawback: some collections use docs fragments from collections they depend on! Since galaxy-importer does not use any collection except the one to import, this means that any module / plugin whose documentation depends on another collection has no documentation rendered in the UI at https://galaxy.ansible.com!
Examples:
- The inventory plugins in community.docker use the docs fragments from community.library_inventory_filtering_v1. The result is that the docs for the inventory plugins are empty:
- community.aws uses docs fragments from amazon.aws for almost all modules and plugins (or even all of them, I didn’t check everything). That means that all module/plugin docs are missing, for example:
- Ansible Galaxy
- Ansible Galaxy
- Ansible Galaxy
- Ansible Galaxy
- Ansible Galaxy
(just clicking the first few).
I think this is something that should get fixed.
CC @tannerjc since you’ve looked at the docs loading code in galaxy-importer recently.