Ayo.. hi there.. Love git-annex!
We are using git-annex as a backend for an asynchronous network.. we have multiple repositories in the same machines/nodes and we'd like to use the same uuid to identify these nodes.
Each time we clone an existing g-a repository it creates a new uuid. Right now we have to reinit with the existing uuid and set the newly created uuid as dead.
Is it possible to prevent this stillborn?
It looks like you can just set annex.uuid before the first
git annex init
to achieve this:But I would say that doing so is ill-advised. You can set a description for each repository and give the remotes descriptive names instead. If you use shared UUIDs you will run into an issue if it ever happens that two of those repositories become connected.