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

[Feature Request] Select from available projects repos for a GitHub/GitLab user #1806

Open
astares opened this issue Feb 21, 2024 · 0 comments

Comments

@astares
Copy link
Contributor

astares commented Feb 21, 2024

As an idea:

Once one has a username it is via HTTPS calls to REST APIs possible to get a list of the available (public) projects
from GitHub and GitLab

username := 'astares'.
github := STON fromString: (ZnEasy get: 'https://api.github.com/users/',username,'/repos') contents.

gitlab := STON fromString: (ZnEasy get: 'https://gitlab.com/api/v4/users/astares/projects') contents.

Maybe also from Bitbucket (but I think that requires authentication)

username := 'astares'.
bitbucket := STON fromString: (ZnEasy get: 'https://api.bitbucket.org/2.0/repositories/astares') contents.

Ideally we could extend the Iceberg clone dialog in the future to be able to select the project name from a list (instead of having to type it)

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

No branches or pull requests

1 participant