Subject: bug#50568: Missing source code

From: Ludovic Courtès <[email-masked]>
Date: Thu, 16 Sep 2021 21:28:02 +0200

Hi,

zimoun <[email-masked]> skribis:

> On Tue, 14 Sept 2021 at 10:40, Ludovic Courtès <[email-masked]> wrote:
>
>> Thanks, they’re now all in store on berlin.
>
> Do we do the usual trick to save them on SWH?

I think their contents are already saved on berlin, just not the
tarballs themselves.

For example:

--8<---------------cut here---------------start------------->8---
$ guix download https://web.archive.org/web/20161204140455/https://www.astromatic.net/download/stuff/stuff-1.26.0.tar.gz

Starting download of /tmp/guix-file.HTtGKM
>From https://web.archive.org/web/20161204140455/https://www.astromatic.net/download/stuff/stuff-1.26.0.tar.gz...
 …6.0.tar.gz                                                                        163KiB/s 00:25 | 3.9MiB transferred
/gnu/store/l3r5j8r4f6fh6bxa9va3681n3bclxpdq-stuff-1.26.0.tar.gz
1syibi3b86z9pikhicvkkmgxm916j732fdiw0agw0lq6z13fdcjm
$ guix environment --ad-hoc disarchive -- disarchive disassemble /gnu/store/l3r5j8r4f6fh6bxa9va3681n3bclxpdq-stuff-1.26.0.tar.gz |grep swhid
                        (swhid "swh:1:dir:128bbe76a82dd0b38b725565ed703a7148257ae0"))
--8<---------------cut here---------------end--------------->8---

and:

--8<---------------cut here---------------start------------->8---
scheme@(guile-user)> ,use(guix swh)
scheme@(guile-user)> (lookup-directory "128bbe76a82dd0b38b725565ed703a7148257ae0")
$24 = #f
--8<---------------cut here---------------end--------------->8---

Hmm actually maybe they vanished before they got a chance to be
archived?

Ludo’.