packagist
packagist copied to clipboard
Add option to limit branches (hide branch from `composer show`)
Like asked before in #865 it would be very good to have a way to exclude branches from beeing shown as versions for composer. E.g. if you have many incomple feature branches they should not be downloadable with composer.
It is no option to always remove the composer.jsons in such branches only to re-add it when the feature is complete.
The best way would be a new option similar to non-feature-branches where you can define branches or wildcard that are not listed in composer show
as versions.
e.g. like this:
{
"hide-branches": ["incomplete-feature*"]
}
This should e.g. exclude a branch named like this incomplete-feature/my-stuff
from being displayed as version.
I second this! I think it would be a great option to have.