gitlab-issues

command module
v0.0.0-...-1e1f4dd Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2017 License: MIT Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

gitlab-issues

A simple tool to export gitlab issues in both text and CSV format. It uses the handy xanzy/go-gitlab library to pull the issues from gitlab.

Note

Requires go 1.7+

Installation

go install github.com/tzneal/gitlab-issues

Usage

    Usage of gitlab-issues:
      -csv
        	format output as CSV
      -label string
        	issues with any maching label will be returned, multiple labels can be separated by a comma
      -milestone string
        	project milestone
      -o string
        	specify filename to write output to instead of stdout
      -project string
        	project name
      -token string
        	gitlab token from User Settings->Account page
      -url string
        	base URL to connect to (default "https://gitlab.com/")

Examples

  • Extract Issues from a particular milestone

gitlab-issues --url https://gitlab.xyz.com --token my-secret-token --project my/project --milestone "Release 1.0"

  • Export as CSV

gitlab-issues --url https://gitlab.xyz.com --token my-secret-token --project my/project --csv -o issues.csv

  • Pull issues with particular labels

gitlab-issues --url https://gitlab.xyz.com --token my-secret-token --project my/project --label Planned,Development

FAQ

  • Where do I find the token to use for my gitlab instance?

    If you click Profile -> Settings in gitlab, and look at the 'Account' tab, it's listed as your 'Private token'.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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