Closed larskarlitski closed 6 years ago
Checking for an extension of .md
or .rst
is left over from the days when Galaxy converted the file to HTML. Now it accepts whatever HTML is returned from GitHub API.
We could modify it to accept files with no extension as text. Not a high priority at the moment though.
This issue was moved to ansible/galaxy#50
Importing a role with a
README
that isn't plain text, markdown, or restructured text fails withThe whole point of these formats is that they're readable as plain text as well. Failing the import because of this seems disproportionate.
Possible solution: treat
README
files with unknown extensions as plain text.