From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id lyMvB0BtNGOiygAAbAwnHQ (envelope-from ) for ; Wed, 28 Sep 2022 17:50:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wCsGBkBtNGMnXQEA9RJhRA (envelope-from ) for ; Wed, 28 Sep 2022 17:50:24 +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 BB19E83C8 for ; Wed, 28 Sep 2022 17:50:23 +0200 (CEST) Received: from localhost ([::1]:45754 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odZKI-0007co-RC for larch@yhetil.org; Wed, 28 Sep 2022 11:50:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34496) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odY1r-0008TF-Vd for guix-devel@gnu.org; Wed, 28 Sep 2022 10:27:16 -0400 Received: from mail-qv1-xf34.google.com ([2607:f8b0:4864:20::f34]:34776) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odY1m-0003T2-6j for guix-devel@gnu.org; Wed, 28 Sep 2022 10:27:15 -0400 Received: by mail-qv1-xf34.google.com with SMTP id ml1so8248120qvb.1 for ; Wed, 28 Sep 2022 07:27:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date; bh=urbcMmDTOiZqFLa5/4xvLIWMkejFqwvDf/Qrc4arreI=; b=Jip9f7e4L7cs8fpVyAOLpX60HwOhmm6JyhWKJmevp8KbmVQXVbi2kTsswM26vzgSvl 9NOivcjeqTgB+pakNyAGvGGvVAh3S2hoq/avDtiVbbMJXQiybzynNsFXBTYnm+rGqAr9 Ca2psZ9VmD61sCxDf8ATeh70/kL3uPW8ZqCGKr3K7ruJBco0Sk+VYpPvuMOouj5zF/Yw 3JZ9SMh05TKQkl3X1dDbWw7dl6XKfNHGoMtQiKcUEDeu3iSqMWPLa/lfB/lYZXUg/YGO eerCx+Bch3j3h7t5WwAi8s7nXTrH6ccwo7rG196MtqvznmxpGnM9ZS7pHuBKztTOnDyZ 1mFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date; bh=urbcMmDTOiZqFLa5/4xvLIWMkejFqwvDf/Qrc4arreI=; b=0w3UP6MEeR7TLsiCC0YFWXXkdQ+d6yZQ3MUOwq/f+9A34G89MltP+mcLFpbfEMUXX7 2ndMUC0PGgtvwdwtoxaJ0SKhQBeSMRzZh5/avKvjbJE+q9EKeVlSP3Wa6o95MK2+VJ/g xIUhOifRTa6t11K69vsFThEbZptcT8O1Xulf1SAhG2LbP9coYbUaRgMN8DWA8lHTr76l gCIfBoV5i0UTbayysgVSEirZDNStuMFiAKnYBCjVp4waSZg48LR70TivCg6M5YLkbKsr J/8joG/s82QpLVjJkRuTCrPx37zFPKyIFpiMME9umoOZtXGnpRuAOjsz++7T5Tvz1/Pg bRsw== X-Gm-Message-State: ACrzQf27QOjcaDoODXIj/uZjDNIUzln2XW3V1K/KYOUCv7A0u0R7PkyU hT1PhXtPFLoSiX6+0zRLWqTJvQMGOvA= X-Google-Smtp-Source: AMsMyM5YaF4I17TUih7E7EJFwhFxbgndskZJjgNseU3TqePmadhnciv93Kr3YgQoyqVELsZzeGcaYg== X-Received: by 2002:a0c:f50e:0:b0:4af:965b:3cf5 with SMTP id j14-20020a0cf50e000000b004af965b3cf5mr3648869qvm.93.1664375228775; Wed, 28 Sep 2022 07:27:08 -0700 (PDT) Received: from hurd (dsl-148-95.b2b2c.ca. [66.158.148.95]) by smtp.gmail.com with ESMTPSA id x17-20020a05620a449100b006ce5f4720cdsm3665688qkp.47.2022.09.28.07.27.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 07:27:08 -0700 (PDT) From: Maxim Cournoyer To: Gabriel Arazas Cc: guix-devel@gnu.org Subject: Re: Some concerns on the current situation on Go packaging References: <1da83070-e85d-8223-646a-6a50215b88b5@gmail.com> Date: Wed, 28 Sep 2022 10:27:06 -0400 In-Reply-To: <1da83070-e85d-8223-646a-6a50215b88b5@gmail.com> (Gabriel Arazas's message of "Tue, 27 Sep 2022 23:51:42 +0800") Message-ID: <87mtajwp51.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::f34; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf34.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-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=1664380223; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=urbcMmDTOiZqFLa5/4xvLIWMkejFqwvDf/Qrc4arreI=; b=OW5Qrw50Xg/3+Ub/QcgtmT17USG8fHI5vgWiwJiUczXPkIid/sDm16Cp6oVgl725pCI5NQ 41h7JdXNvhppT15wHadssdswhS1VP19i3jCQK6UogR9v52I44z0ze7jO8/L43S3IdA4Iv4 RhYGMc9PAzoo9t6I68PTAJVLbzAQqiLEwHrieCo2lrMkQ5kV9U+909YI3Y6RP5/ZQfdm/q 8+Rg+uA0pVGAcbhNjwvGWOXLrkBG5E+NkF+8yLqYHgP9FgjmzYgyiTiIvGh6EJyMrjWh+a fbRNUsHbajkJw120hF64XWZRMvEL5dBVNFglnZ4uka8wkcjeiKqldZEY4L+NTA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664380223; a=rsa-sha256; cv=none; b=LI90DMd1H4KZW4jjPOF84U57S37m6BHHujX0ti2WwLwlvrF3nE9GQ+WqyfTq73w/vmg+Qf HWM6XfUjkv35Y1KFqh2QjW+mYKyT2ftyM5CyQrD41Mz8eLSIoe9sGJC/t5EZyZdzH4szm1 b6Jg1B+dlJ9nlyDo8NF2WLJkHQauc3t/PfqcOGRhZG3Ft6dAIHYBM35V9drm5DwmTWaxSX s2RYlOxSsSCl/x/DTyUk0FfCvq2Sg2AAvbMMPrBHqf7zNCX10UUkktSz2339B4DVHgI5gN RQwgyBd6lo3sx5eTA73M9lHw1xSwfS09lJG2XNdwk/j2QThoYvizLD6vU5c3Pw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Jip9f7e4; 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: -5.35 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Jip9f7e4; 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: BB19E83C8 X-Spam-Score: -5.35 X-Migadu-Scanner: scn0.migadu.com X-TUID: UAsfSkvaxHmo Hi Gabriel, Gabriel Arazas writes: > 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). What I would do here is update termenv to latest, and try to use it with your new gum packaging. Chances are it'll work. You'll want to rebuild the other packages affected by the update, which you can get a list via `./pre-inst-env guix refresh -l termenv`. I think since this package is at 0.11.0, it hasn't yet reached a stable release (1.x.x). > 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? We favor using the latest version of everything, as long as there is a strong reason not to (e.g., a test suite failing or the software not compiling). This means less packages definitions, which should be easier to maintain. For Go, I think it'd make sense to carry the latest version of a package as well as any previous *major* version that may be *required* by other packages. I hope this helps, Thanks, Maxim