From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QLYTCoY6M2NU9AAAbAwnHQ (envelope-from ) for ; Tue, 27 Sep 2022 20:01:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id OIgNCoY6M2OBNgAAauVa8A (envelope-from ) for ; Tue, 27 Sep 2022 20:01:42 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D623514B44 for ; Tue, 27 Sep 2022 20:01:41 +0200 (CEST) Received: from localhost ([::1]:55730 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odEtn-0004Ou-IO for larch@yhetil.org; Tue, 27 Sep 2022 14:01:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55344) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odCs9-0000WJ-Gj for guix-devel@gnu.org; Tue, 27 Sep 2022 11:51:49 -0400 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]:40620) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odCs7-0000MW-Ro for guix-devel@gnu.org; Tue, 27 Sep 2022 11:51:49 -0400 Received: by mail-pl1-x62b.google.com with SMTP id b21so9458747plz.7 for ; Tue, 27 Sep 2022 08:51:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date; bh=5795XgD38RX+Wg4jMQBlRiizxojV26XacltNTQ+B/f8=; b=GaiTSagdJ5c9bYTa74Q8j7f9Id+pDu5gxJqO8AIZqi/pVeBMLeDFrZXSeWsQpl/ow0 9FPCc1Y10Fd0/J5ILSpp8mmpmU5EytzuOS4RxBfReZ20sy6aciqsUAm6sTDb0Gw+q1FG VhLfRXPdsZGg6sWTmj1TZNRkUvkDVlO4P8gHL6sIrUNup0a50KJ87BH1d/IELQCNsoQw cvDO9YWQ9KSYChpuV/mIYyFK03OtM7lXD4TLciYNZUKSNZRwC1yywgszKK1hZnZj77tF co31kt5ExqivwtJG6Cz6SbP+RQrmNYjA7AjPZVIwImFaEUUt1QHJzVeIR5vSNnFap5vi zotg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date; bh=5795XgD38RX+Wg4jMQBlRiizxojV26XacltNTQ+B/f8=; b=KuFbHnv1wqeLpYpHr+SjvTMY9gYXi1175FRFRYBN/MqRbti95f4cAY7wfNW4pcpbjN lW1K2FM/gOB5PiS6xCLEkMv9NpmKCJnVf5N6mIKCEXM613wLDnX89CfEhYmqefPJFEci mvPZoI9DngEMJZjC4Nu4/bS9oGw47ge90nNUY947G5b5kGmhgi0MZeBVJp1/eriR3jgn Uc9Vf2Kh70m5TxCsLNye2/XlzN/FNE6IoOxyMix3Lv+O4uPb/4Z0XB45vbjkai4AKaH4 A8IZC7PTKBmDrPb81Q0VCInVKdK2UHxpRf/vZAAW7gDYd03/YjrWPKZOXRAAUqsW6is8 o1fA== X-Gm-Message-State: ACrzQf2e+fXxIrU1yIXgBylS+3GAOTEjskq11q71VQsHTju27fWiVAII Z1SViEcwgOzMGfFcqhEiexj9v9AYSsw= X-Google-Smtp-Source: AMsMyM6ajsf3zGw6MiCXx1cWnuajbtLH2S4g5cZkZoF7j0SYFfG3ecohvcoKqvZYrlJ3G4Tq8mbHeA== X-Received: by 2002:a17:90a:4e8a:b0:203:9556:1b7d with SMTP id o10-20020a17090a4e8a00b0020395561b7dmr5329088pjh.0.1664293905904; Tue, 27 Sep 2022 08:51:45 -0700 (PDT) Received: from [192.168.254.114] ([180.190.73.70]) by smtp.gmail.com with ESMTPSA id u16-20020a170902e5d000b00172f6726d8esm1744160plf.277.2022.09.27.08.51.44 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Sep 2022 08:51:45 -0700 (PDT) Message-ID: <1da83070-e85d-8223-646a-6a50215b88b5@gmail.com> Date: Tue, 27 Sep 2022 23:51:42 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Content-Language: en-US To: guix-devel@gnu.org From: Gabriel Arazas Subject: Some concerns on the current situation on Go packaging Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2607:f8b0:4864:20::62b; envelope-from=christiangabrielarazas@gmail.com; helo=mail-pl1-x62b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 27 Sep 2022 14:00:39 -0400 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664301701; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=5795XgD38RX+Wg4jMQBlRiizxojV26XacltNTQ+B/f8=; b=uFGB1F7U4n0A+c0XsIWFM3WQ7x0R+XhAVBr6QSVKrexEUcYCFohppUplkO/Yb9mIKpGyz8 Y7YHkH3xZOOg2nq97PGeJNvxKekhytAOOmqT+Py7ZqrxplMmJFkQYJinbqnQx29kl+5X9l SOWQvsw2S26bEZU1uqnacQ1368vGAKiNtbrg+Iht84lhmywOmXXgKL/D6YdLSvXgOiWV1e fs32D1TSPfako2JnOCOIRF5dy7d62O+20TEo4lbRA4dmYu6tMJOWlG3viTEJGcoWSvFjvX 5wRSdu5jobv0pr6mGmHq45cd4bPmsab595qUTvA4iYjiwAhXaBe28O2+F+7ZDw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664301701; a=rsa-sha256; cv=none; b=At4FwG2bm5vL2kblE1Pl4Cf1UUpxiFuryi6eLv338RaaLcfOld05VuqcEWW4B0cx12tikA KldKXqYiLYbcAltpE5DdWnt4cY/mSJHyoH+CjyK3P3tIYICkJqAKQ+mTliFqki6YKw+zut 5pcQlnb8cgmVCnyMhLDFCTxhtfB6+y3MUPHzBuMHgAINGoWTVpMzBjDhw+6pJJorloC0AL OnhGkfY+3ROhm0S2xo6KoI4ag1s5l3/A2ZdJY+U5TimIsKUR7l4bSWFK4Y60XuOIu/MM7c FFzjspmSB7Y08FULXNNCD30475Yy5XG3h45CqHFEsRUTWQZN3Vu2yXaWlJjkqw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=GaiTSagd; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.34 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=GaiTSagd; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D623514B44 X-Spam-Score: -2.34 X-Migadu-Scanner: scn1.migadu.com X-TUID: L/jVBym50CCE Hello! I'm a bit concerned about the current situation of packaging of Go applications in Guix. Go modules also use semantic versioning [1] similarly to Rust packages. In Guix, some of the Rust packages are packaged with different versions [2]. This is nice (and tedious) as applications are more likely to work as intended. However, there doesn't seem to be documented practice of packaging different versions for Go applications. The lack of such section from the manual also gives an additional impression unlike Rust packaging [2]. I don't know much examples that can be found committed in Guix repo but this makes adding Go applications to be more of a pain. I mean packaging Rust apps is also a pain as much as packaging Go apps (at least in my experience) but at least there are some explicit guidelines you can follow which is also present when exploring the code. For example, I'm about to package gum [3] and it needs a different version of termenv (some commit after 0.11.0) compared to the packaged version in Guix (0.8.1). I'm very tempted to add a different package for it with a different version (which is thankfully easy to add). In the long term, I'm more concerned about adding and maintaining of these applications. I thought I should point them out and hopefully get the community to reach to a consensus for Go packaging. Or is there already some initiatives (or a consensus or even some discussions) that I missed? [1]: https://go.dev/doc/modules/version-numbers [2]: https://guix.gnu.org/manual/devel/en/html_node/Rust-Crates.html#Rust-Crates [3]: https://github.com/charmbracelet/gum