3 public-inbox-gcf2 - internal libgit2-based blob retriever
7 This is an internal command used by public-inbox.
8 It may change unrecognizably or cease to exist at some point
12 public-inbox-gcf2 is an optional internal process used by
13 public-inbox daemons for read-only access to underlying git
16 Users are NOT expected to run public-inbox-gcf2 on their own.
17 It replaces multiple C<git cat-file --batch> processes by treating
18 any git repos it knows about as alternates.
20 None of its behaviors are stable and it is ALL subject to change
23 Any lines written to its standard input prefixed with a C</>
24 are interpreted as a git directory. That git directory
25 will be suffixed with "/objects" and treated as an alternate.
26 It writes nothing to stdout in this case.
28 Otherwise it behaves like C<git cat-file --batch>, but only accepts
29 unabbreviated hexadecimal object IDs in its standard input.
30 Its output format is identical to C<git cat-file --batch>. It
31 only works for L<public-inbox-v2-format(5)> inboxes and v1
32 inboxes indexed by L<public-inbox-index(1)>.
40 =item PERL_INLINE_DIRECTORY
42 This must be set unless C<~/.cache/public-inbox/inline-c>
43 exists. C<public-inbox-gcf2> uses L<Inline::C> and libgit2
44 and compiles a small shim on its first run.
50 Feedback welcome via plain-text mail to L<mailto:meta@public-inbox.org>
52 The mail archives are hosted at L<https://public-inbox.org/meta/>
53 and L<http://hjrcffqmbrq6wope.onion/meta/>
57 Copyright 2020 all contributors L<mailto:meta@public-inbox.org>
59 License: AGPL-3.0+ L<https://www.gnu.org/licenses/agpl-3.0.txt>