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

Do not expose bun CLI to the end user #3

Merged

Conversation

ducdetronquito
Copy link
Owner

We silently expose a CLI to the bun executable on the user's PATH which could mess with its own existing bun setup.

Instead, pybun now only exposes a CLI to the bun executable via pybun, python -m pybun, or a programmatic access.

Fix #2

We silently expose a CLI to the bun executable on the user's PATH
which could mess with its own existing bun setup.

Instead, pybun now only exposes a CLI to the bun executable via `pybun`,
`python -m pybun`, or a programmatic access.

---

Fix #2
@ducdetronquito ducdetronquito self-assigned this Oct 7, 2024
@ducdetronquito
Copy link
Owner Author

ducdetronquito commented Oct 7, 2024

Hey @DetachHead !

I just made a quick change to avoid exposing a bun CLI silently to an end user as you suggested.

For now having two packages to maintain like njzjz/nodejs-wheel did seems a bit too much for me (but could be reconsidered eventually if needs be).

Before I merge and release a patched version 1.1.25.post1, do you think this change answer your concerns raised in #2 or did I missed something ?

I will make another PR later this week to automate the release process of new pybun version like you suggested in #1.

@ducdetronquito ducdetronquito added the enhancement New feature or request label Oct 7, 2024
@DetachHead
Copy link

yeah this seems like a decent solution for now, thanks!

@ducdetronquito
Copy link
Owner Author

Thanks for your time :)

@ducdetronquito ducdetronquito merged commit d21e0bc into main Oct 8, 2024
2 checks passed
@ducdetronquito ducdetronquito deleted the task/do-not-expose-bun-cli-to-an-end-user-silently branch October 8, 2024 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

separate package for only the binaries without the CLI
2 participants