From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WDpEGjFSU2FtXgEAgWs5BA (envelope-from ) for ; Tue, 28 Sep 2021 19:34:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id aY/sFTFSU2F8NgAA1q6Kng (envelope-from ) for ; Tue, 28 Sep 2021 17:34:41 +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 DF8F46AA for ; Tue, 28 Sep 2021 19:34:40 +0200 (CEST) Received: from localhost ([::1]:43134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVH03-0003SV-Vm for larch@yhetil.org; Tue, 28 Sep 2021 13:34:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51284) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVGzT-0002lx-3n for guix-patches@gnu.org; Tue, 28 Sep 2021 13:34:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35369) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mVGzS-00041M-Rl; Tue, 28 Sep 2021 13:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mVGzS-00019C-KM; Tue, 28 Sep 2021 13:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50873] [PATCH 0/5] Fixes to =?UTF-8?Q?=E2=80=98guix?= home =?UTF-8?Q?import=E2=80=99?= Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: ludo@gnu.org, andrew@trop.in, guix-patches@gnu.org Resent-Date: Tue, 28 Sep 2021 17:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50873 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50873@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Andrew Tropin X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Andrew Tropin Received: via spool by submit@debbugs.gnu.org id=B.16328504054359 (code B ref -1); Tue, 28 Sep 2021 17:34:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Sep 2021 17:33:25 +0000 Received: from localhost ([127.0.0.1]:46914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVGyq-00018F-Ou for submit@debbugs.gnu.org; Tue, 28 Sep 2021 13:33:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:44772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVGyo-000187-HZ for submit@debbugs.gnu.org; Tue, 28 Sep 2021 13:33:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVGyo-0002DL-BP for guix-patches@gnu.org; Tue, 28 Sep 2021 13:33:22 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:53170 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVGym-0003N6-5G for guix-patches@gnu.org; Tue, 28 Sep 2021 13:33:22 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1632850395; bh=vteuw7v/PF23xOJwEas2evOTMCZyT38pQ5w2h5r9SXU=; h=From:To:Subject:Date; b=uHbi2SrC9sJh69YIbyIdvauN7xvZsuHBUI9bVz95S8Zcrvrc/nQqQ48y/rYzVtXdE TRz2HYyonF+/rBkf3B2lMJFLfMNEooOhLsiib+YksPhmxvixZPRwRyS1ccxNVLVqzI bZDHYB/59x6OPi7kzuHRFeCeZglwd+2ywhWVjIDE= Message-Id: Date: Tue, 28 Sep 2021 19:33:09 +0200 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 39 X-Spam_score: 3.9 X-Spam_bar: +++ X-Spam_report: (3.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=0.229, PDS_OTHER_BAD_TLD=1.999, PDS_RDNS_DYNAMIC_FP=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TO_NO_BRKTS_DYNIP=2.299 autolearn=no autolearn_force=no X-Spam_action: no action 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632850481; 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:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=c0ZWTEOHVdd0JqwjLQ5hSRcTB//3rcYnl33FsQFqYMk=; b=s1I16DrLZFwdtX27Bc+6olLly2oJKY+0MrqluKpzodSVQKqtXz+8yC5Jl6ounDDrOfw/MS 4BmI3ITdXMjd5L1ymiOb5b+RFM9YUV2C/z62IxGFM9XXfjHYNPAdAOMbJbbBW22+xolJpu 9cdBmlTsR2tR2em04NbGCh2sWpaqWi2Owisst65tyUZHFuhXPdONSa1QMek0kk+3eAEcwx VavMVHcovZk5JK7IgwKNUCoy6xZBjXhxFANyhbMNexP7nkWjamsmOb7HDjxyy1kU2DZsJI QE6Qy7aZ9BGMVO4bwl5Gn3sfCPZAHRg0TyZnfk1Xyn+IqFyeOyg2irG+uGNGcQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632850481; a=rsa-sha256; cv=none; b=Un5Jmclkfosq72mps+BW/zgW0WcLq2gzDCw7cCUMRp3hHHy52pkNwlJm4/r1EPlnKu+lJp 95JEkEndXVUe8CjfV4vahEY0741Y3yw1AKINia77bWcsqBTCXSRWI4htbMWRpjyk2HCjPH pd35M9GTjM30pryAU/1/7nKcgpCkbiZ69HxcGYMjiivGSUsrUUuEZq4mYqYg6xJNJ44VoG Qo/f1onHThZbGMjhaYGHS/9mtMODwSYVGstwD1ZD0iBDbO/dsdN/Ch4Mr36qLady/hBNnc vWfbiJ6SkUpJRlk+LIs5KJMR58SwoyZbPIRtwX/0EjN0HkAC/4t8tnHa1QlGUA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=uHbi2SrC; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.00 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=uHbi2SrC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: DF8F46AA X-Spam-Score: -3.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: 0/MqXnpww5o0 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable This series makes some fixes to the =E2=80=98guix home import=E2=80=99 subc= ommand which brings it into a usable state. The last patch documents the subcommand in the manual. As a sidenote, the =E2=80=98manifest->code=E2=80=99 procedure in (guix scri= pts home import), which is based on =E2=80=98manifest->code=E2=80=99 from (guix prof= iles) should probably be factorized with the original =E2=80=98manifest->code=E2=80=99 p= rocedure. Xinglu Chen (5): 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: Delete duplicate modules when importing. doc: Document the =E2=80=98guix home import=E2=80=99 subcommand. doc/guix.texi | 33 ++++++++++ guix/scripts/home.scm | 25 +++++--- guix/scripts/home/import.scm | 118 ++++++++++++++++++++--------------- 3 files changed, 116 insertions(+), 60 deletions(-) base-commit: 5edfa6d15e5bb92609ecff7e37e3985eced1dd4d =2D-=20 2.33.0 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmFTUdYVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5tMkP/RaFKrwuVlmXoVx4nTb8gV7oQErP Ktc+q8zhehNgLX+CTgOXUDp0PJ6XRQ6Z+BfMITogrxPBIzuhvx2VksNIpxIVpKn5 HP7hH1u8rbApeONLyTdbuluQRP40Oj4yUvB/g6Art1Qeqg5ZBfagCaVEAYaFGuPc 5TyT+b53NfATrLysWX5q4MnEMIHllJR/Ku8QLB59Uu31oCAoDfF1ANs0CNMIwrWX JR0nG6PUX/ic1SMuWZxcy+TcjLdeY5JhXfYK/9S8I2XkWjFTYE32RpF3xjpj3F1z 8ewzIpRZKDqlFVDawMyigH8fyOSwQxLi5tTwEnnnJS9h/oBmEa879uOxkBjwn/Dm SGUbazquk2q84IwJNi9SpXCfwPjxXtIVhc+ryPa93BSr9a9812PTC1jtlt3P1fWc x+KaE8neCAOe8RXy7AsRg9C6G5+Gv/FaI3kLVZ0Y5vRa27Bc9RnnRhLEVNMTA/bC jXKeuuXMaPg9UWDOcL4vEznrK6xJj39qqmtyF8IgESbK0MKOsXk8YGT355NbCbsz wspv+EPo88NhdAO/NhWK7oXYNHW8Mixgqs5NfQ33aUTXxp6nMFkjRDdSZr1nWFAg oEFoHvowz5ymk4WLXWgBwcBmCwGUwQYzWtFjA0+uH6aaik1RNTrtXIqKdxsKloiz t2pB2PFHZBj0WnBk =a4L2 -----END PGP SIGNATURE----- --=-=-=--