question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

vcs import fails when credentials are needed

See original GitHub issue

Running vcs import with a config file that contains two or more repos that need either:

  • http login credentials
  • private key password

does not work as the prompts clobber each other.

Running 0.1.15 from PyPI

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dirk-thomascommented, Jan 21, 2020

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 in VcsClientBase

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.

0reactions
mhubiicommented, Jan 21, 2020

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 https://github.com/dirk-thomas/vcstool/blob/6d41a5a1d9ac705836dd617785f686bc93c8d657/vcstool/clients/vcs_base.py#L83

Read more comments on GitHub >

github_iconTop Results From Across the Web

vcstool does not play nice when subtools need user interaction
When using an unauthenticated ssh host, VCS forwards the prompt to the user but this prompt is broken: $ vcs pull The authenticity...
Read more >
API Designer - MuleSoft Help Center
if i try to import API spec on to an existing project then i am facing this error, but if i import API...
Read more >
git - can't share project on github because android studio ...
i'm typing the password i entered in android-studio -> settings -> Version control -> GitHub.it works when i'm importing a project. is there ......
Read more >
"Required key" check conflicts with best practice of keeping ...
The "required key" check in \CommerceGuys\AuthNet\Configuration::__construct() enforces valid credentials - that makes sense. On my Drupal site, ...
Read more >
Importing an Existing Database from a VCS Server
The import fails because there is a conflict between the local “jar_1” and the one stored in the VCS server. If you open...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found