unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>, "Timothy Sample" <samplet@ngyro.com>
Cc: Vagrant Cascadian <vagrant@debian.org>, guix-devel@gnu.org
Subject: Re: Preservation of Guix report 2022-01-16
Date: Thu, 20 Jan 2022 10:35:03 +0100	[thread overview]
Message-ID: <864k5yoim0.fsf@gmail.com> (raw)
In-Reply-To: <87czkoatt8.fsf@gnu.org>

Hi,

> The more we make progress, the more it seems we won’t be able to avoid
> storing multiple hashes.

Yes, it appears to me unavoidable.  The question is where store such
hashes?  At the origin level?  At the package level via ’properties’?
Using an external service?  As Disarchive database?  Other?

From my point of view, the bridge between all the hashes should be done
by SWH itself.  They promote their ’swhid’ which is far less common than
Git hashes, for instance.  It would make sense, at least to me, that
they would provide various maps using different keys.  They already
somehow provide the map Git+Sha1 to swid, they could also provide
NAR+Sha256 to swhid and maybe other serializers checksum to swhid.  The
world existed before swhid. ;-)

The question about the metadata is another question.

Perhaps, all is already a work-in-progress. :-)

Well, therefore, maybe the step forward is that Guix relies more (or
exclusively) on Disarchive-DB when it uses SWH as fallback.

Cheers,
simon


  reply	other threads:[~2022-01-20 10:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-16 19:51 Preservation of Guix report 2022-01-16 Timothy Sample
2022-01-18 15:28 ` Ludovic Courtès
2022-01-18 18:16   ` Vagrant Cascadian
2022-01-18 19:38     ` Timothy Sample
2022-01-19 10:44       ` Ludovic Courtès
2022-01-20  9:35         ` zimoun [this message]
2022-01-24 15:17           ` Ludovic Courtès

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=864k5yoim0.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    --cc=samplet@ngyro.com \
    --cc=vagrant@debian.org \
    /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).