From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EJELF3pWoF8gfgAA0tVLHw (envelope-from ) for ; Mon, 02 Nov 2020 18:56:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id eNX5EnpWoF+WQwAAB5/wlQ (envelope-from ) for ; Mon, 02 Nov 2020 18:56:58 +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 23D509404E0 for ; Mon, 2 Nov 2020 18:56:58 +0000 (UTC) Received: from localhost ([::1]:41904 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZf0j-0001Ai-3Q for larch@yhetil.org; Mon, 02 Nov 2020 13:56:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZf0X-00019T-UA for guix-devel@gnu.org; Mon, 02 Nov 2020 13:56:45 -0500 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]:38766) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZf0V-00033g-I5 for guix-devel@gnu.org; Mon, 02 Nov 2020 13:56:45 -0500 Received: by mail-pf1-x436.google.com with SMTP id 10so11929105pfp.5 for ; Mon, 02 Nov 2020 10:56:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asu-edu.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version; bh=jBX5b2tAFOPxbRZ5OJlpkJvjIFcnENpFo3fGOwBzjxo=; b=kaox7ZaUsjplGW+bGPWstGVIHCoM5T8P4Q+qjfJrKeBAAKEpfGVeDRn5fetH1NIl2O J/W9ZHF9fvwN5aLfAdX7GHlrC6+7msT/jCfX2iJWPnNRFKPS3sAypm+/lLlufnSdd8s9 1LWtnEqTiKfPRqwq2/TEGKOBqUUOb3xrkqvEXJUTHENCUqqY1WuiaUYg0mWboe3VtJ0H WfQMNvb4EzV2nh680B5LFeKGDMdGw8+8AlGIptJ6OnMq3kYFU8nhUadB8n9X4iPwzPbh SYAisizkUIQciPqdKSmanbL3QUAcJdBscCGx98wODSaDnCdVyz4wx1CTeixQ5SKwNqdj ZmBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=jBX5b2tAFOPxbRZ5OJlpkJvjIFcnENpFo3fGOwBzjxo=; b=ga1umoxaT6aLJBg88LOGv/Cu3ltNfvJ1xNwflguUQmgrwDwncK0cRWbxS8V5zHCyvt qMx/2whU14OfNNkbvshHa/q/ByNjIKyLhxUJVpNL+KBBTnVcHepzMvKYAzPPQBOFCu5B 4Md7ric0E6iJS+pA9TRM4+xo1q+aO2PR3NnHtsOuVKFOTeujzNewWopRE3nlEssfgH3P KHplHM7SVjWC8ZfpST9fmyhCZL/LpmPxQcpFXPn5tOi4uxZsKwmqAw5WWPA3GlnXTtiz FdniS6Q0wbMARkVJ1ApLCRaKi+vTq+tee+Nc+VOkt0WYbbxMyJv+yvL2re6WVFEAsjbB GEOA== X-Gm-Message-State: AOAM5322lD/64Z1Ui2Dv2OR8j+urKBYIdZhRpG+7duFZcvx4ycX/NCEq W172V7c+XRo2Jkp8z3HttQH7GzMsyh1mcg== X-Google-Smtp-Source: ABdhPJyO2mf1ttMdtGG5nWeY2YfSrqDCz3jeTDR3WBG4p7zNzkeAjUDhUs/Zq+2fzqGRK72M0U3N/w== X-Received: by 2002:a17:90b:297:: with SMTP id az23mr19608834pjb.71.1604343400777; Mon, 02 Nov 2020 10:56:40 -0800 (PST) Received: from ecenter ([2600:1700:83b0:8bd0::7a8]) by smtp.gmail.com with ESMTPSA id q23sm14528040pfg.192.2020.11.02.10.56.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 02 Nov 2020 10:56:39 -0800 (PST) From: John Soo To: guix-devel@gnu.org Subject: RFC: subcommand to pause/resume builds Date: Mon, 02 Nov 2020 10:56:38 -0800 Message-ID: <87r1pbzixl.fsf@asu.edu> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::436; envelope-from=jsoo1@asu.edu; helo=mail-pf1-x436.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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.23 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-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=asu-edu.20150623.gappssmtp.com header.s=20150623 header.b=kaox7ZaU; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=asu.edu (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -1.11 X-TUID: 4TouHRNJlvxn Hi Guix! I was looking to pause a long build today and asked on IRC how to accomplish pause/resume. It seems this is possible already with the following: kill --signal SIGSTOP|SIGCONT {pids-of-build-process-tree} There is already a command to list the processes associated to guix commands: guix processes. Perhaps pause/resume can be a subcommand or set of flags to guix processes. The following is the first thing that comes to mind: guix processes --pause package-name ... --resume package-name ... What do you think? Thanks! - John