Comments (5)
By default vcs
runs concurrent commands for all repositories therefore it can't use stdin
/ a prompt "that actually works".
Have you tried to operate on the repositories sequentially with the option -w 1
?
from vcstool.
Thanks for the fast response! the -w
option works great for my purposes!
I didn't know -w
existed, for anyone else who may be curious it's shown in vcs import --help
:
-w N, --workers N Number of parallel worker threads (default: 12)
from vcstool.
Add an arg to auto-accept the connection
Can you please verify on which native command (git clone
?) you get the error message with the prompt to confirm the connection? And then check if it offers an option to automatically except the question.
from vcstool.
It was a git clone
via ssh indeed. I believe the issue is more with ssh than git, since it's an ssh connection issue. I briefly looked over git clone --help
but it doesn't mention anything about managing this ssh connection.
Maybe a better possible solution is to pre-check all the ssh urls in the .repos
file and do a quick test connection to each unique host before running the git clones in parallel.
This command could work as a way to bring up the prompt if the host is not in known_hosts, but otherwise do nothing.
ssh -T [email protected] &> /dev/null
from vcstool.
See #113 for a workaround. Please try the proposed change and comment if that works for your use case.
from vcstool.
Related Issues (20)
- submodules usage w/o .gitmodules file HOT 1
- "vcs pull" gets stuck indefinitely
- [feature] option to use hash attached to the relative path instead of the version field
- [feature] self checkout from a branch
- Could not checkout ref '...': fatal: invalid reference HOT 1
- startup time is very long HOT 1
- bad non-descriptive error message 'NoneType' object is not subscriptable HOT 1
- git: vcs import by hash does not work for hashes not in local history HOT 1
- Input data is not valid yaml format: mapping values are not allowed here HOT 5
- [Feature Request] version by author or commit date-time HOT 5
- Import non git tars
- VCS Tool is occasionally causing ssh key errors on enterprise git server HOT 4
- vcs export exits with error if there are local branches that don't track remote branches
- Ignore self signed cert for a specific repository HOT 4
- DeprecationWarning: pkg_resources is deprecated as an API HOT 1
- [feature] Ability to only show errors
- validate fails with commit hash HOT 3
- vcs export --exact-with-tags output fails pre-commit linting rules
- BUG: VCS status does not indicate problems if a tag was force-pushed HOT 4
- updating the workspace based on updated repo file HOT 1
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 vcstool.