Comments (8)
I added docs about the --workers
option and its effect on stdin
processing: #119.
So maybe one has to stop the execution of additional workers if
subprocess.communicate
inVcsClientBase
While executing all the commands sequentially that would also mostly prohibit the performance improvements achieved by multiple workers. So I don't see it being a viable alternative to --workers 1
. Unfortunately I don't have a suggestion for you.
from vcstool.
vcstool
is currently not designed to provide stdin
to any of the commands executed. Simply because I don't have a use case for this.
I am not sure how much effort it would be to implement support for user input. I would be happy to review a pull request for this.
from vcstool.
Understood. Good to know this is expected behavior.
It is certainly not an easy problem. Just piping stdin
in from the user wouldn't be exceptionally useful because you would still have to enter credentials for each repo every time.
For now I'll just change the way I authenticate on remotes.
from vcstool.
I will mark this as "wontfix" since I don't intend to work on this. If someone can come up with a pull request implementing this somehow I would be more than happy to review and integrate it.
from vcstool.
would be nice to have that feature
from vcstool.
would be nice to have that feature
Please feel free to contribute a pull request.
from vcstool.
Do you have recommendations where to start?
from vcstool.
hotfix is to set number of workers to 1, e.g.
vcs import < yaml_file.repos --workers=1
So maybe one has to stop the execution of additional workers if subprocess.communicate
in VcsClientBase
vcstool/vcstool/clients/vcs_base.py
Line 83 in 6d41a5a
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.