Code Monkey home page Code Monkey logo

gh-gitlab-stats's People

Contributors

amenocal avatar dependabot[bot] avatar pmartindev avatar robandpdx avatar

Stargazers

 avatar

Watchers

 avatar

gh-gitlab-stats's Issues

failure to list milestones

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.

failure when tool encounters project with no git repo

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}

failure when wiki is disabled

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”

Errors from GitLab Analyzer

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.

Image

Wondering if you have any suggestions or pointers? Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.