satis
satis copied to clipboard
`satis build` always scan all repositories.
Slightly related to #94 , but to me it feels like an actual bug.
Every time satis build … is invoked, it always scan all repositories regardless of command line specs.
Even if you specify just one project to rebuild, all listed repositories will be accessed every time, making the ability to specify packages to rebuild largely useless.
For those interested, the problem starts around src/Console/Command/BuildCommand.php:183
Well, Satis has no way to know in advance which repository contains which package. This is why it has to scan them all.
The partial build is mostly useful when you configure Satis to generate dist archives (as generating them takes time).
@AnrDaemon Does --repository-url https://only.my/repo.git solve your problem? That way only one repository is scanned. If you have one package per repo that should do the trick for you!?
I'll check it out, thanks. Didn't came to my mind. :/ I have more than one project per some of the repos, but that shouldn't be an issue. Will need to re-think the hooks…