Package Details: kubo-git 0.30.0.r15.gb71cf0d-1

Git Clone URL: https://aur.archlinux.org/kubo-git.git (read-only, click to copy)
Package Base: kubo-git
Description: IPFS implementation in Go
Upstream URL: https://github.com/ipfs/kubo
Licenses: MIT AND Apache-2.0
Conflicts: go-ipfs, go-ipfs-git, kubo
Provides: go-ipfs, ipfs, kubo
Replaces: go-ipfs-git
Submitter: RubenKelevra
Maintainer: Revvy
Last Packager: Revvy
Votes: 24
Popularity: 0.013637
First Submitted: 2022-07-10 17:38 (UTC)
Last Updated: 2024-09-20 03:13 (UTC)

Dependencies (4)

Required by (16)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

RubenKelevra commented on 2020-04-10 21:49 (UTC)

@mohe thanks, overlooked that (got go-pie on my ignore list).

I've already pushed a new version yesterday :)

mohe commented on 2020-04-09 17:28 (UTC) (edited on 2020-04-09 17:28 (UTC) by mohe)

Thanks for fixing! Btw, go-pie 1.14.2 just got released!

RubenKelevra commented on 2020-04-09 06:39 (UTC) (edited on 2020-04-09 06:40 (UTC) by RubenKelevra)

@mohe I've fixed the PKGBUILD, thanks for the report.

As explained before, the default git to pkgver() from the wiki, which @redfish quoted doesn't work here.

mohe commented on 2020-04-07 16:33 (UTC) (edited on 2020-04-07 16:34 (UTC) by mohe)

==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version: 0.5.0-rc1.r0.g1a2c88baa

I can't build this package because the package version contains a hyphens which is invalid. Please use @redfish's pkgver()

pkgver() {
  cd "$srcdir/$_pkgname"
  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

which is also officially recommended at https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git (rewritten a bit)

RubenKelevra commented on 2020-04-05 10:48 (UTC) (edited on 2020-04-18 11:16 (UTC) by RubenKelevra)

This package forces a minimal go-version of 1.14.2. All 1.14 versions below are affected by concurrency issues which leads to instabilities and lockups.

If you need to run an older version, you need to downgrade go-pie to the not affected go-version 1.13.8.

You can download the older version of go-pie from the archive:

https://archive.archlinux.org/packages/g/go-pie/

More info:

https://github.com/golang/go/issues/38119

RubenKelevra commented on 2020-03-27 15:04 (UTC)

@redfish thanks for the hint, but this would break the conventions for aur packages on this repo (to show the latest stable, plus changes, plus commit-id) - since the tags are not in the main branch on this repo.

The old workaround to use jq to identify the current version is outdated, I replaced it with a simple grep, but this would lead to 0.5.0-dev as version string, which would also break conventions.

That's why the version detection is a bit more complicated now, but should somewhat reliably fetch the latest rc/stable tag and identify the commits since this tag was released on the main branch (hopefully).

02m commented on 2019-07-21 10:21 (UTC) (edited on 2019-07-21 10:27 (UTC) by 02m)

Build fails with:

==> Starting pkgver()... jq: error: Could not open file package.json: No such file or directory ==> ERROR: pkgver is not allowed to be empty. ==> ERROR: pkgver() generated an invalid version: Error making: go-ipfs-git

Replacing pkgver() function with the suggestion from @redfish works like a charm.

redfish commented on 2019-06-08 17:42 (UTC)

There isn't a need to parse the version from the source files, because the releases are tagged, so best to go with the standard format (0.4.21.r54.gc7dc3c33e):

pkgver() {
  cd "$srcdir/$_pkgname"
  git describe --long --tags |  sed -e 's/^v//' -e 's/\([^-]*-g\)/r\1/;s/-/./g'
}

FallenSnow commented on 2019-05-27 03:30 (UTC)

jq version acquisition is failing since go-ipfs now stores the version in version.go.

The LICENSE file has also been split into LICENSE-MIT and LICENSE-APACHE.

zbiko commented on 2017-12-18 01:45 (UTC) (edited on 2017-12-18 01:45 (UTC) by zbiko)

==> Leaving fakeroot environment.
==> Finished making: go-ipfs-git 0.4.14dev.r141.gce22b83f2-1 (Sun Dec 17 17:09:31 PST 2017)
==> Cleaning up...
:: Installing go-ipfs-git package(s)...
:: go-ipfs-git package(s) failed to install.
:: ensure package version does not mismatch between .SRCINFO and PKGBUILD
:: ensure package name has a VCS suffix if this is a devel package
:: go is now an orphan package
:: jq is now an orphan package