get rid of hardcoded "name" lookups
Support "sameas-name" being set instead. In RenameRemote, rename which ever of the two is set.
This commit is contained in:
parent
92ff30df70
commit
d1130ea04a
15 changed files with 45 additions and 14 deletions
|
@ -29,3 +29,20 @@ of the code will work as-is.
|
|||
That would add overhead of an additional git-annex branch read on every
|
||||
program start. That could be avoided by instead putting the equivilance in
|
||||
the remote.log. Eg, "B sameas=A foo=bar ..."
|
||||
|
||||
----
|
||||
|
||||
Implementation notes:
|
||||
|
||||
annex-config-uuid is set for sameas remotes.
|
||||
|
||||
Next, need to make generating a Remote look at that.
|
||||
|
||||
And need to make RemoteConfig inherit encryption
|
||||
settings from the sameas uuid.
|
||||
|
||||
Need to get enableremote working for sameas.
|
||||
|
||||
Deal with the per-remote state issue.
|
||||
|
||||
Any other things mentioned in the comments..
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue