oracle / oracle/macaron

Disabling GIT_TERMINAL_PROMPT is insufficient in some cases

Open
#357 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement task
Dominant language
Python
Stars
210
Forks
36
Avg merge
1d 10h
Merged PRs (30d)
2

Description

During analysis, Macaron's intent is to disable all UI prompts with regards to GitHub logins. For this purpose, the environment variable GIT_TERMINAL_PROMPT is set to False (see: Git Docs). However, in some cases that environment variable is insufficient. As also seen in the Git config docs (link), the environment variables GIT_ASKPASS and SSH_ASKPASS can also cause a prompt to appear, as can the related config value core.askPass.

As the current Macaron Docker image does not suffer from this problem, for now it is only a concern for users trying to run Macaron outside of that environment.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is identified in the issue. Start by locating where Macaron sets GIT_TERMINAL_PROMPT, then compare behavior outside the Docker image using the Git and Git config documentation for GIT_ASKPASS, SSH_ASKPASS, and core.askPass. Done means GitHub login operations no longer show UI prompts in non-Docker runs.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, python
Domain
devops, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.