all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: guix-sysadmin@gnu.org
Cc: 28664-done@debbugs.gnu.org
Subject: bug#28664: Old narinfos of tarballs purged on berlin
Date: Wed, 08 Nov 2017 21:29:06 +0100	[thread overview]
Message-ID: <87d14stsz1.fsf@gnu.org> (raw)
In-Reply-To: <87inem59jt.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 07 Nov 2017 17:37:58 +0100")

ludo@gnu.org (Ludovic Courtès) skribis:

> ludo@gnu.org (Ludovic Courtès) skribis:
>
>> ludo@gnu.org (Ludovic Courtès) skribis:
>>
>>> As a followup to <https://bugs.gnu.org/28664>, Ricardo upgraded to the
>>> latest Guix on berlin, and I’ve now removed old .narinfos corresponding
>>> to tarballs for which we potentially lacked the corresponding nar:
>>>
>>>   sudo find /var/cache/guix/publish/none -mtime +7 -exec rm -v {} \;
>>
>> This missed ~100 of them, so I’ve run the following command, which is
>> more accurate:
>>
>>   root@berlin /var/cache/guix/publish/none# rm -v $(for i in *.narinfo ; do [ -f `echo $i | sed -es/narinfo/nar/g` ] || echo $i ; done)
>
> I just did the same on hydra.gnu.org, which was starting to have 404 for
> these substitutes.

With narinfo caching people were starting to get 404s for
mirror.hydra.gnu.org/guix/nar/xyz.  Based on an incomplete log of the
command above, I’ve repopulated /var/cache/guix/publish/none on
hydra.gnu.org in a pretty crude way:

  for i in $(sed -es/'^removed `\([^-]\+\)-.*/\1/g' < /tmp/file-list ); do wget -q -O /dev/null http://localhost:9999/$i.narinfo || echo $i ; done

That’s 1,135 tarballs back in /var/cache/guix/publish/none.

The remaining missing items will come back eventually as narinfo
requests hit ‘guix publish’ itself (i.e., when narinfo caches on user
machines and in nginx have expired).

Ludo’.

      reply	other threads:[~2017-11-08 20:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-01 19:57 bug#28664: gst-plugins-base-1.12.3.tar.xz nar on berlin returns 404 Maxim Cournoyer
2017-10-02 15:15 ` Ludovic Courtès
2017-10-05 21:06   ` Ludovic Courtès
2017-10-18 21:35     ` Ludovic Courtès
2017-10-19 10:27 ` bug#28664: Old narinfos of tarballs purged on berlin Ludovic Courtès
2017-11-06  8:40   ` Ludovic Courtès
2017-11-07 16:37     ` Ludovic Courtès
2017-11-08 20:29       ` Ludovic Courtès [this message]

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

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

  git send-email \
    --in-reply-to=87d14stsz1.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=28664-done@debbugs.gnu.org \
    --cc=guix-sysadmin@gnu.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.