sourcery-ai / sourcery

Instant AI code reviews
https://sourcery.ai
MIT License
1.5k stars 65 forks source link

Sourcery failing with permission errors on remote SSH #348

Closed Hellebore closed 1 year ago

Hellebore commented 1 year ago

Checklist

Description

When running Sourcery via remote SSH where the user has permissions to their home directory but not its parent, sourcery is failing with permission errors.

This is due to Sourcery attempting to find the project root and recursing too far up the directory structure.

Code snippet that reproduces issue

N/A

Debug Information

IDE Version: VS Code

Sourcery Version: 1.3.0

Operating system and Version: Linux RHE 8.7 with remote SSH

ruancomelli commented 1 year ago

@Hellebore, a fix for this issue was just merged and will be available in the next release. Can you please notify the user you were in contact with?

ruancomelli commented 1 year ago

Fixed in v1.4.0.