Skip to content

Feature request: based on plugin version, try to guess tag for correct README.md version #319

@jennydaman

Description

@jennydaman

const ghreadme = await fetch(`https://api.github.com/repos/${repo}/readme`);

ChRIS_store_ui always shows the latest README, which is not always applicable because the plugin might be of an older version. From plugin_version it might be possible to guess a git tag from which you can get an older, more accurate README from. For example: if plugin version is "1.2.3" then check if the git tag "v1.2.3" or "1.2.3" exists. If so, get the README from the commit with that tag. Fallback case is to use the latest README.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSomething to be improved

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions