You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First I want to say that I love this composer plugin. It really helps keeping track of not accidentally installing a bad license or an abandoned package. The check-description guard is something I like too, but is something that feels a bit conflicting with the whitelist. There are some packages that I'd like to whitelist (for example symfony/error-handler because it's included as a non-dev requirement by Laravel but the guard blocks it as it thinks it's a debug only package). However I'd only like to whitelist that package for the check-description guard, not for the check-abandoned or the check-license guards. If for some reason the package becomes abandoned, or they change the license, installation should be blocked.
So maybe the white-list options can be expanded for example like so:
A change like this could be backwards compatible, where vendor/package-two still uses all guards, but vendor/package-one will only trigger when checking the license or when it's abandoned.
The text was updated successfully, but these errors were encountered:
That would be perfect! 😃 I have no preference in if it's part of an existing directive or a new one.
Thinking about it now, maybe an interesting question is whether someone would prefer to specify the guards they do want or specify the guards you don't want. In my use case the most common pattern would be to want to exclude check-description, but either way is perfectly fine.
Hi,
First I want to say that I love this composer plugin. It really helps keeping track of not accidentally installing a bad license or an abandoned package. The
check-description
guard is something I like too, but is something that feels a bit conflicting with the whitelist. There are some packages that I'd like to whitelist (for examplesymfony/error-handler
because it's included as a non-dev requirement by Laravel but the guard blocks it as it thinks it's a debug only package). However I'd only like to whitelist that package for thecheck-description
guard, not for thecheck-abandoned
or thecheck-license
guards. If for some reason the package becomes abandoned, or they change the license, installation should be blocked.So maybe the white-list options can be expanded for example like so:
A change like this could be backwards compatible, where
vendor/package-two
still uses all guards, butvendor/package-one
will only trigger when checking the license or when it's abandoned.The text was updated successfully, but these errors were encountered: