-
Notifications
You must be signed in to change notification settings - Fork 2
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
use relative paths in config file #78
Conversation
Although using paths that are *not* relative to the current working directory (cwd) is discouraged, this *should* still be possible. So, if the path is not relative to cwd, we just save the absolute path.
Hm... Looks like I'm running into something similar to actions/runner-images#712 again... Windows truncates the username with a tilde (
but See 8.3 alias, this post, and wikipedia. Looks like this is related: python/cpython#73181 Maybe this can For example, instead of self.assertEqual(path_a, path_b) we would use self.assertEqual(path_a.resolve(), path_b.resolve()) |
... and we appear to be running into python/cpython#82852 for python <3.10 on windows |
for python <3.10 on windows
Use relative paths (i.e. relative to current working directory) for
repo_dir
andkeys_dir
in config file, if possible.The config file itself is also in cwd.
Fixes #50