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

git fails if not authenticated, request for login/password not visible to the user #1108

Open
hohwille opened this issue Mar 4, 2025 · 0 comments
Labels
bug Something isn't working git repository Commandlet to clone, build or import git repositories settings ide-settings repo and replated processes and features

Comments

@hohwille
Copy link
Member

hohwille commented Mar 4, 2025

Expected behavior

As a IDEasy user, I want IDEasy to call git in an interactive way so that I am asked for credentials if needed.

Actual behavior

Step 'Clone or pull repository' failed: Command git failed with exit code 128 - full commandline was /usr/bin/git clone --recursive https://git.company.com/repo/that/requires/authentication.git --config core.autocrlf=false .

Steps to reproduce (bug) / Use Case of feature request (enhancement)

  1. fork ide-settings
  2. setup a git repo that requires authentication (via HTTPS)
  3. configure a repository via settings/repositories/authtest.properties
  4. ide repository setup authtest

Related/Dependent Issues

Comments/Hints:

When calling the git command manually in the terminal, I am asked for login and password.
If I have credential manager configured the password is stored and afterwards it also works in IDEasy - so we have a workaround.
However, unless --batch mode is active, I would expect to also get the request for login credentials from git if called from IDEasy.

Affected version:

  • Problem reproduced on Windows and MacOS, most likely also on Linux but not tested
  • 2025.02.002
@hohwille hohwille added bug Something isn't working git repository Commandlet to clone, build or import git repositories settings ide-settings repo and replated processes and features labels Mar 4, 2025
@github-project-automation github-project-automation bot moved this to 🆕 New in IDEasy board Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working git repository Commandlet to clone, build or import git repositories settings ide-settings repo and replated processes and features
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant