-
Notifications
You must be signed in to change notification settings - Fork 232
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
IPFS Repo Spec update #43
Conversation
Several discrepancies to address
|
||
It is recommended that `config` files avoid identifying information, so that they may be re-shared across multiple nodes. | ||
|
||
**CHANGES**: today, implementations like go-ipfs store the peer-id and private key directly in the config. These will be removed and moved out. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be good to specify the schema. Ideally any implementation should be compatible. Also, mention that its currently stored in JSON.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that sounds good-- though i do want to keep config files flexible, in that people may want to add more values into it than we give -- similar to how people use .git/config
Good to see specs moving forward little by little 💪 My two cents: I see some overlap between |
makes sense. I only included that in any other observations like that?
sounds great! thanks for the feedback-- a solid spec here will go a long way |
@@ -32,46 +31,35 @@ Repo Implementations: | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be pretty sweet to upgrade https://github.com/maxogden/abstract-blob-store to have a parallel interface for Go, so that we can have all of those s3/fs/mem repos for 'free'.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In go, we use https://github.com/jbenet/go-datastore/ -- which is similar and alraedy has a bunch.
i've been making these abstractions for a long time: https://github.com/datastore/datastore and https://github.com/datastore
The repo spec has some discrepancies to fix. I've added some commits that fix some, and noted others. This PR is a discussion to fix it.
Thanks to @masylum for prompting this fix, and sorry you had to find it by hand.
Discrepancies to address:
ipfs repo fsck
to fix lock issues.cc @ion1 @whyrusleeping @diasdavid