From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MPnoKVS/w2UmkgAAqHPOHw:P1 (envelope-from ) for ; Wed, 07 Feb 2024 18:35:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id MPnoKVS/w2UmkgAAqHPOHw (envelope-from ) for ; Wed, 07 Feb 2024 18:35:16 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=Vsjo1VaR; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707327316; a=rsa-sha256; cv=none; b=Kr0h0UIDfEmCXYMTKTvam8SwB8pbIyzBSmkSQDTN3Hc/kmMa6Ik90BHrmBLpPTqkJGdtfe X5CiFCxAFbE0aVGnCwtrtAzvl/bn31pdtZFzXssPOn0PhrAJaKi0/EAE/PGz97Ot+/xIPS d/8UPZ27jXsJ+8pyGqnVb+O09d4EXqNFMFP39mn7GOtG653vIf4woNXVTzpk+MYniz/nrs gH7FSXpLejrQvL1KpIhqwrCfZnOxLdqOqQ5gYIe1gx0BJCo/vNS7jDPNq38rLbeHP/0Vqe slzi2W537I8P/JOn06iCWqeYH6KwNNtvlKKkeC3MeMMQNhoPATMEpULRrsnjug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=Vsjo1VaR; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707327316; 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=CxqQbdfJ+JwCBTEJaARl4NSOSHNWSjlAdWgjSpG3Bts=; b=Ye3VMcwM0zP07AccuLDUqff1n+6yJEkEUejKpUAYFXhLBaD9Dp9/Rik1PIOHGVu2y5WtVy n+3Cc0UMjxcgQ3c8byoTEbXjIvsfOxXYIZ01BI+sj/OzR6J73WrJYI2qVrHhQYIhabe4qp Vw6SQ+a6/kSJl1Y+Smbtpfd0KhhCGv/FMKBClDxz0BjRxIr/SxTeqwF3fR6G8XSlx5OYXN /Sh326qhQLEZT2xYJ2QoVIYTIV3qO9I3pY8VWAeRA5dL0ktTz9Uhjlezgkhq8+HVk2bwLw zV66o/5Y4aRXhFxjf7gyIyuE/VGiVTpdNlLgymJ3MRWwKsEDgV+/+JaDwraBCw== 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 773887217B for ; Wed, 7 Feb 2024 18:35:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rXlov-00047A-TG; Wed, 07 Feb 2024 12:34:49 -0500 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 1rXlou-00046f-7f for guix-patches@gnu.org; Wed, 07 Feb 2024 12:34:48 -0500 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 1rXlot-0007yJ-W7 for guix-patches@gnu.org; Wed, 07 Feb 2024 12:34:48 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rXlp7-00048y-KN for guix-patches@gnu.org; Wed, 07 Feb 2024 12:35:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68677] [PATCH 0/6] Service for "virtual build machines" Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 07 Feb 2024 17:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68677 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Suhail Cc: 68677@debbugs.gnu.org Received: via spool by 68677-submit@debbugs.gnu.org id=B68677.170732725315867 (code B ref 68677); Wed, 07 Feb 2024 17:35:01 +0000 Received: (at 68677) by debbugs.gnu.org; 7 Feb 2024 17:34:13 +0000 Received: from localhost ([127.0.0.1]:57833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXloK-00047r-Hv for submit@debbugs.gnu.org; Wed, 07 Feb 2024 12:34:12 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:48389) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXloI-00047c-R2 for 68677@debbugs.gnu.org; Wed, 07 Feb 2024 12:34:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version:content-transfer-encoding; bh=CxqQbdfJ+JwCBTEJaARl4NSOSHNWSjlAdWgjSpG3Bts=; b=Vsjo1VaRD9oUhl7cYlubNK6gRllpDkLTOscVqmStAXcQfki5aLz2hi3/ 4pd0PrjqLc9nAZLp4NvyqP33sd9SJg5avVSa5+Qnuufv+fE/PE6cu34Ui m8GOHG6auMp2iLpDKkwIvoXFAgA8e/iHpagAhoM6GXkZ+LXc7bqlD/3Kb o=; X-IronPort-AV: E=Sophos;i="6.05,251,1701126000"; d="scan'208";a="150826370" Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Feb 2024 18:33:50 +0100 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87y1bygbjp.fsf@> (suhail@bayesians.ca's message of "Mon, 05 Feb 2024 15:45:18 +0000") References: Date: Wed, 07 Feb 2024 18:33:50 +0100 Message-ID: <87jzng41s1.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -5.77 X-Migadu-Queue-Id: 773887217B X-Migadu-Spam-Score: -5.77 X-TUID: HkZKjM2B8gwH Hi Suhail, Suhail skribis: > 1. The documentation references GNU Shepherd. Is GNU Shepherd a hard > requirement in order to use the facilities provided by the patch > series? Would it be possible to use, say, Systemd on a foreign > distribution? If so, could examples of those be documented in the > appropriate place as well? What this patch adds is a service one can use on Guix System. Someone who adds this service to their Guix System config can then run =E2=80=98herd start build-vm=E2=80=99 to enable offloading to the virtual build machine. It=E2=80=99s possible to do something similar on a distro other than Guix S= ystem but this patch series won=E2=80=99t help with that. On another distro, one would need to create a VM image and then manually start QEMU with the right flags and set up offloading to that VM. Nothing insurmountable, but it=E2=80=99s quite tedious. > 2. The code sets the default date to be 2020-01-01; does this date have > any significance? It might help for the code to have a comment > explaining whether this value is completely arbitrary or whether it > has some significance. On a related note, it might help for the > documentation to note dates that are less likely to work (in case > values before a certain time aren't expected to be well supported). I picked a date in the past because I figured this would be the most common use case at first: being able to rebuild things =E2=80=9Cin the past= =E2=80=9D (the manual says that the default date is =E2=80=9Cin the past=E2=80=9D). = Apart from that, it has no significance. I=E2=80=99ll add a comment as you suggest. The manual cannot really say which date =E2=80=9Cwon=E2=80=99t work=E2=80= =9D because (1) it depends on what one is building, and (2) we simply don=E2=80=99t know in mo= st cases. > Additionally, I'm not sure if this belongs in the manual or in the > cookbook (or elsewhere), but it would be helpful to have some small, but > complete, examples. The documentation in the patch series mentions two > situations (time traps, and CPU microarchitecture optimizations) and for > each it would be helpful to have a self-contained full working example > referenced. For the "time trap" use-case, perhaps one of the > submissions from the Ten Years Reproducibility Challenge could be used. Yes, I agree we need complete examples (maybe not in the manual, rather as blog posts and/or Cookbook entries I=E2=80=99d say). Thanks for chiming in! Ludo=E2=80=99.