From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id GLY4MHR4J2dKeQAAe85BDQ:P1 (envelope-from ) for ; Sun, 03 Nov 2024 13:19:49 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id GLY4MHR4J2dKeQAAe85BDQ (envelope-from ) for ; Sun, 03 Nov 2024 14:19:48 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=F32DEhtE; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730639988; a=rsa-sha256; cv=none; b=Fb1jipNvsxUm041qE3x7xjAZhrIwB7iuh77BZyyilfW+Q3+sQOtD7PzS7rjtXUhP9paoGN Zu1RqlzwzRTvzvA6EuE/SFU9JVidxMkwOIJRfXc1ZdkHzFk2s+66rLfevCYzZ68yVz5CIl 7qKZ7/ma+wTDIJu3zrmxqAQKuicdaw2kHwZ9gL8feTbG9GkiRCNYWRHXRhw9G4roUdEVkW UjhnI8qhaf27HyK6tMZY2iXXGAs+Np2RlqVdzdx4iJvHXAQTxERVGlJcOY+wnicy7HRo5Z iUsJHkA1oLpCCF7msngx3EUR+fvlV6/8jB4iEktuEbSPeGcL7Gz10S5Y/MGelg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=F32DEhtE; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730639988; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=8DIt0r5Sz18Ehrrhqy5xClcmIMMP7/T62K8jJoQzMA8=; b=ZvT4FMTuekSnmI7IQNiCjiYT/am1bXpNaOu/xi3n6wxIggbMRa2UBuRIrmw7a3SYZ4qZJB 9dNcZBeMOyQNaQeBkdaiQtDbrvuFxNfaQ69Xao49v9y0W5YeRv8G4wuEAxVqXlqL8pr4sO l3Y9MYk4aOfx3pVKsRBodqHaJRM2FMRepOW+cki9anzLvgju8+FhxOD9qZcmdfHy8zjffr gy5GsOuA+bXkSYW5Bc6dbn3zRNEm3YD10LvhIDWuWlpbTWal8/SK3bVpjDvR2DhCCgdBWd eAqo2YyzU9UXG/9rla/sCHnwN7D9BrsUCUOVBnhJjLDXd0bhhZAHsobN9F3fDg== 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 5D23164A02 for ; Sun, 03 Nov 2024 14:19:48 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t7aVd-0003KD-F0; Sun, 03 Nov 2024 08:19:13 -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 1t7aVZ-0003Jk-On for guix-devel@gnu.org; Sun, 03 Nov 2024 08:19:10 -0500 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t7aVX-00075l-SU for guix-devel@gnu.org; Sun, 03 Nov 2024 08:19:09 -0500 Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-3807dd08cfcso2921440f8f.1 for ; Sun, 03 Nov 2024 05:19:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730639946; x=1731244746; darn=gnu.org; h=content-disposition:mime-version:mail-followup-to:message-id :subject:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=8DIt0r5Sz18Ehrrhqy5xClcmIMMP7/T62K8jJoQzMA8=; b=F32DEhtEVrnF2P/ROYql09E6MQqxgsZJPWlfuDycqSjgFUAiL+f4HEc9AgTd0NpR9w Bjn+sQ26UdbbCKWzS5eV7QvbCI3PLKWgYkE0Lq4CN7GoD9Wa9dfSMOb7Bz72D07DJ9dX uAGPgGQldaGvbrwGgcg3AT7OMORsN8WV/ETk8p+L+Vvq+TPzL2fLifIXjvnzlhOJhUwd 9t3dXRFY71V7rcloazTaJ+ESq5KeYIkxIKqF5PDWCcnLgYNX0nNulMlLqvsuo60tyKG6 gPdUcJHtGwRN5ar2qK83q9sxv37A8kZWb+njQ1Xigx6Jk8tY3xWIfaDxi3tSJH/NQrcu WUqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730639946; x=1731244746; h=content-disposition:mime-version:mail-followup-to:message-id :subject:to:from:date:sender:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=8DIt0r5Sz18Ehrrhqy5xClcmIMMP7/T62K8jJoQzMA8=; b=BS/ohHcZVs55USY2jCImnw+hpQYkzsH5NLYlPHEViTLhFU2wlB3s1Rzp1L1u2Am2OS Zka5t15EY/YPV4s44r3HSShs7sl7J9Tq4ziHI4ADvG7f3oG0nQRVZmi5IX5IDRcDD88S 1qjxF9YHTvMvA3S4xHniYHIOqvhyEp7VyJTmf/EUWtfxC41jc6WVEl6xI8qHIHGg/3v4 NMJCT5d3GF1J4jBj7En3cSGbmztLTbmlHgy1az+YvuK7FMkXCBBvduA+bFj3cKaq8WQu R2BhWxJ8REtkaIgwfjHzvW5aGvMYs12cMF/dMD4lWBINE1oRRAgbD1Rwx++9TgimOWoE 5SyQ== X-Gm-Message-State: AOJu0YwIlXOu5lyW442YcGHvxD4ciTkRmPn9qKB+JvdAJvXjFlxF6zFx 6/c+UeFKXX64YCyUn82juZ6vg7VBHtNvniKmUZv5MhVkuxPPUsCuDZl8THuz X-Google-Smtp-Source: AGHT+IFFfJtvJqpeRcGJgSkbLLNshbzEnkPrm2Xb40JeQlhuK9SjNUquiXk7kS+8HY21pNk6p3N92Q== X-Received: by 2002:a5d:6da6:0:b0:374:c1c5:43ca with SMTP id ffacd0b85a97d-381c7a6c662mr9568326f8f.32.1730639945892; Sun, 03 Nov 2024 05:19:05 -0800 (PST) Received: from localhost ([141.226.162.35]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-381c10b7b27sm10760809f8f.19.2024.11.03.05.19.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Nov 2024 05:19:05 -0800 (PST) Date: Sun, 3 Nov 2024 15:19:04 +0200 From: Efraim Flashner To: guix-devel@gnu.org Subject: Announcing shepherd-run Message-ID: Mail-Followup-To: guix-devel@gnu.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="x2xIFrOeiILRqWnG" Content-Disposition: inline X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=efraim.flashner@gmail.com; helo=mail-wr1-x42b.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -0.05 X-Spam-Score: -0.05 X-Migadu-Queue-Id: 5D23164A02 X-Migadu-Scanner: mx12.migadu.com X-TUID: AaGnEbg/Zgjc --x2xIFrOeiILRqWnG Content-Type: multipart/mixed; boundary="AO5ktV6tqcfMEvvS" Content-Disposition: inline --AO5ktV6tqcfMEvvS Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Announcing the initial release of shepherd-run! Do you have experience with systemd and systemd-run? Do you wish you were able to quickly and easily add a simple service to your (user or system) shepherd instance? Using the finest technologies from the 70's, written in gawk, I present shepherd-run! Want to build a derivation but don't care when it finishes? shepherd-run -e 'guix build /gnu/store/...-drv' Need to clear up some room in your store but don't want to dedicate a terminal to waiting for it to finish? shepherd-run -e "guix gc" Want to spam your shepherd logs? 'shepherd run --exec yes' Get ready, it's coming soon to a guix repository near you! --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --AO5ktV6tqcfMEvvS Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-gnu-Add-shepherd-run.patch" Content-Transfer-Encoding: quoted-printable =46rom 0987a56039f9626664f89095b292421081daddae Mon Sep 17 00:00:00 2001 Message-ID: <0987a56039f9626664f89095b292421081daddae.1730639824.git.efraim= @flashner.co.il> =46rom: Efraim Flashner Date: Sun, 3 Nov 2024 15:16:11 +0200 Subject: [PATCH] gnu: Add shepherd-run. * gnu/packages/admin.scm (shepherd-run): New variable. Change-Id: I4b08c84f83bcc588db7a11619321f4c8dee48257 --- gnu/packages/admin.scm | 42 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 88d68a3afcc..575b00736fe 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -9,7 +9,7 @@ ;;; Copyright =C2=A9 2016, 2017, 2020 Leo Famulari ;;; Copyright =C2=A9 2016 Pjotr Prins ;;; Copyright =C2=A9 2016, 2017, 2023 Ricardo Wurmus -;;; Copyright =C2=A9 2016-2023 Efraim Flashner +;;; Copyright =C2=A9 2016-2024 Efraim Flashner ;;; Copyright =C2=A9 2016 Peter Feigl ;;; Copyright =C2=A9 2016 John J. Foerch ;;; Copyright =C2=A9 2016, 2017 Nikita @@ -423,6 +423,46 @@ (define-public guile2.2-shepherd (native-inputs (list pkg-config guile-2.2)) (inputs (list guile-2.2 guile2.2-fibers)))) =20 +(define-public shepherd-run + (package + (name "shepherd-run") + (version "0.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~efraim/shepherd-run") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "033l8ignsrr6p2wgwcyqlswpbf58kyl8cf7zwkz028gqfq4arkr8")))) + (build-system gnu-build-system) + (arguments + (list + #:make-flags #~(list (string-append "PREFIX=3D" #$output)) + #:phases + #~(modify-phases %standard-phases + (delete 'configure) ; No configure script. + ;; First 'check checks the shell script which loads the gawk co= de. + ;; This 'check checks the installed gawk script. + (add-after 'patch-shebangs 'check-again + (lambda args + (apply (assoc-ref %standard-phases 'check) + (append args + (list #:make-flags + (list (string-append "BINARY=3D" %outp= ut + "/bin/shepherd-ru= n")))))))))) + (native-inputs (list diffutils help2man)) + (inputs (list gawk)) + (synopsis "Create GNU Shepherd services from the command line") + (description + "Shepherd-run is a script which assists in creating one-off shepherd +services from the command line. It is meant to partially fill the void le= ft +by @command{systemd-run}, since GNU Guix uses GNU Shepherd as its system s= ervice +manager.") + (home-page "https://git.sr.ht/~efraim/shepherd-run") + (license license:gpl3+))) + (define-public swineherd (package (name "swineherd") base-commit: 8964dfdb84f7d21dbc89c217ca4f4546a15990af --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --AO5ktV6tqcfMEvvS-- --x2xIFrOeiILRqWnG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmcneEcACgkQQarn3Mo9 g1FXuA/+ND7KbYzU5tiOpu0Mv5nuOiVUdF9JbexGxqwbAUiXj+AhodQVokuIfjF5 ep1AEChxhfIxaG/eqvwdjQ1/Aw4aRCFIQGAWhnU7NJxoYgo+z2UryMCUEMr+7lWV ymclYEHFXIm8rE2s4CTC3DuNwHKrkrCsOnwuw2NofzY66TgFC7JPGSGXyic/43SF e9/EI0AFeX9LevtSU7IAx7uMRwSONPy2qADzkS/SIL0MUsjF1M8CLlTfwhE+Qm38 lUsL2rYf+Kd4SPw1ZfM+2Kt9wodxZGK2vpYN7ZCqWBkPzLtT7FBUzC3W50xSiDsX naf5ezJMFGKNZUAkxWvGAkt3luIHxbPu9EyJH/8mzVWVCcZxqqmKr7xsjc0eNH8e XW41Zs4nqD90h5QAevsRQvmvBIwhQ2B+Fwsn15NxWlOiKDu2afZDW5D4iTj0tiQz z+mzUs88dQzbfQClvncjnxO3mENREfqLK4Ng7aTiknb9ft1FYYtGgDtiEFFSgxgh yqCCAXY6z/seWdeAPovH7G7uOXetF3VqKUhg5ibTQVFpJhkWJUsvPCK/zA10prJb bFTbapb7SEZM9TB+qlgdTpHY/DEQpOUDr67chFheln+hFWZzd4QrGIwFSYSKYe3K UC1+PmdFaK4Cfv3p35WxfqTcdH1MwXojGR1NynUv+7QueS9TBXg= =PKmc -----END PGP SIGNATURE----- --x2xIFrOeiILRqWnG--