gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] mirroring concepts/practice help


From: Aaron Bentley
Subject: Re: [Gnu-arch-users] mirroring concepts/practice help
Date: Thu, 03 Feb 2005 11:43:17 -0500
User-agent: Mozilla Thunderbird 0.6 (X11/20040530)

John Arbash Meinel wrote:
Actually, =meta-info/name should always contain the "real" name. It is a
mirror, but that is the archive it is a mirror of. I'm not really sure
what should go into =meta-info/mirror. I think it is actually not ever
read.

It is always read when connecting to an archive. It is verified when mirroring. When it doesn't match, the error is the one Kevin Geiss got.

See archive.c:
  if (want_mirror_of && str_cmp (want_mirror_of, answer->mirror_of))
    {
safe_printfmt (2, "arch_archive_connect: attempt to connect to wrong mirror\n archive: %s\n wanted mirror of: %s\n got mirror of: %s\n", (name ? name : location), want_mirror_of, (answer->mirror_of ? answer->mirror_of : (t_uchar *)"(not a mirror)"));
      exit (2);
    }

  return answer;

Just having the file means that the archive is treated as a mirror
(no committing).

What *is* important is how you have registered the archives. There are
two possibilities for archive-mirror

That is not the only important thing. The =meta-info/mirror contents is also important.

Aaron
--
Aaron Bentley
Director of Technology
Panometrics, Inc.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]