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

Implement get projects #2

Open
bijancn opened this issue Oct 3, 2019 · 4 comments
Open

Implement get projects #2

bijancn opened this issue Oct 3, 2019 · 4 comments
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest help wanted Extra attention is needed

Comments

@bijancn
Copy link
Owner

bijancn commented Oct 3, 2019

Currently gitlabctl can only get environments. To do that we first get all projects and then get all environments of these projects. An obvious enhancement to gitlabctl would be add get projects.

I like to stick with an overview style as it is known from kubectl. I'm not sure yet what are useful informations about a project to show next to the project name. Probably the same info as https://gitlab.com/explore ? So stars, forks, MRs, issues, updated on.

@bijancn bijancn added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers hacktoberfest labels Oct 3, 2019
@SeanMcLoughlin
Copy link

I'd like to work on this, but could you please provide an example of a gitlab.toml file to test this with?

@bijancn
Copy link
Owner Author

bijancn commented Oct 6, 2019

Hi @SeanMcLoughlin . Of course, I added it to the README https://github.com/bijancn/gitlabctl/blob/master/README.md#configuration

@SeanMcLoughlin
Copy link

SeanMcLoughlin commented Oct 6, 2019

Is there any URL you'd recommend that isn't as slow as gitlab.com? It just hangs. I've tried it with my own GitLab personal project URL and I keep getting an err deserialization err. I've also tried it with my organization's private GitLab instance and get err gitlab error: 401 unauthorized.

@bijancn
Copy link
Owner Author

bijancn commented Oct 17, 2019

Hey @SeanMcLoughlin . Sorry for not getting back to you. Maybe you can try this server https://gitlab.kitware.com/explore/groups (not sure if they use environments but that's where the rust gitlab library is hosted as well). The unauthorized sounds like you should check with your gitlab admin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants