GNU bug report logs - #64036
[PATH] fix a bug on importing go packages.

Previous Next

Package: guix-patches;

Reported by: Elbek <el <at> mathematica.uz>

Date: Tue, 13 Jun 2023 06:33:03 UTC

Severity: normal

Merged with 64035

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Elbek <el <at> mathematica.uz>
To: "guix-patches" <guix-patches <at> gnu.org>
Subject: [PATH] fix a bug on importing go packages.
Date: Mon, 12 Jun 2023 23:20:34 +0500
[Message part 1 (text/plain, inline)]
Hello.

This patch addresses the issue https://issues.guix.gnu.org/63001

Currently "guix import go ..." looks to the repository depending on the version of a package.

For example, if package version is $1.11.0$, the importer tries to look to the repository's tag named v1.11.0,
but some packages are using tags that are prefixed by the module name.

For example, the package cloud.google.com/go/workflows use the tag workflows/v1.11.0

This patch changes go importer, such that it looks to the module-name prefixed tags if they exists, and behaves as before otherwise.

[guix-import-go--tags-may-prefixed-by-module-name.patch (application/octet-stream, attachment)]

This bug report was last modified 1 year and 340 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.