Unable to bless a unix homedir with it's own a dat archive.
I have a large-ish project that resides on a server in it's own unix account, call that /home/my-awesom-project. Intending to create a dat archive for ~my-awesome-project, i began by creating a .datignore file. It looked like:
# Ignore everything to begin
*
# add back something small to start off
!doc
Running dat create was disappointing: IncompatibleError: Dat folder contains incompatible metadata. Please remove your metadata (rm -rf .dat" ... tis a shame that a ~/.datignore entry isn't sufficient to resolve that.`
Reasonable I guess, but not what's I'd visualized in my fantasies.
The dat cli (~/.dat/releases/dat-13.11.5-linux-x64/dat) was installed using the wget ... | bash technique; on Gnu/Linux.
Thanks to all for your efforts.
Thanks for opening the issue!
The .dat directory at ~/.dat is used to store the write keys for all your dats. Unfortunately, we overlooked the idea that someone may want to share their home directory.
We definitely don't want people deleting that directory, so this error is really bad there. It'd be great to:
- At least, change that error for the home directory.
- We could also rename that directory or let it co-exist with a regular
.datdirectory.
I'll be happy to support anyone who want to take this on.
What about moving ~/.dat into ~/.config/dat ?