From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yOZ7JUdPRGH6mAAAgWs5BA (envelope-from ) for ; Fri, 17 Sep 2021 10:18:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id yKk1IUdPRGFSGAAA1q6Kng (envelope-from ) for ; Fri, 17 Sep 2021 08:18:15 +0000 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 D5F2E1059D for ; Fri, 17 Sep 2021 10:18:14 +0200 (CEST) Received: from localhost ([::1]:44608 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mR94X-0005GP-MY for larch@yhetil.org; Fri, 17 Sep 2021 04:18:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43406) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mR93O-0003La-NO for bug-guix@gnu.org; Fri, 17 Sep 2021 04:17:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46877) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mR93O-0001Dm-EK for bug-guix@gnu.org; Fri, 17 Sep 2021 04:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mR93O-0001dH-2s for bug-guix@gnu.org; Fri, 17 Sep 2021 04:17:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#50606: Add support for other formats of Guix channels Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 17 Sep 2021 08:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50606 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: EuAndreh Received: via spool by 50606-submit@debbugs.gnu.org id=B50606.16318665946239 (code B ref 50606); Fri, 17 Sep 2021 08:17:02 +0000 Received: (at 50606) by debbugs.gnu.org; 17 Sep 2021 08:16:34 +0000 Received: from localhost ([127.0.0.1]:58423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mR92w-0001cZ-3O for submit@debbugs.gnu.org; Fri, 17 Sep 2021 04:16:34 -0400 Received: from mail-qv1-f44.google.com ([209.85.219.44]:38682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mR92u-0001cM-RK for 50606@debbugs.gnu.org; Fri, 17 Sep 2021 04:16:33 -0400 Received: by mail-qv1-f44.google.com with SMTP id z12so5942468qvx.5 for <50606@debbugs.gnu.org>; Fri, 17 Sep 2021 01:16:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XSUXLKvu6YSfwjCZiPpxBNf2xx+gpcr/xy2jjI7Wojw=; b=duJe3gl3ogIYqw7RocP4/uFdgO1/7CZhuXAvUZVIMt+Rz4QJDSVIveSRTXRxPbBO7g lEu7xfGdCsRQrG8JWCP9jdUMdobxPYe7EOF7Qn4DOv8PkRcs0vxxJnWy3Lp806iwzKSE KXD/DpqhzCpiF2htlNw4l9PkAW5gvfXyP+DG/n8TPDNUtaVavFMQrdXYSoyPl8+vyets OzOmqgR+xTzKwmdXkbeXUpSwkCTy/2S0Y56rSuzWy/xZpeKRSeN8sjSCMbzZLNmh5MFL GMrmcsMzvgK7ok+hF1gJMFGCAumW+NW+/csnAu3IA4+hQwRIy4sMzVD5PbIRmaxd2kvw iylA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XSUXLKvu6YSfwjCZiPpxBNf2xx+gpcr/xy2jjI7Wojw=; b=B5Rju8W2WlLX7Aqvafvz2ED1Z3ndGb3vZEaowCVb1rS0Nlk6CINpkkfAp0ZChKr+b0 kcMfY+yVBKQIJUCpQwZcrNJj20XpLhAWYYP+Nuc9cnf+oFbxOWUI63WP7I+jOdgJwUC8 3gQyU9xUc2/KVZ9r8DG6tpaODJBUX9z/3FJCf2WfYtEkX+jpUD4pl3iDZaFKL85tPcrK khvvD6nVsabLqnRpdhCBfN9jtiVoPmryGWy94IQp/l6vO/zbM9N3ALB+LUpuOtRwA8yP HGqbLcKeTIFC6tZwp6W3wg+P9+6aRCsunrVdTUvR/WFVbWujv5LrJSMAJFU8ZRL/6UaS ZG+w== X-Gm-Message-State: AOAM532eY7kzsDRwvspsqKQrxoIA5EEuQHvwDuTm6eF97SdrxjCpzw3h 3wCJeJRbSj5n8eBYytIsLpBYgpEBOYcp+hvf33I= X-Google-Smtp-Source: ABdhPJxy8PouKRCJUpEO7VPIO9iZfoiwhOHTVPROUMVF0mmHRo75rGXPLi4HH3WJ7g2WYU8P5DAP5crZT2bNIqWrF7g= X-Received: by 2002:a05:6214:1425:: with SMTP id o5mr9821338qvx.5.1631866587271; Fri, 17 Sep 2021 01:16:27 -0700 (PDT) MIME-Version: 1.0 References: <163172701717.1270740.9988334410334115700@localhost> <87ee9p2aub.fsf@gnu.org> <163181407045.1503137.63518666550594558@localhost> In-Reply-To: <163181407045.1503137.63518666550594558@localhost> From: zimoun Date: Fri, 17 Sep 2021 10:16:16 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 50606@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631866695; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=XSUXLKvu6YSfwjCZiPpxBNf2xx+gpcr/xy2jjI7Wojw=; b=QtJP+/alXAmHFOYBi9zAmX5i2QeGKDLhSHfvhkQH6V4+2wnqana+0xg5N25M4JAhiKHXFc QGeYcAMyTit/bfX/X/sUySQWC1CEEqPUYt5GaJq0lzRCQS9kod/ZFGIYbiAIPv7V2k4iun aGg4T8nEUd1r+2FbgFLDiLu8LzlvVyWryw5ZQIS1d4XQCnDCMMruOTpFaMBum9a3bGqKMG qg+cCAxqGo0bd2WZvIrUr8h/XcsIF5snD7ZXqyq9XS8xmUOaY4d3QPNPTJ1ShKAXUzOC8R U21Hkyceo8Nwi40QQ1zvQfJUGOFoKkffxtq7HByHU6u0pYbK66WgPculHkar+w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631866695; a=rsa-sha256; cv=none; b=q0mYz0x564HJ1EhdS1D9/0PMViD7ps7Vil+beXhZzi37yDg/PfD7gbnnA5MehsXPY/2Yzr +JOHbwJ1MRqnNKbsMkHeXPAKFOvTisuz+30s9DijjNXccJO8AhktIG1AIv6XJtZ6KpigYr YogZ33Zn9/xbDHGqfb0iTHKqb1AfOWkIL40aZj6f/yYWtD11zSqQmX7r1TqdgPZgXHaqLg 79fZxQXjb1DHh68J/Gmp2iaQkj4mGbjGMbKfatGAOJKkH6Ob9YmxGsUfB0MHRoy2ECOfAa FOYngsgHPjRzyY89R/+yvIWzIuUDs4/4WrAejLtNWgXlM6mGYTse5TTIgG0SrA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=duJe3gl3; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.30 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=duJe3gl3; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: D5F2E1059D X-Spam-Score: -1.30 X-Migadu-Scanner: scn0.migadu.com X-TUID: r9q2vQ6QFqEb Hi, On Thu, 16 Sept 2021 at 19:41, EuAndreh wrote: > My proposal was a little more crude: get the channel code from a tarball. In > this model there are no authentications with fingerprint or signed commits, > neither "guix pull" would know much about the before/after state of a channel > besides comparing the checksum of the whole tarball. Somehow, IIUC your explanations, you would like to be able to set an 'origin' as channel source. Something like that: --8<---------------cut here---------------start------------->8--- (cons* (origin (method url-fetch) (uri "https://example.org/archive.tar.gz") (sha256 (base32 "0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i"))) (channel (name 'extra) (url "https://example.org/extra.git")) %default-channels) --8<---------------cut here---------------end--------------->8--- Therefore, it would be possible to have any VCS already supported. However, it is fixed and update means change at least the checksum to the channels.scm file. Well, I do not know if it is more convenient than what Ludo and Leo suggested. :-) Cheers, simon