Comments (4)
@rwaffen I traced this down a little bit and found this issue in the git library:
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.
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.
oh thx, will look if this also solves this for me
from ra10ke.
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)
- New release (v0.5.0) HOT 3
- r10k:syntax always exits 0 HOT 2
- check for duplicates
- sort task
- rake validate error HOT 3
- Task r10k:syntax is unknown HOT 3
- Include Changelog entries in r10k:dependencies output HOT 1
- [Feature Request] Speed up forge queries
- [Feature Request] Possibly use the Puppetfile Resolver? HOT 3
- validate task fails when repo does not exist HOT 2
- Issues using with Puppet 7 HOT 1
- incompatible with r10k gem > 3.8 HOT 2
- Support r10k:validate with control_branch
- Add support for commit ref HOT 3
- cache dir does not exist
- r10k:deprecation fails with `Faraday::BadRequestError: the server responded with status 400` HOT 10
- [DOC] Example CI job
- [Feature] non-zero exit status when dependencies are out of date HOT 1
- [Feature] cleaner reporting when "No data."
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ra10ke.