Code Review Assistant, Code cross-reference problem with git-lfs

Grzegorz Potrykus January 7, 2019

Welcome,

After setting up plugin, I've encountered problem with code cross-reference analyze.

It seems like there is some problem with syncing work-tree created by plugin with git-lfs.

Copy of the error printed by your plugin as pull request comment:

"Code Review Assistant

Fatal error: Failed to execute code review analysis. Reason: '/usr/local/bin/git --work-tree=/var/atlassian/application-data/bitbucket/caches/crarepos/42/prs/662 checkout -f test' exited with code 128 saying: Downloading xxx/xxx.dll (748 KB)hint: The remote resolves to a file:// URL, which can only work with ahint: standalone transfer agent. See section "Using a Custom Transfer Typehint: without the API server" in custom-transfers.md for details.Error downloading object: xxx/xxx.dll (9c0fe08): Smudge error: Error downloading xxx/xxx.dll (9c0fe08ef2f54f8d47f29473a156652c7435617d6266cc967f4d05e3f6c60f98): batch request: missing protocol: "file:///var/atlassian/application-data/bitbucket/shared/data/repositories/42/.git/info/lfs"Errors logged to /var/atlassian/application-data/bitbucket/caches/crarepos/42/42/lfs/logs/20190107T232029.307537512.logUse git lfs logs last to view the log.error: external filter git-lfs smudge -- %f failed 2error: external filter git-lfs smudge -- %f failedfatal: xxx/xxx.dll: smudge filter lfs failed"

 

It looks like the error occurs while downloading very first file from git-lfs and work-tree is not customized properly for downloading lfs objects from the local machine. 

By the way, I'm wondering if downloading lfs data is neccessary at all, for purpose of this plugin ? Obviously source code is not stored in lfs.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events