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

Cache git credentials via the jupyterlab-git extension #659

Closed
rdelubi opened this issue May 29, 2020 · 2 comments · Fixed by #1099
Closed

Cache git credentials via the jupyterlab-git extension #659

rdelubi opened this issue May 29, 2020 · 2 comments · Fixed by #1099

Comments

@rdelubi
Copy link

rdelubi commented May 29, 2020

As a feature request:

Can jupyterlab-git extension provide a UI to cache git credentials so that user doesn't have to enter the credentials every time he/she needs to interact with remote repo? e.g. wrap the functionality of "git config credential.helper 'cache --timeout=xxx'" in the extension UI

@fcollonval
Copy link
Member

fcollonval commented Jul 22, 2021

Tasks:

  1. First add a settings in the extension to determine if the user wants to cache its credentials:
    1. Add a that settings in schema/plugin.json
    2. Maybe add a other one for the timeout
  2. Pass that settings with the user authentication to the backend
  3. If the settings needs to be cached
    1. Check if there is already a credentials helper
    2. if not and setting is true add the cache helper

cc @navn-r @SinaKhalili

@meeseeksmachine
Copy link

This issue has been mentioned on Jupyter Community Forum. There might be relevant details there:

https://discourse.jupyter.org/t/jupyterlab-git-requires-git-authentication-for-operations-like-stage-unstage-and-diff/11255/2

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

Successfully merging a pull request may close this issue.

3 participants