]> Sergey Matveev's repositories - public-inbox.git/commit
lei_mirror: do not fetch descriptions if using manifest
authorEric Wong <e@80x24.org>
Mon, 28 Nov 2022 05:31:27 +0000 (05:31 +0000)
committerEric Wong <e@80x24.org>
Mon, 28 Nov 2022 23:38:55 +0000 (23:38 +0000)
commitaa4bc3dbd3b3d7a03b6df4fe6964f3354dcda58c
tree66a37349c2c641f187d7039ee7edda0c299dbdbf
parent0ef7fb8a3edb8880ccb50d4d430ef92f7a8093f5
lei_mirror: do not fetch descriptions if using manifest

If a manifest exists, we can expect the description to always be
present, thus there's no need to make a separate HTTP(S) request
since we can use it as-is from the manifest for v1||coderepos
and strip / \[epoch [0-9]+\]\z/ from v1.
lib/PublicInbox/LeiMirror.pm