satis
satis copied to clipboard
Limit scan to certain branches
Is there a way to limit the scan satis performs to certain branches (and tags on certain branches). This would speed up the build, because some repositories have a lot of tags (for drupal 7 versions) in them, and we'd only need to scan the drupal 8 versions.
Satis leverages Composer, and Composer does not support this currently afaik.
and tags on certain branches
FYI: tags are not stored on branches. Tags are just objects by themselves. There is no such thing as "tags on certain branches".
Composer will read the composer.json in every branch and tag it finds. You can limit Satis to only mirror/store certain ones by specifying a version constraint in the require section. This will not limit the scan phase though.
AFAIK, this has been changed in recent Composer update.
I don't think the newest composer version has solved this issue. We are using the require section of the satis config and add branches manually with "||":
"require": {
"repo/commons": "dev-development",
"repo/config": "dev-development || dev-feature-abc"
}
@haimich can you please be more specific about issue you, specifically, encountering.