-
Notifications
You must be signed in to change notification settings - Fork 519
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
Problems after satis update #377
Comments
Since you specified no repositories and have set |
No, it was for example without repositories. Even if I try to build for example one repository, like:
It starts to synchronize some stuff which I don't need after synchronizing package which I need:
But if I didn't update satis, it synchronizes only which I need. |
I am sorry, but by default packagist is included, and if you specify I am not sure why it does not include it for you on older versions. What you are seeing now is expected behaviour. If you do not want to mirror packagist, then you should explicitly disable the packagist repository. Can you please share which version you were running before the |
@alcohol are you sure ? Satis used to disable Packagist by default (precisely to avoid mirroring it entirely) |
But I use satis about two years, and update it each time when deploy something. And just one week ago I had this problem. |
It was actual version of satis. Which freshly installed like: |
Doh I was using packagist as my repository for my debugging stuff. Let me switch to a simpler debug satis.json for this particular scenario. |
So yeah, using latest composer it does seem to include packagist.org again by default. |
Hello , i've found the trouble : on Composer\Satis\Console\Command\BuildCommand line 161 : unset(Config::$defaultRepositories['packagist']); now its : unset(Config::$defaultRepositories['packagist.org']); This was the trouble i 've too |
Yeah I found that too. Unfortunately it is not really possible to make this change backwards compatible. |
@babwar should be solved now if you pull the latest version of satis. |
Thanks a lot. It's working just fine. |
Thank you guys, it works fine. |
Few days ago I had a problem. Satis starts to synchronize packages which I don't need.
How to reproduce:
If I install fresh satis version and build with my config it works fine.
But if I'm trying to update satis like:
And after that I'm trying to build repository with my config, like:
php satis/bin/satis -n -vv build config.json .
Even if I use almost clear config, like that:
It starts synchronize packages which I don't need:
It has been tested on PHP 5.6 and 7,
on ubuntu 16.04, 16.10, 12.04,
with composer 1.2.1, 1.2.3.
The text was updated successfully, but these errors were encountered: