From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8Jb9Fvmx1GEQfwEAgWs5BA (envelope-from ) for ; Tue, 04 Jan 2022 21:45:45 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +Ic0FPmx1GFSgwAA9RJhRA (envelope-from ) for ; Tue, 04 Jan 2022 21:45:45 +0100 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 EE44C398DB for ; Tue, 4 Jan 2022 21:45:44 +0100 (CET) Received: from localhost ([::1]:49088 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4qgi-0006jv-6x for larch@yhetil.org; Tue, 04 Jan 2022 15:45:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4qft-0006iX-P6 for help-guix@gnu.org; Tue, 04 Jan 2022 15:44:53 -0500 Received: from [2607:f8b0:4864:20::c2e] (port=33480 helo=mail-oo1-xc2e.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4qfq-0005Dp-E9 for help-guix@gnu.org; Tue, 04 Jan 2022 15:44:52 -0500 Received: by mail-oo1-xc2e.google.com with SMTP id r18-20020a4a7252000000b002c5f52d1834so11955355ooe.0 for ; Tue, 04 Jan 2022 12:44:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zj3kRI2mRjNY0WzWrJo6pEgUIIil8r/T2d8LnTcUZoI=; b=j+6smJER0vjlyUHj29PS12bPHzMFjvHfWOEi/vbRN/pn7Z6EQF8rtns1kewrNgf9bX Q66piL1i6nTK51ySBVo6kfHexll909ifh14WIRaLe31n5Jt2/LRAeTWOgTH7rhfyn5I9 gjDjfo4fexGSgmQkU6a90aH2UwNVxgHsNmmMlqWasf9wEP2iBW1kWRHePmnCicFeZJUZ VPfo/WpJAetSPypN6IJHV8Q7XB91cWveFJIBFLJ9huWW4soV5V/9f1oqaWl+rGJKQVo9 OHrV2OjgJDlLfrt9mT5TE39Z58IFNc2Tu+szaPVrOM/1ESpsy0cRS7iZnIMqh6dGvr/F M3Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zj3kRI2mRjNY0WzWrJo6pEgUIIil8r/T2d8LnTcUZoI=; b=YAuVSfngk+vTkCegYQGvt0CIfaQcPkh6WXh1N+0zybfko3X70KOXerAiD+zqrqtBOt X548PoDVzbuNY/9risbLp1AkP8pX6yCC0JKc4TSbDvYZei3Dio80QJVwsqtNQl+nJbAt 6zRHcZkO2VOGxEjIEWdtocqFHxWseCLJ+/ns7tOZgIv9GJGl1lHD0c0C1q95Kp2zPFb/ Q8MpKxtMJoc9qnHzDc4w4LYOs+0opVWzKDL0z7z+VzL3EERAZVOhi0Apx3eyg68InPzk 5U8UxnLsm8u4stA5vULp19zze7qF/S8nxjB5m+tELvpI9k2xrJHuZEtvrC74Xc93aPO3 rX5w== X-Gm-Message-State: AOAM532yosXmkmYxn3qEpDA4eI7ALhwQ2HGWQjxaj1Os3qpjfc5/IUiA iBQPVPLl5ctt2LJ4FeweF88foPfcj8OUCiFmv4o= X-Google-Smtp-Source: ABdhPJyJJ3VO+HDL/Bn/FL5PUI+eiOcJip5WtK/isYvaw+9hbQdoYt9UxcOHY0D5wuVCqjTl3XbvimmMWde3tM4sgvg= X-Received: by 2002:a4a:87ce:: with SMTP id c14mr22920234ooi.23.1641329089286; Tue, 04 Jan 2022 12:44:49 -0800 (PST) MIME-Version: 1.0 References: <87k0ff1foz.fsf@ngyro.com> <86mtkbcl31.fsf@gmail.com> In-Reply-To: <86mtkbcl31.fsf@gmail.com> From: Mortimer Cladwell Date: Tue, 4 Jan 2022 15:44:38 -0500 Message-ID: Subject: Re: How to use guix hash --serializer? To: zimoun X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::c2e (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::c2e; envelope-from=mbcladwell@gmail.com; helo=mail-oo1-xc2e.google.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641329145; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=TynMdBWXTT8EvN9A3PWP6cFX1OUwShGtzVeEVgq9njI=; b=CNBCLm70CVLpO314MeRVAvcFEkFDT/LleRazm6byRPNWAu1L8T/0gYAlohVO0YI3Ko7MEX z6tMZwNcl5nvvS907k0+q363ZsgFMEzmiNMojEMeodW7md7qAolW/wt4TvBJrIc5p6mtzP jy5A5kgQEYLIGUQm+lL8pctAlC5HVXsTmbodRXynmE4kDrDosEmj8/NXPDF8/u+rFulO3m SVovjy+IkqWHgp+YRmqbjTAgC7Td9W2DpCN6HJN13FCvWIk/Y4dbS7UGZ9PFh0ovIBsWhS n74hmMTTUkf7pxmpKk5kk7ggs9ziG2pmPWNNIKh4kgA2iKVAmWHb3WcdSGwPrA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641329145; a=rsa-sha256; cv=none; b=RwiO1AG583dw0BhO6lhzGQH6nongx7+Kjp4eBdeHqv5+40BxJBjspb+1XFai12gMvibCbT C2V+0PvWpELY8VIuoe6HXeQ74Me+2MuKP3g+mbmH3IU8RAfraVgCxQVFM08peEQzz7tawE 6A+4/WaN5SB+r+27++gGLuxRA24mT6ezD/JAwcsT6KvFidiQzQsH7/PwBC8NVT9DglvVtr HKkeLK/IxcZjFxorvei34Uy9Pv3FL7Vc4yaURVsvdLNfGM8pLVvEYyn757/uFiIs3+i/Bj ZZzDbF2fgFRwrBvMVVNkIl407yb46cTa7C7NhZVc8topdjj1cS6G0qGXGqt0nA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=j+6smJER; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.49 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=j+6smJER; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: EE44C398DB X-Spam-Score: -1.49 X-Migadu-Scanner: scn0.migadu.com X-TUID: /DgHF7yU1oOy Thanks Tobias you are correct. My project is ~/projects/shinyln I repeat your suggestion of cloning a second copy into ~temp/shinyln, cd, git reset etc. I then compare the contents of the two 'clone' directories, see below looks like the difference, other than make/git related files are four empty directories doc, scripts, shinyln and tests, so appears empty directories are not allowed? ---------------------------------------------------------------- Hi Simon, mbc@HP8300:~/projects/shinyln$ git --no-pager log -1 --oneline git status 9f06568 (HEAD -> master, origin/master) removed chmod statement On branch master Your branch is up to date with 'origin/master'. nothing to commit, working tree clean ----------------------------------------------------------------- Thanks! ================================================================= output of find /home/mbc/projects/shinyln -type d -printf "%P\n" | sort > file1 find /home/mbc/temp/shinyln -type d -printf "%P\n" | sort | diff - file1 mbc@HP8300:~/temp$ cat file1 autom4te.cache build-aux doc .git .git/branches .git/hooks .git/info .git/logs .git/logs/refs .git/logs/refs/heads .git/logs/refs/remotes .git/logs/refs/remotes/origin .git/objects .git/objects/02 .git/objects/07 .git/objects/09 .git/objects/0a .git/objects/0c .git/objects/0d .git/objects/10 .git/objects/12 .git/objects/15 .git/objects/17 .git/objects/18 .git/objects/1a .git/objects/1e .git/objects/20 .git/objects/23 .git/objects/26 .git/objects/29 .git/objects/2e .git/objects/31 .git/objects/32 .git/objects/36 .git/objects/3e .git/objects/40 .git/objects/48 .git/objects/4c .git/objects/66 .git/objects/68 .git/objects/69 .git/objects/6d .git/objects/72 .git/objects/75 .git/objects/76 .git/objects/7f .git/objects/81 .git/objects/82 .git/objects/84 .git/objects/85 .git/objects/89 .git/objects/8b .git/objects/8d .git/objects/9b .git/objects/9e .git/objects/9f .git/objects/a1 .git/objects/a3 .git/objects/a4 .git/objects/aa .git/objects/b0 .git/objects/b5 .git/objects/b7 .git/objects/ba .git/objects/bc .git/objects/c8 .git/objects/ce .git/objects/d3 .git/objects/d4 .git/objects/d6 .git/objects/d8 .git/objects/d9 .git/objects/df .git/objects/e6 .git/objects/e9 .git/objects/ea .git/objects/f2 .git/objects/ff .git/objects/info .git/objects/pack .git/refs .git/refs/heads .git/refs/remotes .git/refs/remotes/origin .git/refs/tags scripts shinyln tests On Tue, Jan 4, 2022 at 3:21 PM zimoun wrote: > Hi Mortimer, > > On Tue, 04 Jan 2022 at 14:48, Mortimer Cladwell > wrote: > > > mbc@HP8300:~/projects$ cd shinyln/ > > mbc@HP8300:~/projects/shinyln$ guix hash -S nar -x . > > 1ykbpz6pqx0bkvfp3c60qfb9r0xvpmrs0ldlxm2qw0zd8f67lmaj > > Could you report: > > git --no-pager log -1 --oneline > git status > > ? > > > FYI from > https://guix.gnu.org/manual/en/html_node/Invoking-guix-hash.html > > at the bottom explaining --exclude-vcs: > > > > $ git clone http://example.org/foo.git > > $ cd foo > > $ guix hash -rx . > > > > Suggests (to me) that you go inside the directory to calculate hash, > > though as above seems not to matter. > > Yes, indeed. I tried outside without fulling checking. :-) > > > Cheers, > simon >