From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 10 06:20:18 2021 Received: (at 50873) by debbugs.gnu.org; 10 Oct 2021 10:20:18 +0000 Received: from localhost ([127.0.0.1]:54488 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZVwI-0003MA-0t for submit@debbugs.gnu.org; Sun, 10 Oct 2021 06:20:18 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:39692 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZVwE-0003Li-0g for 50873@debbugs.gnu.org; Sun, 10 Oct 2021 06:20:16 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1633861207; bh=w7K/Gbi1fZnKgOvf5mBaPX6IXr4E+vxggentIVr5vhY=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=ohpKWzPzlFSl81n1ogstBzp+c+98ST7Yk/PQvXLAZ6WkXhAoS2NlgJQUZjarOsYlw J9LODXZpb+Q/YjKuAXxgjU5RFqIMIQWe7JvJ/WQy/WkyZuriKJJCiQuXCo7QPtp0aD oc1L1/XfmBTboeYAJhgT9q74WgkuzkO3h2WMj4tQ= To: 50873@debbugs.gnu.org Subject: [PATCH 0/7] Fixes to =?utf-8?Q?=E2=80=98guix?= home =?utf-8?Q?imp?= =?utf-8?Q?ort=E2=80=99?= In-Reply-To: References: Message-Id: Date: Sun, 10 Oct 2021 12:19:57 +0200 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Change since v1: * Remove uses of ‘slurp-file-gexp’. * Add tests for the Scheme API of (guix scripts home import). Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps X-Debbugs-Envelope-To: 50873 Cc: Oleg Pykhalov , Ludovic =?utf-8?Q?Court=C3=A8s?= , Andrew Tropin X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Change since v1: * Remove uses of ‘slurp-file-gexp’. * Add tests for the Scheme API of (guix scripts home import). Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Change since v1: * Remove uses of =E2=80=98slurp-file-gexp=E2=80=99. * Add tests for the Scheme API of (guix scripts home import). Xinglu Chen (7): guix home: import: Make the user to specify a destination directory. guix home: import: Allow multiple modules to be imported for each service. guix home: import: Fix module name for Bash service. guix home: import: Don=E2=80=99t use 'slurp-file-gexp'. guix home: import: Delete duplicate modules when importing. doc: Document the =E2=80=98guix home import=E2=80=99 subcommand. Add tests for =E2=80=98guix home import=E2=80=99. Makefile.am | 1 + doc/guix.texi | 32 +++++++ guix/scripts/home.scm | 25 +++-- guix/scripts/home/import.scm | 115 +++++++++++++---------- tests/home-import.scm | 174 +++++++++++++++++++++++++++++++++++ 5 files changed, 289 insertions(+), 58 deletions(-) create mode 100644 tests/home-import.scm base-commit: edbcbdabac9a64dba3850b0f7e596b396f044599 =2D-=20 2.33.0 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmFivk0VHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5vSgP/2767jQ3mUl57HqAX7NFWSqSk96H vzd6BnavuQguchT5q2Fh5LJPlhTUhZlspY+qqv7fbTo7g2llpC7GfzVYVB5a2CT9 qN3XcTL+pGRH/YA0vXg6/aOnVXNADxjg9GIQvKtPBLieH6n3JWHeHYJuu+YGVghn iF1991tibtEsQnDQvgKJ158OVhpOXVQCyHy51O5qag7lgNQUrCtTcoIqbpHVc8Zr kVLliT2iblbFICUn8GjVLq8QGV4n++Y8TJAsarWhMu0PkpR2mZc9y20K4nxwBKWi ZQB81O7ULxxcrnESAM74+JgEhTcmJci4yLxzFePo9RSoeb+FLq7d4oNA002YZMC1 eHd9nwP2UvuePQtfmB7vppupinoIMP3aDw7pC9sN9JriODGv8h4fDfuBcux3qTNC jvzIwxYxOjmBaf3/7b2sI4Thmo5aNxfERqMrRupgFaRzquXr4oHbpjaeMNjHNa15 0jPJ4f+mUE9yEiwZokQFtcG6CYkQea9W1FaTgGZhtOIFvn2j13O2cLRQszr+7kix jdxjMJ61dkd1Gbc6NxrS36aVXmqf1hpihvqdqyoCKJoUNkPiHoBH9xa92zRN8+O4 kRnX00o5XKwK4cUUuPni++68Yr6NFOVdNgyr6diV3b3/iAtfjU+hzV7OutWlotYm chsUgfR65Ys38N1a =g6ar -----END PGP SIGNATURE----- --=-=-=--