composer / satis

Simple static Composer repository generator - For a full private Composer repo use Private Packagist
MIT License
3.15k stars 519 forks source link

to many file name like composer_archive5a58791d0d599 put to /tmp #456

Open zhangbufan opened 6 years ago

zhangbufan commented 6 years ago

these is too many files name like composer_archive5a58791d0d599 put into /tmp how to change it to other dir .or how to avoid satis to create it

alcohol commented 6 years ago

What is wrong with using /tmp for these? If we use /tmp that means you can safely delete them (though honestly that should be done automatically). Maybe investigate what generates these files and see if you can come up with a solution?

solody commented 4 years ago

Got this problem too. This make that device space exhaust before synchronization complete.

solody commented 4 years ago

We should remove the tmp files automatically when synchronization complete.

solody commented 4 years ago

add this line to bin/satis

// Delete the tmp files to prevent space override.
exec('rm -rf /tmp/composer_archive*');
alcohol commented 4 years ago

This make that device space exhaust before synchronization complete.

I suggest you allocate more room to /tmp if you run out of space (that really should not be possible).