[Feat] Support different / multiple GitHub credentials in different Eclipse workspaces

Ouverte
#477 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 2 jours

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
12/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
github-actions, java

Piste de recherche

The request is about how the Copilot Eclipse plugin stores and switches GitHub credentials, so the entry points are the plugin's authentication and account-storage code, which the payload does not name. Read how the plugin persists its login today, then compare with how Eclipse Git handles per-repository authentication. Done would be a design decision on per-user versus per-workspace storage, which the maintainers have not yet made.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

enhancement

Is your feature request related to a problem? Please describe.
As someone works on personal, open-source, business and client projects in Eclipse, I end up using different GitHub orgs and credentials (direct, enterprise, etc.). The GitHub co-pilot plugin does not support multiple GitHub authentications on the same machine. When switching between different types of work (workspaces), the only way to use the right GitHub CoPilot license with the right project is to log out of CoPilot and log back in, which is a pain when you are switching workspaces more than once a day.
Note: Eclipse Git supports different authentications for different repositories.

Describe the solution you'd like
In my opinion either one of the two solutions could work (first one preferred):

  • Support multiple authentications in the GitHub Copilot Eclipse plugin, and allow switching between users easily. (Similar to how you can be logged into multiple users on github.com in a browser and switch users)
  • Store copilot authorizations at the workspace level, rather than at the user profile (?) level. This allows different workspaces to automatically be logged into the 'right' GitHub account. The only drawback being having to log into the same credentials from different workspaces while working on the same GitHub org.

Describe alternatives you've considered
Some users online have suggested using different Eclipse installations for different orgs, which may not work very clean or manageable.

Additional context
None

Langage dominant
Java
Étoiles
129
Forks
70
Merge moyen
2 j 11 h
PR mergées (30 j)
15

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de microsoft/copilot-for-eclipse

Toutes les issues de microsoft/copilot-for-eclipse

Issues similaires

Plus d'issues Java

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.