mona-actions / gh-gitlab-stats Goto Github PK
View Code? Open in Web Editor NEWGH CLI extension to pull statistics on GitLab repository and server metadata
License: MIT License
GH CLI extension to pull statistics on GitLab repository and server metadata
License: MIT License
The tool can produce the following error...
Fetching namespace/my-test-project MetaData (1s)2023/10/26 18:05:05 Failed to list milestones: Get "https://gitlab.teracloud.ninja/api/v4/projects/594/milestones?page=1&per_page=100": EOF
I'll try to get more details about how to reproduce this error.
I am seeing the following error when the tool encounters a project in gitlab that has no git repo.
Fetching namespace/my-project-with-no-git-repo MetaData (0s)2023/10/25 17:58:31 Failed to list commits: &{0x14000241440 0 0 0 0 0 0} GET https://gitlab.teracloud.ninja/api/v4/projects/810/repository/commits: 404 {message: 404 Repository Not Found}
A customer is using a shared GitLab instance and would like to have the option of generating a subset of groups/projects 🙏
When the wiki is disabled for a project in GitLab server, the tool fails with the following error...
$ gh gitlab-stats --token $GITLAB_API_PRIVATE_TOKEN --output-file gl-stats.csv --hostname $GITLAB_HOST
▀ Fetching Groups (1s)Found group mindfulrob
SUCCESS Groups fetched successfully
SUCCESS Projects fetched successfully
▄ Fetching mindfulrob/superbigmonorepo MetaData (0s)2023/10/26 14:12:43 Failed to list wikis: &{0x14000330ea0 0 0 0 0 0 0} GET https://gitlab-td-robandpdx.expert-services.io/api/v4/projects/1/wikis: 403 {message: 403 Forbidden}
To reproduce, disable wiki on a project via “Settings > General > Visibility, project features, permissions > Wiki”
We need to add a license file to this project.
Use gock to generate mock tests for GitLab API calls
Hi @amenocal @pmartindev ,
I provided the tool to a customer to analyze their GitLab repos for migration. They encountered the following error:
Groups and Projects were fetched successfully, but then the second project threw an error.
Wondering if you have any suggestions or pointers? Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.