Giter Club home page Giter Club logo

Comments (5)

adrianluisgonzalez avatar adrianluisgonzalez commented on August 14, 2024

Hmm, I'm not sure what it would take to get LFS working. Are you saying the LFS pointer files aren't being mirrored? Possibly they are not included in the default ref spec. Can you provide a simple repo with an LFS file?

from stash-hook-mirror.

deepchainde avatar deepchainde commented on August 14, 2024

The pointers have been replicated, but the binary files are not mirrored to the destination git server. Therefore, when we try to clone/checkout from the destination git server, we get error like "404 object not found".

Really appreciate your comments.

from stash-hook-mirror.

deepchainde avatar deepchainde commented on August 14, 2024

Hmm, I'm not sure what it would take to get LFS working. Are you saying the LFS pointer files aren't being mirrored? Possibly they are not included in the default ref spec. Can you provide a simple repo with an LFS file?

Would really appreciate if you can give us some hints if this kind of LFS mirror is supported in the plugin.

from stash-hook-mirror.

patrick-compass avatar patrick-compass commented on August 14, 2024

I was wondering why my commits weren't even mirroring. The push is failing due to the LFS messages returning exit code 1.

from stash-hook-mirror.

changwoo avatar changwoo commented on August 14, 2024

Only repos with lfs binaries failed to be mirrored. I think referenced git-lfs binaries were not fetched at the source repo.

If the bitbucket git repos are bare repos with no lfs binaries, then pushing will fail with an error like this:

$ git clone --bare <URL> repo
$ cd repo
$ git remote add otherrepo <URL2>
$ git push --mirror otherrepo
Unable to find source for object <HASH> (try running git lfs fetch --all)                                                                    
error: failed to push some refs to '<REPO>'

I'm not sure how to fix. mirroring will succeed after "git lfs fetch"ing the binaries. but fetching the files on the bare repos on the server will duplicate the binaries and increase the disk usage often seriously.

from stash-hook-mirror.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.