Giter VIP home page Giter VIP logo

Comments (4)

drz9 avatar drz9 commented on August 22, 2024 1

@rwaffen I traced this down a little bit and found this issue in the git library:

ruby-git/ruby-git#516

It looks like, the git library fails when stderr isn't empty. For me it was, because the git ls-remote command threw a warning "redirecting to .git". So when I am adding .git to my https path, the r10k:dependency task works as expected. Issue is to be fixed by git library rather than ra10ke.

from ra10ke.

drz9 avatar drz9 commented on August 22, 2024

I am having a similar issue but the other way around. My puppetfile does point to a private hosted gitlab Repo but I didnt provide credentials directly in the Puppetfile. with r10k I worked around creating a ~/.git-credentials on the root User so I dont have credentials in the code. However, this does not seem to work with r10k:dependencies. Looks like credentials are not used by git gem

from ra10ke.

rwaffen avatar rwaffen commented on August 22, 2024

oh thx, will look if this also solves this for me

from ra10ke.

rwaffen avatar rwaffen commented on August 22, 2024

yeah, nice, this also fixed it for me. i have other https-repos without the .git and that's not a problem. only the private gitlab with token does break it if one omits this.

from ra10ke.

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.