composer / satis

Simple static Composer repository generator - For a full private Composer repo use Private Packagist

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Satis bin is prompting for auth credentials when they are present in auth.json

wilkinsocks opened this issue · comments

Using the latest version from master, specifying vcs (git) over http, Satis is requesting the password when the credentials are present in auth.json in Composer's home.

Giving it the password, it succeeds but doesn't offer to install them in the auth.json file.

running -vvv is states to following 2 lines:

Loading config file /home/ubuntu/.composer/config.json
Loading config file /home/ubuntu/.composer/auth.json

Oddly, running composer exec satis build satis.json public it works fine, albeit there's not Stdout. Suggesting there's an issue with the way the satis binary is reading the auth file?

I've done some further investigation in a Docker container, and this breaks for me from commit 795e091: update composer.json and dependencies

I can confirm that this is happening - I simply cannot get auth.json to work without using your work around. Thank you for that!

To get the satis output, use the "-v" param on composer. eg:
composer -v exec satis build satis.json public

It's not in pretty colours, but at least it's possible to see what is going on.