help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to use guix hash --serializer?


From: Mortimer Cladwell
Subject: Re: How to use guix hash --serializer?
Date: Tue, 4 Jan 2022 15:44:38 -0500

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 <zimon.toutoune@gmail.com> wrote:

> Hi Mortimer,
>
> On Tue, 04 Jan 2022 at 14:48, Mortimer Cladwell <mbcladwell@gmail.com>
> 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
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]