instacart / instacart/lore

'lore init' error on centos7

Open
#109 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
1.5k
Forks
128
PR merge metrics
No merged PRs in 30d

Description

I'm mostly posting this so it's searchable by others who might run into the issue, but perhaps a Git version check could be added to provide a more descriptive error code? Current error is:

subprocess.CalledProcessError: Command '('git', '-C', '/home/evan/.pyenv', 'pull')' returned non-zero exit status 129.

The latest Git version currently available from default centos7 repos is 1.8.3.1, but this doesn't support the -C command line switch is used by `lore init`, resulting in the error. The -C switch appears to have been added in 1.8.5.

The easiest way to update Git on centos7 without using third-party repos appears to be this -
https://www.softwarecollections.org/en/scls/rhscl/rh-git29/

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.