From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MP4sImq5umRnZwAASxT56A (envelope-from ) for ; Fri, 21 Jul 2023 18:59:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iOJKImq5umT1vgAA9RJhRA (envelope-from ) for ; Fri, 21 Jul 2023 18:59:22 +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 3DA763D7E6 for ; Fri, 21 Jul 2023 18:59:22 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=qHX854Oi; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689958762; 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: content-transfer-encoding:content-transfer-encoding:resent-to: 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=iGXXLUyw6/LuSLH1sacPhmz55z/WsJYnQSdm5dx2yMM=; b=X3wNGPuMy35FSkbyCLQMbF/hbD/7JOYrEeUp2AKP53wJp2KlLKsMu7DuXXlvj5RWrSvyl7 SakG4MedXt3sIZSEniyzD2jFNqaCaNqX3veY3HAxkQVYwcWrNQ0kyQWtSkbGLf/5V4Cmfp 5/VtMsf6oyMI9SB4RtNKVoNIUeapSc0/sO1n6hG0esTGsVPSvGJcf4T7U0RjBvNAAlSD6n x1/M8WGaUmAA3Hh9LaE1RSXfWYv+AgUxbymOry3l/+Dl6t4Dontypz89No1ccxXsEq0WlG nBpa6BokAof3YT22DMCpWgG2w/j6LeQqbQIJuaptLb2flKaMBRal9Bh7tmhdvw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689958762; a=rsa-sha256; cv=none; b=cmXo/bs+octjdTc77ZGSbARW+jAE098DP30TyZa01kvBuiXz5NI4cCDo5kgY7wCSaUz6fY CE4H56/zEiPLpJS99SOmvBvZCfb/qqWWAMXGbF8X5YsFO3IwoaD7uA9Ykw8sRO6d2PSDXi Njn7U3qNUeX8ZUbNlgWrnyffmoOuuvVznvveQ7MYgIIG7epqegCvq6Zw/ZWmQ5AvoEQyQP J7ea01Yfih+fwmvu4D2TH+4xUji9fAJYj7nFHb5b5U90DXcYqJ2Un+QWy6wYg4JPq8jGp1 tdCAICvS6LFmG59HaPb8dGbY0pEr9skmrJkvbutSUA1jBQm3YGnIYnADkguC7g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=qHX854Oi; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMtT4-0001PG-UJ; Fri, 21 Jul 2023 12:59:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMtT4-0001P2-4i for guix-patches@gnu.org; Fri, 21 Jul 2023 12:59:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qMtT3-0001F8-SG for guix-patches@gnu.org; Fri, 21 Jul 2023 12:59:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMtT3-0007i0-Oa for guix-patches@gnu.org; Fri, 21 Jul 2023 12:59:01 -0400 Subject: bug#26645: guix potluck Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Fri, 21 Jul 2023 16:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 26645 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Ricardo Wurmus Cc: 26645-done@debbugs.gnu.org, wingo@igalia.com, Jack Hill , Brice Waegeneire , ludo@gnu.org Mail-Followup-To: 26645@debbugs.gnu.org, maxim.cournoyer@gmail.com, wingo@pobox.com Received: via spool by 26645-done@debbugs.gnu.org id=D26645.168995868829562 (code D ref 26645); Fri, 21 Jul 2023 16:59:01 +0000 Received: (at 26645-done) by debbugs.gnu.org; 21 Jul 2023 16:58:08 +0000 Received: from localhost ([127.0.0.1]:34782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMtSC-0007gk-99 for submit@debbugs.gnu.org; Fri, 21 Jul 2023 12:58:08 -0400 Received: from mail-ua1-x936.google.com ([2607:f8b0:4864:20::936]:49183) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMtS8-0007gB-Ad for 26645-done@debbugs.gnu.org; Fri, 21 Jul 2023 12:58:07 -0400 Received: by mail-ua1-x936.google.com with SMTP id a1e0cc1a2514c-7919342c456so615892241.2 for <26645-done@debbugs.gnu.org>; Fri, 21 Jul 2023 09:58:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689958678; x=1690563478; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=iGXXLUyw6/LuSLH1sacPhmz55z/WsJYnQSdm5dx2yMM=; b=qHX854OixpWvz+A9XwnNChSM872rITcRRYj17w8c822Ip1CLcMq9NHbZfnxQ4IJXjC tKG+JhX4pccEJrQd5OrDsU9lEObpeW90O01vzAyRvchrZZwFLa3kaKmmjyat4eMmKHIb 5J7Uyi9CG6lkwV1FLltaEtMV+xtxPDe7Kg8qP3yinwV1jkdOYeiZFb6jQApnV10INFXT /smQWGVF3snVkcbByu2o9usQXhz04n7BBvjuF3fHgLqvTzEPIYIwxYDPNEuO4ImLOuyY Db+qkR61jesQLENcyrlB6FEvBdelwYWyx/U9W3A4lGgqt+DxDS4tq6+/+cRK8JkrbS7x 20Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689958678; x=1690563478; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=iGXXLUyw6/LuSLH1sacPhmz55z/WsJYnQSdm5dx2yMM=; b=GbKLIUikcsTKDwl5qhtWHoB0755rk2SkDJPDr6HDNmp4SZ6MNN3JxjvKR5PPKD+uOn 7PJWBjxcqRU7mvqjo7pqKU32MV7SWgLMZn2WThAScM9fCF+WKtbrLKBA/lM+slwtWkQA UmBd2C+qkCboI1OGVeli0RpZ4z2y8zmyguYGrnjb04z/WZxCXiyJwDJW5wNrHrATQXmR c7Psdq1XICrODF+FchnUIDWb/EKI3UrR+j2SGxgbvBCg6T0umZ2sgPynNl9wp17HW4BN ot7tI3OjiqLRxPYrW/JP4OtTxsgbvDjpnjuz7r8hsNHEfM/RmRPZWvacD8urjsLRbqbO iAgg== X-Gm-Message-State: ABy/qLZXyV0l9bQw3kMQtfcELKuIAUNJUBNE+JcVBkKNGPJuDtMevbZP g9CwZwJm02qRyqB/UdeTwrM= X-Google-Smtp-Source: APBJJlF8nEnPy5MaRHNzpMMiiTwQdDqxUnGeD+CLd6q8IBF4uozuxefzqfzY78rrbRfRr11ScY5xsw== X-Received: by 2002:a67:ec94:0:b0:446:eb8e:8940 with SMTP id h20-20020a67ec94000000b00446eb8e8940mr354831vsp.16.1689958678394; Fri, 21 Jul 2023 09:57:58 -0700 (PDT) Received: from hurd (dsl-10-135-166.b2b2c.ca. [72.10.135.166]) by smtp.gmail.com with ESMTPSA id o2-20020a0ccb02000000b00636bde318bcsm1387913qvk.61.2023.07.21.09.57.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 09:57:57 -0700 (PDT) From: Maxim Cournoyer References: <87y3upttm7.fsf@pobox.com> <361978f8437c699e48688757a246c64a@waegenei.re> <87k11ykewf.fsf@elephly.net> Date: Fri, 21 Jul 2023 12:57:56 -0400 In-Reply-To: <87k11ykewf.fsf@elephly.net> (Ricardo Wurmus's message of "Wed, 29 Apr 2020 08:02:56 +0200") Message-ID: <877cqti4mj.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.56 X-Spam-Score: -3.56 X-Migadu-Queue-Id: 3DA763D7E6 X-Migadu-Scanner: mx1.migadu.com X-TUID: Glog+780Shsv Hi, Ricardo Wurmus writes: > Hi Brice, > >> Reading through the initial email[0] by Andy the potlock feature seems >> to be way more extensive than channels: it allows one to create simple >> packages in an interactive manner and centralize the discoverability of >> such packages. Channels provide us a way to create package outise of >> Guix proper but finding channels containing the package you are looking >> for is still an unsolved problem. > > One of the objectives was to provide a simpler and more robust way to > define packages that would not break when package variables in Guix > proper are moved around: > >> +Guix's @dfn{potluck} facility fills this gap. A @dfn{potluck package} >> +is like a normal Guix package, except it expresses its inputs in the >> +form of package specifications instead of direct references. >> +@xref{potluck-package Reference}. Potluck packages also have a simpler >> +package structure with fewer fields; compared to normal Guix packages, >> +they are less expressive but more isolated from details of upstream >> +Guix. > > We have the same facilities in JSON package definitions such as this one: > > [ > { > "name": "myhello", > "version": "2.10", > "source": "mirror://gnu/hello/hello-2.10.tar.gz", > "build-system": "gnu", > "arguments": { > "tests?": false > } > "home-page": "https://www.gnu.org/software/hello/", > "synopsis": "Hello, GNU world: An example GNU package", > "description": "GNU Hello prints a greeting.", > "license": "GPL-3.0+", > "native-inputs": ["gettext"] > }, > { > "name": "greeter", > "version": "1.0", > "source": "https://example.com/greeter-1.0.tar.gz", > "build-system": "gnu", > "arguments": { > "test-target": "foo", > "parallel-build?": false, > }, > "home-page": "https://example.com/", > "synopsis": "Greeter using GNU Hello", > "description": "This is a wrapper around GNU Hello.", > "license": "GPL-3.0+", > "inputs": ["myhello", "hello"] > } > ] > > Since this can be fed to =E2=80=9Cguix build -f=E2=80=9D directly, there = doesn=E2=80=99t seem to > be a need for =E2=80=9Cguix potluck init=E2=80=9D any more. > > While I think it would be very convenient to be able to publish package > definitions with =E2=80=9Cguix potluck update =E2=80=9D, it= would require > maintenance of the host-channel service that accepts possibly hostile > user input. To prevent denial of service it should probably require > authentication and enforce quotas. > > Since users can also push packages for non-free software we cannot host > this on Guix project infrastructure. (I guess this was why the proposed > domain was guix-potluck.org.) OK. I'm closing the issue since it's been opened for 6 years with no sign of it being driven home. Do send a refreshed version again if it's still relevant/desired. --=20 Thanks, Maxim