bcpierce00 / unison

Unison file synchronizer
GNU General Public License v3.0
4.07k stars 229 forks source link

Add command to change the hostname of a root, and perhaps the path #1023

Closed gdt closed 5 months ago

gdt commented 5 months ago

Unison stores hostnames/paths in archive files, and the files are hashed. It would be great if one could

$ unison update-roots oldroot1 newroot1 oldroot2 newroot2

and have the archive/fingerprint files updated on both hosts, both in content and name.

This likely needs more thought, a prototype implementation, and experimenting with it.

gdt commented 5 months ago

moved to https://github.com/bcpierce00/unison/wiki/Feature-Requests

we-taper commented 5 months ago

Can someone point out the related code responsible for these? Such as, how is the archives files created and where the path/hostname is stored.

I'd like to work on this problem which has created problems for myself. However, I am not familiar with Ocaml and would like some brief guidance.

gdt commented 5 months ago

Please ask on -hackers; issues are not for help requests.

tleedjarv commented 5 months ago

I don't recommend this as a first issue to work on. This is going to be rather involved and I'd prefer it being considered in a more general framework for administrative commands, such as #495.