dev-util/git-bug - 0.10.1 (gentoo)

Search

Install

Install this version:

emerge -a =dev-util/git-bug-0.10.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-util/git-bug-0.10.1

Or alternatively:

emerge --autounmask-write -a =dev-util/git-bug-0.10.1

Package Information

Description:
Distributed, offline-first bug tracker embedded in git
Homepage:
https://github.com/git-bug/git-bug
License:
GPL-3 Apache-2.0 BSD-2 BSD ISC MIT MPL-2.0 Unlicense

Ebuild Details

Version EAPI Keywords Slot
0.10.1 8 ~amd64 ~arm64 ~x86 0
View Raw Ebuild
# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module shell-completion

DESCRIPTION="Distributed, offline-first bug tracker embedded in git"
HOMEPAGE="https://github.com/git-bug/git-bug"
SRC_URI="https://github.com/git-bug/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
	https://dev.gentoo.org/~laumann/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz"

LICENSE="GPL-3"
# Dependent licenses
LICENSE+=" Apache-2.0 BSD-2 BSD ISC MIT MPL-2.0 Unlicense"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"

BDEPEND=">=dev-lang/go-1.24.0"

QA_PRESTRIPPED=usr/bin/git-bug

src_compile() {
	ego generate
	local ego_build_args=(
		-ldflags "-s -w -X github.com/git-bug/git-bug/commands.GitLastTag=${PV} -X github.com/git-bug/git-bug/commands.GitExactTag=${PV}"
		-o ${PN}
	)
	ego build "${ego_build_args[@]}"
}

src_test() {
	# TestValidateProject fails with FEATURES=network-sandbox
	# TestGitFileHandlers appears to be brittle, see bug #982080 and
	# https://github.com/git-bug/git-bug/issues/1591
	CI=true ego test -v ./... -skip "TestValidateProject|TestGitFileHandlers"
}

src_install() {
	dobin git-bug
	doman doc/man/*.1
	dobashcomp misc/completion/bash/git-bug
	newzshcomp misc/completion/zsh/git-bug _git-bug
	newfishcomp misc/completion/fish/git-bug git-bug.fish
}

Inherited Eclasses

Dependencies

BDEPEND

>=dev-lang/go-1.24.0

Manifest for 0.10.1

Type File Size Source URLs
DIST git-bug-0.10.1-deps.tar.xz 353600896 bytes https://dev.gentoo.org/~laumann/distfiles//git-bug/git-bug-0.10.1-deps.tar.xz
DIST git-bug-0.10.1.tar.gz 2669305 bytes https://github.com/git-bug/git-bug/archive/v0.10.1.tar.gz