Skip to content

Working with LFS repositries #60

Closed
@ghareeb-falazi

Description

@ghareeb-falazi

Hi there,

Can copybara operate with repositories with files managed by Git LFS? My scenario is as follows:

  • I have a private repository on github that has many artifacts (some of which are large files which are managed by LFS). This repository acts as a source repository.
  • I also have another private repository on github which acts as the target repository.
  • The source repository gets frequent pushes, and from time to time we need to selectively copy certain files from it to the target repository.
  • when using copybara to do so, we get an error message during the task: "Git Destination: Checking out master":
Error downloading object: (...): batch request: missing protocol: ""
Errors logged to (...)
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: (...): smudge filter lfs failed

which seems as a problem with relevant to git-lfs.

So does copybara support repositories with LFS-managed files?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions