Package Details: git-gitlab r86.2c65c9369900391717373e1e0263753740ca7fa2-1

Git Clone URL: https://aur.archlinux.org/git-gitlab.git (read-only, click to copy)
Package Base: git-gitlab
Description: gitlab command line interface (patched fork)
Upstream URL: https://github.com/diegostamigni/git-gitlab
Keywords: 2018 broken eol incompatible to-be-deleted unneeded
Licenses: MIT
Submitter: voyd
Maintainer: None
Last Packager: alerque
Votes: 3
Popularity: 0.000000
First Submitted: 2015-07-18 23:01 (UTC)
Last Updated: 2020-05-25 14:07 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

alerque commented on 2020-05-25 14:07 (UTC)

I don't use this any more, the upstream is out of date and doesn't work with current libgit2 any more, and the Go packaging is a mess using old module systems. I'm going to disown because I don't feel like fixing these things and it is in a known-bad state.

barbuk commented on 2018-07-05 10:15 (UTC) (edited on 2018-07-05 10:15 (UTC) by barbuk)

There is an up to date fork here: https://github.com/diegostamigni/git-gitlab

# Maintainer: Simon Kohlmeyer <simon.kohlmeyer@gmail.com

pkgname=git-gitlab
pkgver=r81.2c65c9369900391717373e1e0263753740ca7fa2
pkgrel=2
pkgdesc="gitlab command line interface"
arch=('x86_64' 'i686')
url="http://github.com/numa08/git-gitlab"
license=('MIT')
makedepends=('go' 'libgit2')
depends=('libgit2')
options=('!strip' '!emptydirs')
source=("https://github.com/diegostamigni/$pkgname/archive/${pkgver#r*.}.zip")
sha256sums=('f1afad863c4af9ff23c4f7346975ab1b9e9e0d396b63f5f8c62b0ac8bc185969')

prepare() {
  export GOPATH="$srcdir"
  go get gopkg.in/libgit2/git2go.v27
  go get github.com/plouc/go-gitlab-client
  go get github.com/codegangsta/cli
}

build() {
  cd "$pkgname-${pkgver#r*.}"

  GOPATH="$srcdir" go build
}

package() {
  cd "$pkgname-${pkgver#r*.}"

  install -Dm755 "$pkgname-${pkgver#r*.}" "$pkgdir/usr/bin/git-lab"
  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

# vim:set ts=2 sw=2 et:

alerque commented on 2018-06-16 09:38 (UTC)

I still use this and will look into fixing the upstream bug when I get a chance.

voyd commented on 2018-01-30 17:07 (UTC)

This doesn't seem to be maintained upstream and I don't really have the energy to fix anything, so I'm abandoning this package. If nobody adopts it in the next 3 months, I'll delete it.

The upstream bug that breaks this package is https://github.com/numa08/git-gitlab/issues/57

towo commented on 2017-11-05 21:08 (UTC) (edited on 2017-11-05 21:09 (UTC) by towo)

... and modifying for usage of libgit2-v26 gets build to fail at: ==> Starting prepare()... # cd /home/towo/.cache/pacaur/git-gitlab/src/src/gopkg.in/libgit2/git2go.v26; git submodule update --init --recursive Submodule 'vendor/libgit2' (https://github.com/libgit2/libgit2) registered for path 'vendor/libgit2' Cloning into '/home/towo/.cache/pacaur/git-gitlab/src/src/gopkg.in/libgit2/git2go.v26/vendor/libgit2'... Submodule path 'vendor/libgit2': checked out '15e119375018fba121cf58e02a9f17fe22df0df8' fatal: No url found for submodule path 'vendor/libgit2/tests/resources/rebase-submodule/my-submodule' in .gitmodules Failed to recurse into submodule path 'vendor/libgit2' package gopkg.in/libgit2/git2go.v26: exit status 1

towo commented on 2017-11-05 21:05 (UTC)

Not sure why the prepare() handler is ignored by pacaur in this setup; manually running makepkg -si yields: ==> Starting prepare()... # gopkg.in/libgit2/git2go.v24 src/gopkg.in/libgit2/git2go.v24/git.go:9:3: error: #error "Invalid libgit2 version; this git2go supports libgit2 v0.24" # error "Invalid libgit2 version; this git2go supports libgit2 v0.24" ^~~~~ Since libgit 0.26 is installed, this seems to a bit of a problem.

towo commented on 2017-11-05 20:57 (UTC)

Doesn't build ootb: ==> Starting build()... commands.go:7:2: cannot find package "github.com/codegangsta/cli" in any of: /usr/lib/go/src/github.com/codegangsta/cli (from $GOROOT) /home/towo/.cache/pacaur/git-gitlab/src/src/github.com/codegangsta/cli (from $GOPATH) gitlab-client.go:4:5: cannot find package "github.com/plouc/go-gitlab-client" in any of: /usr/lib/go/src/github.com/plouc/go-gitlab-client (from $GOROOT) /home/towo/.cache/pacaur/git-gitlab/src/src/github.com/plouc/go-gitlab-client (from $GOPATH)

gyscos commented on 2017-10-02 19:55 (UTC)

Trying to build it now gives the following error: ==> Starting prepare()... # gopkg.in/libgit2/git2go.v24 src/gopkg.in/libgit2/git2go.v24/git.go:9:3: error: #error "Invalid libgit2 version; this git2go supports libgit2 v0.24" # error "Invalid libgit2 version; this git2go supports libgit2 v0.24" ^~~~~ ==> ERROR: A failure occurred in prepare(). Aborting... ==> ERROR: Makepkg was unable to build git-gitlab. I have libgit2-0.26 installed.

voyd commented on 2016-05-26 13:42 (UTC)

The upstream bug about libgit2 has been fixed and this package should work again with the updates I just did.

whynothugo commented on 2016-05-19 08:53 (UTC)

@electricprism: The application itself is called "git-gitlab". "-git" packages are packages that build the latest git commit of a package - that's not the case here.