Source Control Login Fails to Auth
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
The built in 'Source Control' sidebar panel will ask for your credentials when authenticating to external git servers for operations such as push and pull. The handling of the authentication is 'hacky' and doesn't always work.
The pip package in use for source control is: gitPython
https://github.com/mitre/GraphEx/blob/main/setup.py#L31
The credential handling is done by writing to '~/.git-credentials' on demand:
https://github.com/mitre/GraphEx/blob/main/graphex/server.py#L2129
More work should be done to consider and test the various authentication schemes to remote servers. Failure may also be related to 'cached credentials' on some Linux machines.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read setup.py at line 31 and graphex/server.py around line 2129 to understand the GitPython dependency and credential-file handling. Reproduce push and pull authentication against external Git servers, including cached credentials on Linux, and investigate the authentication schemes named in the issue. Done means the supported login flows work reliably and are covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, python
- Domain
- authentication, devtools
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100