Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parallelism can disfunct query for credentials #386

Open
lomnido opened this issue Jan 15, 2024 · 0 comments
Open

parallelism can disfunct query for credentials #386

lomnido opened this issue Jan 15, 2024 · 0 comments

Comments

@lomnido
Copy link
Contributor

lomnido commented Jan 15, 2024

Environment

  • Output of tsrc version: tsrc 3.0.1
  • Operating system: Ubuntu 22.04

Command you ran

tsrc init <manifest_repo_path>

Actual output

if there are some repositories or submodules that require login/password to be provided, the login prompt asks for input multiple times, thus totally disfunct it.

Expected result

Asking for credentials (login/password) should always apply only one-at-the-time, regardless of parallelism. (some locking mechanism should be in place)
There is a workaround that always in tsrc init also using -j1 to disable parallelism. This way the login/password can be provided successfully.
It is a shame that there is no warning about such behavior anywhere in docs or in tsrc init --help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant