Open chouseknecht opened 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.
From @larskarlitski on April 28, 2017 14:39
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.Copied from original issue: ansible/galaxy-issues#261