Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable retrieving Changelogs via XML file #50

Open
teleksterling opened this issue Feb 11, 2025 · 0 comments
Open

Enable retrieving Changelogs via XML file #50

teleksterling opened this issue Feb 11, 2025 · 0 comments

Comments

@teleksterling
Copy link

When viewing Upgradeable Plugins in the QGIS Plugin Manager I think it would be sensible for it to display show the changelog of the version available for upgrading to. But currently that isn't available to QGIS (without downloading each plugin zip file).

The first step to adding it to the UI is to make the data accessible!

I'm going to assume that adding all the changelogs to plugins.xml is a bad idea, so my proposed solutions are:

  1. Add a changelogs.xml containing only (say) these columns:
    plugin_id, name, version, changelog
  2. Add a URI endpoint that would return all metadata for a single plugin (and have the UI request each plugin of interest).
    For example: r"^(? P<package_name>[A-Za-z][A-Za-z0-9-_]+)/version/(?P<version>[^\/]+)/changelog/$"

(A third option (returning a filtered set of changelogs) I also assume would be undesirable for caching & server load reasons.)

I'm willing to work on a PR, but I don't know if this is something that's been raised before, or whether it's not feasible for some other reason.

Thanks!
Rick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant