codecov / codecov/vscode

[vscode] Support per-project API token

Open
#58 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
13
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Currently the extension will only accept one API token per install. We do have a command for resetting the token, but as in Eli's usecase, having two github/codecov accounts in use simultaneously, the extension can't really work.

Potential solution - Add a command to set a project specific API token.

This would presumably be keyed to the project somehow. I'm not sure how we would adapt the key reset command to work with project tokens, but there's probably a solution. (Maybe can list all projects tokens? idk.)

Contributor guide

No contributing guide indexed for this repository

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

Start with the existing command for resetting the token and trace how the extension currently stores and reads its single install-wide token. Clarify how project-specific tokens should be selected and how reset or listing should work; done means two GitHub/Codecov accounts can be used simultaneously.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
authentication, developer-experience, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.