-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow users to input git credentials without prompts overwriting each…
… other (#775) * Prevent git password prompts from interfering with each other If a git repository cannot be accessed in parallel, try it sequentially while allowing the user to input their credentials. This fixes the issue where multiple git processes running in parallel would all present a username and password prompt, overwriting each other. Avoiding password prompts entirely should be out of scope for aliBuild, as that requires changing the user's git configuration. Instead, the documentation should specify how to cache passwords or use SSH auth instead. * Document ways to cache git credentials While aliBuild doesn't fail as badly when presenting git credential prompts any more, it can still be annoying to be prompted often for the same password. To alleviate this, document ways to cache or eliminate passwords that must be typed by the user. aliBuild should not do this automatically as it interferes with the user's configuration. * Link to troubleshooting docs in aliBuild message This should make ways to fix the issue of users being prompted for their password too often easier to find. * Add unittest covering git wrapper function * Fix git unittest In GitHub CI, we have access to the alisw org, so no password prompt is shown. Instead, just check for the error type, and use another private repo to check for access restrictions.
- Loading branch information
1 parent
0c82f22
commit 245c769
Showing
10 changed files
with
202 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.