traduttore
traduttore copied to clipboard
Use more unique temp folder for Traduttore
Just so there aren't any conflicts when there are multiple Traduttore installs on a server.
Code in question:
https://github.com/wearerequired/traduttore/blob/c0855ad5f6763d899d9ebaeee5be4d1b54435f84/inc/Loader/Git.php#L76-L90
Some providers like GitHub support both Git and SVN for the same repo. For this reason we should include the vcs type in the path
It would be nice if everything would be under /tmp/traduttore
or something.
As for the VCS type, this could be a sub folder of the repository dir, e.g. /tmp/traduttore/github-wearerequired-traduttore/git
or something.