Hadron / Hadron/carthage-base

CarthageServerRole fails when run from an installed carthage-runner

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

Description

`copy_in_carthage` setup task calls `rsync_git_tree` on `os.path.dirname(carthage.__file__)` which fails with
```
sh.ErrorReturnCode_128:

RAN: /usr/bin/git rev-parse --show-toplevel

STDOUT:

STDERR:
fatal: not a git repository (or any of the parent directories): .git
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the copy_in_carthage setup task and trace its call to rsync_git_tree using os.path.dirname(carthage.__file__). Reproduce the failure with an installed carthage-runner, then verify that the task completes without requiring the installed package directory to be a Git repository.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.