profclems / glab

The GitLab CLI tool. Archived: now officially adopted by GitLab as the official CLI tool and maintained at https://gitlab.com/gitlab-org/cli. See https://github.com/profclems/glab/issues/983
https://glab.readthedocs.io/
MIT License
2.08k stars 163 forks source link

Include token name and required scopes in PAT link #1010

Open EspadaV8 opened 1 year ago

EspadaV8 commented 1 year ago

Description

Include a default name and required scopes in the URL to generate the personal access token.

Related Issue

Resolves #[issue_number]

How Has This Been Tested?

I haven't tested this via the code (not sure how to build it), but you can see it working by visiting

https://gitlab.com/-/profile/personal_access_tokens?name=GLab&scopes=api,write_repository

I just found out about GLab and added the feature to support passing in the name and scopes to the PAT page on GitLab. When setting it up I noticed they weren't present and could simplify the set up for other new users.

Screenshots (if appropriate)

Types of changes

profclems commented 1 year ago

Hi @EspadaV8, thanks a lot for this PR. We announced that this project is officially adopted by GitLab https://github.com/profclems/glab/issues/983#issue-1175723125. All new contributions should be mode to the GitLab repo: https://gitlab.com/gitlab-org/cli

clemsbot commented 1 year ago

This PR has been automatically marked as stale because it has not had recent activity. This message is just a reminder for the author, reviewers and assignees.