GNU bug report logs - #74049
[PATCH v1] gnu: matterbridge: Unbundle most golang.org dependencies.

Previous Next

Package: guix-patches;

Reported by: Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org>

Date: Sun, 27 Oct 2024 18:14:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 74049 <at> debbugs.gnu.org
Cc: Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org>
Subject: [bug#74049] [PATCH v1] gnu: matterbridge: Unbundle most golang.org dependencies.
Date: Sun, 27 Oct 2024 20:26:03 +0000
[Message part 1 (text/plain, inline)]
Hi,

Thanks for the initiation of unbundeling process for materbridge!

A general comments for Golang packages which is just final binary, you
may apply "#:install-source? #f" parameter which mean do not place
source of the project into store and just move produced binary.

Also for the final binary all build inputs may be placed to
"native-inputs" they will never be used elsewhere after the install
phase.

While you are keen to unbundle let's pick up as many as we can.  You may
also add some other inputs which are available already:

- filippo.io/edwards25519
- go.uber.org/multierr
- gopkg.in/ini.v1
- gopkg.in/natefinch/lumberjack.v2
- gopkg.in/natefinch/lumberjack.v2
- gopkg.in/yaml.v2
- gopkg.in/yaml.v3
- google.golang.org/protobuf
- github.com/hashicorp ;; all of them are available
- github.com/golang/protobuf
- github.com/fatih/color
- github.com/google/uuid
- github.com/gorilla/websocket
- github.com/pkg/errors

Basically we targeting to have just the first level of dependentices in
"native-inputs" as seen in
<https://github.com/42wim/matterbridge/blob/master/go.mod>.

Please take a look if removing them from vendor and adding them to
native-inputs still keeps the build green.

Thanks for your time.

--
Oleg
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 266 days ago.

Previous Next


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