From: Vitaly Chikunov <vt@altlinux.org>
To: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Cc: tools@kernel.org
Subject: Re: grokmirror from kernel.googlesource.com
Date: Thu, 4 Apr 2024 17:29:34 +0300 [thread overview]
Message-ID: <20240404142934.e5djlrkaorufl6lc@altlinux.org> (raw)
In-Reply-To: <20240403-real-acrid-bug-df6dba@lemur>
Konstantin,
On Wed, Apr 03, 2024 at 05:02:07PM -0400, Konstantin Ryabitsev wrote:
> On Sat, Mar 30, 2024 at 05:24:39PM +0300, Vitaly Chikunov wrote:
> > Is it OK to mirror git.kernel.org from it's mirror
> > kernel.googlesource.com using grokmirror?
>
> I don't recommend it because kernel.googlesource.com doesn't publish its own
> manifest, so you are always going to be in a race between our manifest and
> their mirror.
Ah, good to know!
>
> > (Recently we getting 502 Bad Gateway from git fetch from git.kernel.org
> > directly.)
>
> Well, at least grokmirror should recover from such conditions. It doesn't
> happen very frequently, but every now and again a CI farm will try to use
> git.kernel.org directly and that tends to cause problems.
Good to know either. I noticed if I press ^C while grok-pull run then on the
next run it thinks work is already done and it looked racy.
$ grok-pull -c grokmirror-korg.conf -v
manifest: fetching https://git.kernel.org/manifest.js.gz
manifest: 2 relevant entries
search: finding all repos in /home/kernelbot/mirror
worker: started (1 running)
fetch: /pub/scm/linux/kernel/git/stable/linux.git
^CExiting on signal 2
Exiting on signal 2
$ grok-pull -c grokmirror-korg.conf -v
manifest: fetching https://git.kernel.org/manifest.js.gz
manifest: unchanged
Perhaps, with frequent runs it will self-recover. But this brings
another question - what is recommended minimal cron interval for
grok-pull for git.kernel.org (I only want to mirror torvalds and stable
repos)? I have seen in some articles and old READMEs example of every
minute (*) and once per 5 minutes (*/5).
Thanks,
>
> -K
next prev parent reply other threads:[~2024-04-04 14:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-30 14:24 grokmirror from kernel.googlesource.com Vitaly Chikunov
2024-04-03 21:02 ` Konstantin Ryabitsev
2024-04-04 14:29 ` Vitaly Chikunov [this message]
2024-04-04 14:49 ` Konstantin Ryabitsev
2024-04-04 16:34 ` Vitaly Chikunov
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=20240404142934.e5djlrkaorufl6lc@altlinux.org \
--to=vt@altlinux.org \
--cc=konstantin@linuxfoundation.org \
--cc=tools@kernel.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.
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.