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

Publish to PyPI #42

Open
reegnz opened this issue Jun 23, 2022 · 1 comment
Open

Publish to PyPI #42

reegnz opened this issue Jun 23, 2022 · 1 comment

Comments

@reegnz
Copy link

reegnz commented Jun 23, 2022

Please publish to PyPI so gcpdiag can be installed with pip (or pipx), and so that the community can build distro packages out of it (homebrew, AUR, other linux distros).

Reasoning:
Current installation instructions suggest installing this tool with curl. A more sophisticated distribution method would be to enable distros to build their own packaging, but for that a base requirement is for this tool being able to publish to PyPI (so it follows common python packaging standards).

Packaging tools (like Homebrew) make it easier to package up tools written in python if it's install-able through PyPI.

@jdomeracki
Copy link

I'd strongly suggest publishing at least a placeholder package to prevent a potential name squatting scenario.

Currently anyone can register a malicious project on PyPi counting on people attempting to install this module via pip (as you can see https://pypi.org/search/?q=gcpdiag isn't taken)

What's more, following code snippet from the docs may mislead users into believing that it's actually already published:
https://github.com/GoogleCloudPlatform/gcpdiag/blob/main/website/content/en/docs/development/architecture.md?plain=1#L177-L178

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

2 participants