unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: zimoun <zimon.toutoune@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: Why unrelated package trigger rebuild?
Date: Fri, 09 Oct 2020 08:51:57 +0100	[thread overview]
Message-ID: <87mu0vzvj6.fsf@cbaines.net> (raw)
In-Reply-To: <86d01s89lj.fsf@gmail.com>


zimoun <zimon.toutoune@gmail.com> writes:

> Dear,
>
> From the Data Service:
>
> <https://data.guix.gnu.org/repository/1/branch/master/package/ghc-haddock/output-history>
>
> the commit 39222080911eaf3d7f74effe4467c1a04464aef3 which is about the
> addition of the package ’dkgpg’ modifies the hash of the package
> ’ghc-haddock’ from:
>
>   /gnu/store/s7s3ksfhkdbb6k6si8bjnxy8vvywv322-ghc-haddock-2.22.0
>
> to:
>
>   /gnu/store/j5llszq1cf12qn79bvhc042wc06ibfix-ghc-haddock-2.22.0
>
> Well, I miss why the addition of one package changes the hash of another
> unrelated one?  Is it expected?

I think the first thing to spot is that the Guix Data Service does a
poor job of showing what happened. If you look at the 3 outputs that
start or end in July (07), the pattern isn't a neat "one after the
other".

What I think actually happens is that:

 - 2020-06-13 21:04:16:       hash begins lw2
 - 2020-07-21 21:57:03:       hash begins s7s
 - after 2020-07-21 21:57:03: hash goes back to beginning lw2
 - 2020-07-24 12:22:11:       hash begins j5l

I think one of the implicit assumptions the query for that page makes,
is that the outputs don't really repeat, and in this case, that doesn't
hold. I think there's room for improvement to try and correct that.

Sorry about that,

Chris


  reply	other threads:[~2020-10-09  7:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-09  1:35 Why unrelated package trigger rebuild? zimoun
2020-10-09  7:51 ` Christopher Baines [this message]
2020-11-18  8:45 ` zimoun
  -- strict thread matches above, loose matches on Subject: below --
2020-10-09 16:26 zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mu0vzvj6.fsf@cbaines.net \
    --to=mail@cbaines.net \
    --cc=guix-devel@gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).