From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GPXSH+NUIWKShgAAgWs5BA (envelope-from ) for ; Fri, 04 Mar 2022 00:53:07 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id CDRvGONUIWKgrgAAG6o9tA (envelope-from ) for ; Fri, 04 Mar 2022 00:53:07 +0100 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 DB67C15A81 for ; Fri, 4 Mar 2022 00:53:06 +0100 (CET) Received: from localhost ([::1]:59662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nPvFp-0003BL-Jw for larch@yhetil.org; Thu, 03 Mar 2022 18:53:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43578) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nPvFl-0003BD-TH for guix-patches@gnu.org; Thu, 03 Mar 2022 18:53:01 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50284) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nPvFl-0003PH-Kw for guix-patches@gnu.org; Thu, 03 Mar 2022 18:53:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nPvFl-0002NT-K8 for guix-patches@gnu.org; Thu, 03 Mar 2022 18:53:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54232] [PATCH 1/2] gnu: python-daemon: Use the git repo as source instead of pypi. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Mar 2022 23:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54232 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos , Attila Lendvai Cc: 54232-done@debbugs.gnu.org Received: via spool by 54232-done@debbugs.gnu.org id=D54232.16463515429088 (code D ref 54232); Thu, 03 Mar 2022 23:53:01 +0000 Received: (at 54232-done) by debbugs.gnu.org; 3 Mar 2022 23:52:22 +0000 Received: from localhost ([127.0.0.1]:44181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPvF8-0002MV-Ji for submit@debbugs.gnu.org; Thu, 03 Mar 2022 18:52:22 -0500 Received: from mail-wr1-f54.google.com ([209.85.221.54]:46030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPvF6-0002MH-Dd for 54232-done@debbugs.gnu.org; Thu, 03 Mar 2022 18:52:20 -0500 Received: by mail-wr1-f54.google.com with SMTP id p9so10129835wra.12 for <54232-done@debbugs.gnu.org>; Thu, 03 Mar 2022 15:52:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=mmg5NFJ0f6+ARRNrmO8HMtW40bII7FS8k0ounDhEsEw=; b=aF4o5WmZop+OdMCvkKbZJQVfKV2vZEBI1rS+zJGN3rglzYyhzDsztotg3NugpEhvBO MMi21HLZjdkmUwRr4n/rsQfVzYxGo0YRESk4+7ouKk7BrY7l411FFD+VgXA9trMGS2RX eHwZpdcbN46yLHqmPcKfnM8YzoBj85hIXsJf91e/LucfXWn7hg4WKUulRHkVJR3tZN++ hACDCBJFbtZRf3ZcIX1qdVEmkn3lpABPhW5c0mRQ1B/5aQtRzYaM1dBhccy0hTsErKEE Gg7SlrQn2v5vGWkPAt8nGNXj3SSM6XhQ05JFIL5M0PTGhEmVGG14jAZj2Vez+T29e//G obiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=mmg5NFJ0f6+ARRNrmO8HMtW40bII7FS8k0ounDhEsEw=; b=3tgZMzJXdhg/eKUxA9sYdng8Po9qVYN4yiwQBQX9Kv0Ry7QLfOZnL2P/VLcDZ7T0TS pT5R8nGwO2rZYJ+7UUk0TtMD5//muZehygIWwnk34tsPN168wyEItaVhWDuGkCgbOahw pO5w0A3IpqqzcHK8vDHcKMVl4fIsA1xMJhM9RLxq8njU1QarwrPwF7rV7wcYnISCEwYW Au0WRLtuo0otx6mACn7ZSb/hplUAnfYAFDtiC4Gg/4Mc+2ms0lcBGRg1Tt54d4GKArNH xlrdoz/z1I4p3ZPnEyqiC3vShftF5MIiNl4USxQgjGL3ToUJXcB5ZBY+1g2RVVRz+TaR fsLw== X-Gm-Message-State: AOAM531yZdvrtFW1IcDdqfUS6SgCVElx4x6eEIPAMSO7kelkhwZQYJn2 NLXcrT7/3JL7peanYCiMCw+2404GZeI= X-Google-Smtp-Source: ABdhPJwnRo/J8dl4bvoDIh7guvgTmMfGb6quNzc1QPg1mz0eaIiKlz+4uxqbUk/J13O6vJEkgv/6CQ== X-Received: by 2002:a05:6000:1a89:b0:1f0:4b5b:e0ce with SMTP id f9-20020a0560001a8900b001f04b5be0cemr4566140wry.425.1646351534394; Thu, 03 Mar 2022 15:52:14 -0800 (PST) Received: from lili (128.196.23.93.rev.sfr.net. [93.23.196.128]) by smtp.gmail.com with ESMTPSA id l16-20020a05600c4f1000b0033383cdeea1sm3346479wmq.10.2022.03.03.15.52.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Mar 2022 15:52:14 -0800 (PST) From: zimoun In-Reply-To: <974683641d47f041c71bb9a9adbeda16b45b0908.camel@telenet.be> References: <20220303105852.3535-1-attila@lendvai.name> <20220303141929.6981-1-attila@lendvai.name> <6897aa67f40268ae9749fb4708486b63ea77bd4a.camel@telenet.be> <974683641d47f041c71bb9a9adbeda16b45b0908.camel@telenet.be> Date: Fri, 04 Mar 2022 00:48:14 +0100 Message-ID: <86lexqsim9.fsf@gmail.com> 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" 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=1646351587; 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-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=mmg5NFJ0f6+ARRNrmO8HMtW40bII7FS8k0ounDhEsEw=; b=ZbK50IGkDui77fI6u5id1JcTT3ch7KV7BG/24Gf/E39HIpNJsShlQHhSPTwnrPQFMm23wq up/pEa+Yobm/U/2optloyPQ5mvYVA7LIUxO9AM8X7KjoZ6DBfuWL6bFBQqct6+cvCrfFEK sgh/jg+8grCX2OskD6mPuK38l7uHwVaaJUPWnQF+3WmIGN7sbJPg1/LB8pmk0oOm9QklaD eSf2tS3gSZ5YCvwPC8pGsLVJMNODUvDrlcwdip3523oYuUs8BP2/d4JtBrbDe47Cxf5XwU si6+RmgJXmoeoFhh/A8lnLpJWzlorJW0Cw3+zvMF2qdjlxCRq0sJzIFZLGca3A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646351587; a=rsa-sha256; cv=none; b=GAJf8jH/ktNNqebJgcjZYwbVyMBHOFWIyLH5+RdZXYqjbJH9OMxMlNbilZUg688l+xG5sv qpH/MzJbMyYnhvX/hie6zWwEEY5PWbrFuCupQlJxpjWim7VHNRSC5uzZ6rLqZDJVMOc0nY Vug8G1H/sEDgLaX2cT5wXG8xemQN9QlsvZTyd8b/DCS7HGJcTEOtKXYStdRgYgd7Gc+ZBv v7HB4s/XNnP8vhjqAPJsx0deaemplRsVNDDxK3cs31C1CLlWM4mf75KcY/Rw8hI3ptYnOG 49TiFhpW3ORRE8AZ3Bd8dhoYrJgTb8hMMS/I0hVTs+fhoZ3Cy7rXYq0yYKyeyg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=aF4o5WmZ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Spam-Score: 4.54 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=aF4o5WmZ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Queue-Id: DB67C15A81 X-Spam-Score: 4.54 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5kQDVypBMi5y Hi Maxime and Attila, On Thu, 03 Mar 2022 at 15:46, Maxime Devos wrote: >> feel free to apply or reject this as you see fit. it's not important >> for me to build from git, even though i also find it better. probably >> the software heritage archives also work better with git. > > They do support tarballs to some degree, and disarchive to some degree > compensates for mismatches. I don't know how well this works in > practice. FYI, a quick picture on how it works. :-) For source using =E2=80=99git-fetch=E2=80=99, archival on Software Heritage= (SWH) is done using : guix lint -c archival and if later the URL for the repository is unavailable, then Guix automatically sends a cooking requests to SWH and fetch from it there. Basically the machinery works. The failure are issues on SWH side or not enough information on Guix side (see lengthy thread tag vs commit hash for details of one typical issue :-)) For source using =E2=80=99url-fetch=E2=80=99, archival on SWH is done via: http://guix.gnu.org/sources.json The file is periodically builds on Guix side and periodically ingested by SWH. It lists all the =E2=80=9Ctarball=E2=80=9C URL locations for one G= uix revision. To keep it short, a tarball contains content (say source code itself) and meta (say compression level or others). SWH only preserves content and drops meta. Therefore, later it is not possible to rebuild from their SWH data the exact same tarball and thus checksum mismatches. The workaround is Disarchive. It stores this =E2=80=99meta=E2=80=99 in the= database: http://disarchive.guix.gnu.org/ and thus using both (content from SWH and meta from Disarchive), the exact same tarball is rebuilt. This Disarchive database is periodically updated by CI Cuirass. If later the source URL is down, then Guix automatically sends a request to SWH and Disarchive database ending by reassembling the both elements of the required tarball. Basically, the machinery works too. Not all compression format are supported. Among other many other details. (Note we name Disarchive both the tools to disassemble / reassemble and also the database; where it can be misleading, sometimes. :-)) The plan is to have a better story for all. Hope that helps and spread the word. ;-) Cheers, simon PS: I have not talked about =E2=80=99hg-fetch=E2=80=99 or =E2=80=99svn-fetc= h=E2=80=99. ;-)