Settings holds a default token per forge: GitHub, and a Gitea server with its token #212

Closed
opened 2026-11-11 12:48:01 +00:00 by james.maes · 0 comments
Owner

Part of #201 (step 5), asked for by the owner on 2026-11-11: GitHub and Gitea are to be equal options throughout, and Settings is all about GitHub.

What

  • Settings has two groups under one heading, named like everywhere else: GitHub (token) and Gitea (server address, token). Each can be removed by itself.
  • A default token belongs to one place. The Gitea one is stored under a name made from its server address, so it is found only for that server.
  • Quick Sync fills in the default token of the place on its card.
  • An account that uses the default token gets the default token of its own place, and none when there is none for that place. The app's wizard offers the choice for any place that has one; the command line's --use-default-token works the same way.
  • The rule that replaces "the default token is a GitHub token": a default token is never used for another place than the one it was saved for.
Part of #201 (step 5), asked for by the owner on 2026-11-11: GitHub and Gitea are to be equal options throughout, and Settings is all about GitHub. ## What - Settings has two groups under one heading, named like everywhere else: **GitHub** (token) and **Gitea** (server address, token). Each can be removed by itself. - A default token belongs to one place. The Gitea one is stored under a name made from its server address, so it is found only for that server. - Quick Sync fills in the default token of the place on its card. - An account that uses the default token gets the default token of its own place, and none when there is none for that place. The app's wizard offers the choice for any place that has one; the command line's `--use-default-token` works the same way. - The rule that replaces "the default token is a GitHub token": a default token is never used for another place than the one it was saved for.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KofTwentyTwo/gclo#212