gitlabutils

package
v0.469.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_TOKEN_NAME = "GITLAB_TOKEN"

Variables

This section is empty.

Functions

func DownloadMainReadmes

func DownloadMainReadmes(ctx context.Context, options *DownloadMainReadmesOptions) error

Downlaod the main README.md of all projects in a gitlab group

func NewAuthenticatedGitlab

func NewAuthenticatedGitlab(ctx context.Context, gitlabUrl string) (*asciichgolangpublic.GitlabInstance, error)

Types

type DownloadMainReadmesOptions

type DownloadMainReadmesOptions struct {
	// Where to store the README.md files:
	OuputPath string

	// Gitlab group of projects to download the REAMDE.md files:
	GitlabGroupUrl string

	// Ignore repos with no README.md file
	IgnoreNoReadmeMd bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL