Go application that clones or pulls all accessible repositories from various forges
Find a file
2025-04-03 11:26:40 +02:00
cmd/gogitlabber fix(ci): more linter fixes 2025-04-03 11:21:00 +02:00
.gitignore feat(ci): first attempt for automated releases 2025-04-03 11:09:09 +02:00
.gitlab-ci.yml feat(ci): release only when scheduled 2025-04-03 11:26:40 +02:00
.goreleaser.yaml feat(ci): first attempt for automated releases 2025-04-03 11:09:09 +02:00
go.mod chore(deps): update github.com/scornet256/go-logger digest to 0062c21 2025-03-06 11:46:51 +00:00
go.sum feat(ci): first attempt for automated releases 2025-04-03 11:09:09 +02:00
LICENSE feat: added licence 2025-02-27 10:47:55 +00:00
readme.md docs: small improvements 2025-03-05 12:14:06 +01:00
renovate.json feat: added renovate config 2025-02-27 11:50:02 +01:00

gogitlabber

This project is inspired from the python application called gitlabber (https://github.com/ezbz/gitlabber). It is mainly to learn Golang. But also to make something that specifically solves my problem. :)

The program can clone and pull all repositories you have access to on a selfhosted or SaaS provided Gitlab server. It only supports the HTTP access method.

Usage

Usage of gogitlabber:
  -archived string
        To include archived repositories (any|excluded|exclusive)
          example: -archived=any
        env = GOGITLABBER_ARCHIVED
         (default "excluded")

  -concurrency int
        Specify repository concurrency
          example: -concurrency=15
        env = GOGITLABBER_CONCURRENCY
         (default 15)

  -debug
        Toggle debug mode
         example: -debug=true
        env = GOGITLABBER_DEBUG
         (default false)

  -destination string
        Specify where to check the repositories out
          example: -destination=$HOME/repos
        env = GOGITLABBER_DESTINATION
         (default "/home/simon/Documents/siempie")

  -gitlab-api-token string
        Specify GitLab API token
          example: -gitlab-api=glpat-xxxx
        env = GITLAB_API_TOKEN
         (default "glpat-QsUyRLKF3wPb1Ny7MLjy")

  -gitlab-url string
        Specify GitLab host
          example: -gitlab-url=gitlab.com
        env = GITLAB_URL
         (default "gitlab.simoncor.net")