user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
* Recording archiver origins in git
@ 2021-06-28 21:26 Konstantin Ryabitsev
  2021-06-28 22:12 ` Eric Wong
  0 siblings, 1 reply; 5+ messages in thread
From: Konstantin Ryabitsev @ 2021-06-28 21:26 UTC (permalink / raw)
  To: meta


I'm working away on grokmirror+public-inbox replication, and I'm trying to
come up with a good solution for passing the "archiver origins" info. In
examples/, we try to get this information out of
a curl call to the clone origin, but this may not be reliable for a number of

1. we may be cloning from an intermediary location that only serves the git
   repositories and the manifest file (e.g.
2. the call may retrieve information relevant to the intermediary, and not to
   the origins of the archive

I'm thinking of including a special location in the git repo itself for
passing some of the same info currently found in the config snippet, e.g. in

Imaginary code snippet:

$ git show refs/meta/origins:i
source = smtp
listaddress =
listid =
archive-url =
archive-contact =

This way, even if the archive gets mirrored around a bunch of times, it's
still possible to track where it originated, and if the original archive info
becomes obsolete, someone can update the information without it affecting the
rest of the archive.

Does that sound sane?


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-06-29 20:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-28 21:26 Recording archiver origins in git Konstantin Ryabitsev
2021-06-28 22:12 ` Eric Wong
2021-06-29 12:56   ` Konstantin Ryabitsev
2021-06-29 19:59     ` Eric Wong
2021-06-29 20:10       ` Konstantin Ryabitsev

Code repositories for project(s) associated with this inbox:

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).