Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to bless a unix homedir with it's own a dat archive. #1063

Open
bhyde opened this issue Feb 17, 2019 · 2 comments
Open

Unable to bless a unix homedir with it's own a dat archive. #1063

bhyde opened this issue Feb 17, 2019 · 2 comments

Comments

@bhyde
Copy link

bhyde commented Feb 17, 2019

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.

@joehand
Copy link
Collaborator

joehand commented Feb 18, 2019

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 .dat directory.

I'll be happy to support anyone who want to take this on.

@palmeida
Copy link

What about moving ~/.dat into ~/.config/dat ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants