From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:59411) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hoX70-0001K0-9L for guix-patches@gnu.org; Fri, 19 Jul 2019 13:56:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hoX6w-000527-UY for guix-patches@gnu.org; Fri, 19 Jul 2019 13:56:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47702) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hoX6v-00051b-MG for guix-patches@gnu.org; Fri, 19 Jul 2019 13:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hoX6v-0001F0-IN for guix-patches@gnu.org; Fri, 19 Jul 2019 13:56:01 -0400 Subject: [bug#36555] [PATCH v4 0/3] Refactor out common behavior for system reconfiguration. Resent-Message-ID: From: zerodaysfordays@sdf.lonestar.org (Jakob L. Kreuze) References: <87imsci9sj.fsf@sdf.lonestar.org> <87ef30i9fl.fsf@sdf.lonestar.org> <87y3129qsn.fsf@gnu.org> <87sgr9bziq.fsf@sdf.lonestar.org> <87pnmc7nt1.fsf@gnu.org> <8736j7nwcb.fsf@sdf.lonestar.org> <87muhfjm14.fsf@gnu.org> <87ftn63l7d.fsf@sdf.lonestar.org> <87v9w1zgon.fsf_-_@sdf.lonestar.org> <87y30v3qke.fsf@sdf.lonestar.org> Date: Fri, 19 Jul 2019 13:54:59 -0400 In-Reply-To: <87y30v3qke.fsf@sdf.lonestar.org> (Jakob L. Kreuze's message of "Thu, 18 Jul 2019 18:50:41 -0400") Message-ID: <871rylrjt8.fsf_-_@sdf.lonestar.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 36555@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable This addresses nearly everything I mentioned in my v3 cover letter; we're now parameterizing on an 'eval' procedure and we've got error handling where it counts. Happy Friday! Jakob L. Kreuze (3): guix system: Add 'reconfigure' module. guix system: Reimplement 'reconfigure'. tests: Add reconfigure system test. Makefile.am | 1 + gnu/local.mk | 1 + gnu/machine/ssh.scm | 189 ++------------------ gnu/services/herd.scm | 6 + gnu/tests/reconfigure.scm | 263 ++++++++++++++++++++++++++++ guix/scripts/system.scm | 182 +++++-------------- guix/scripts/system/reconfigure.scm | 241 +++++++++++++++++++++++++ tests/services.scm | 4 - 8 files changed, 563 insertions(+), 324 deletions(-) create mode 100644 gnu/tests/reconfigure.scm create mode 100644 guix/scripts/system/reconfigure.scm =2D-=20 2.22.0 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEa1VJLOiXAjQ2BGSm9Qb9Fp2P2VoFAl0yA/UACgkQ9Qb9Fp2P 2VrubQ/+Ixhet/gwrTz6GmRYsfDKUMnVaZBT6I3AAIU2nHmF4fEOrHo4GLuJKzPk mjk06fJuuQoF1mOwNRHT7neClo8Ke/+hx2ras7hsvAXXkBAs4yOfVszR/So3fSnK 1g1dV8e+TvLznXqxQJy0BLFHReQgsSBySw5KNgy0WEBaX0n8p6ZvKiBL0VKBQ4a4 H95zPjv5VTxvC9tT83btn7pjzeZzz22GCyWYvHSpSTcOV5EPzbEJVMLzieKl3qC1 3fgoND9Ql/KIlHouzAyZ3+khZVSmAbth8LUJrWCVysA0BwkhwMvNWTnJzTUBtfD8 vXRTImMxCvw9hnzm/d845QObswjZgWJaahFMCyIBd6KNfx24hp/U4TYoPo0kRdsy 2zSNZ5pPi5nf/jK6sYUIO0i91Z6CmT4m3Ga+/n2oJ8QB8JJtgmqflARX1RTnR/wu TafsN+OB9G/eBJdbqKKFa1H2gx+ymZ1W/3FQS+j1Q66xTrEH4W2rFivcIe3RcZo7 5hRxScoqiTqT+5RJn5A00ZTEGvlJ3hbStUNP0gzEtSMhVjICRw9R4lNnwsYXAgBN NjDrjFwvQ6oHOfB9qeoVPZUXTZo5eRiLFqKO2uOF7AzjIQH829C3Tp2xnGayErJI bAa28JQfBHdqL0g/30g30thIIAY1JMqrlS405fly7zt1aA0XqfA= =HXA6 -----END PGP SIGNATURE----- --=-=-=--