bugArX revision control system - Bugs: bug #4796, Simplified mirroring

 
 

bug #4796: Simplified mirroring

Submitted by:  Walter Landry <landry>
Submitted on:  Sun 17 Aug 2003 03:14:11 AM UTC  
 
Severity: 1 - FeatureItem Group: None
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 30 Mar 2004 02:02:56 AM UTC, comment #1:

The mirroring system has been revamped in patch-285, which should be in 1.0.19. This solution turned out to be more complicated, and there was a simpler solution. We now have a mirror use the master's =meta-info/name, only using the mirror name for the person who created the mirror. So it is in .arch-params/=locations and nowhere else.

Walter Landry <landry>
Project Administrator
Sun 17 Aug 2003 03:14:11 AM UTC, original submission:

If you had a master archive

foo@bar--archive
http://foo.com

Then to use a mirror you would do something like

larch register mirror foo@bar--archive foo@bar--mirror
http://mirror.net

Then if you

larch get foo@bar--mirror/foo--main--1.0

it knows that foo@bar--mirror is the same as
foo@bar--archive and does
the right thing.

The output of 'larch archives' would look like

foo@bar--archive
http://foo.com
mirrors:
foo@bar--mirror
http://mirror.net

If you wanted to use the mirror in preference to the master
archive
(for updates etc.), you can specify the master as a mirror of
the mirror:

foo@bar--archive
http://mirror.net
mirrors:
foo@bar--mirror
http://foo.com

That would also complicate the internals of larch, but it
seems more
intuitive to use (at least to me).

The aliases be named by appending a qualifier to
the "master" name:

larch register-mirror foo@bar--archive foo@bar--archive--other

This serves two purposes:

1) Archive names and archive aliases look different, both
to the
user and to the code which needs to know if it's one or the
other.

2) It's always obvious what the alias refers to, both to the
user and trivially in code.

Walter Landry <landry>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 30 Mar 2004 02:02:56 AM UTClandryStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1