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

The wrong PyPi package is picked up for some of my plugins #150

Open
asg017 opened this issue Aug 21, 2023 · 0 comments
Open

The wrong PyPi package is picked up for some of my plugins #150

asg017 opened this issue Aug 21, 2023 · 0 comments

Comments

@asg017
Copy link
Contributor

asg017 commented Aug 21, 2023

From https://datasette.io/plugins?sort=downloads-this-week , this reports sqlite-regex has the most downloads last week. But it's picking up the sqlite-regex package, not the datasette-sqlite-regex package (which has like 1/5th of the downloads)

It's a bit difficult to track down the source:

I think the solution would be to add a new optional pypi_package key to plugin_repos.yml, and to default to that over inferring the pypi package name from the repository name. That way, I can change the sqlite-regex entry to something like:

- repo: asg017/sqlite-regex
  pypi_package: datasette-sqlite-regex
  tags:
  - SQLite Extension
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