gembel

command module
v0.0.0-...-0ef7445 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2018 License: BSD-3-Clause 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

gembel

gembel — command line app to bulk update GitHub issue labels.

Install

From brew
brew install gedex/tap/gembel

Check the tap source for more details.

From binaries

Download your preferred flavor from the releases page and install manually.

From Go Get
go get github.com/gedex/gembel

Using gembel

Before using gembel, you need GITHUB_TOKEN (can be retrieved from here). Once you've that, set it to your bash profile or provide it when running the app:

GITHUB_TOKEN="token" gembel <config-file>

<config-file> is JSON file with following structure:

{
    "labels": [
        {
            "name": "[Type] Bug",
            "color": "e11d21",
            "replace": "bug"
        },
        {
            "name": "[Type] Enhancement",
            "color": "c7def8"
        }
    ],
    "repositories": [
        "gedex/repo-name",
        "gedex/another-repo-name"
    ]
}

It requires labels (label properties to apply) and repositories (the target repositories). If label has replace property (optional), it will replace matching label in the repository with the new one in name. If you want to mimic labels from another repository, you can use glek to export repository issue labels.

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