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

About Composer plugin #11977

Open
ajiho opened this issue May 13, 2024 · 2 comments
Open

About Composer plugin #11977

ajiho opened this issue May 13, 2024 · 2 comments
Labels

Comments

@ajiho
Copy link

ajiho commented May 13, 2024

For Composer plugin type Composer packages, during installation, the user will be prompted to Do you trust "xxxx" to execute code and wish to enable it now? (writes "allow plugins" to composer. json) [y, n, d,?]

Can I listen to the user's selection? If the user chooses n, I would like to directly stop or uninstall the installation of the package

If Composer provides this scenario, what should I do?

@Seldaek
Copy link
Member

Seldaek commented May 21, 2024

Nope there is no way to do anything, it just skips activating the plugin. I don't think uninstalling it would fit well with composer's dependency model as it would try to install it again on the next composer install run.

@Mohanraj2622
Copy link

Unable to use a proxy: unable to find proxy host in http_proxy?

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

No branches or pull requests

3 participants