-
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 drive #174
Comments
Potentially relevant: |
@diasdavid @Gozala interesting! Is the API for |
I actually did not knew about mfs and while I did mention wanting to solve ipns part, that was not necessarily part of the ipfs-drive in my mind you’d mount a drive onto ipns node that would update pointer to latest address. In terms of API and code I just have a small piece written down https://github.com/Gozala/ipfs-drive/blob/master/src/Drive.js as I end up in the rabbit hole of figuring out all of ipfs & type annotating it :) it is in my head though & I’m happy to write it down if that would help. Mostrly I was thinking to change along the lines of how immutable data structures change mutable interface of their mutable counterparts |
I think this should much rather be a part of the already existing
Adding a flag for doing this automatically via the daemon, in the background
Optionally, the
Changing a internal implementation (MFS) for a user-land command feels confusing. You're suggesting we rename the |
For
What would be the difference other than name and auto-publish to ipns (which we could theoretically allow with symlinks to /ipns)? |
Thats like phasing out ext4 because you want to use a new desktop file browser. |
@whyrusleeping perhaps the word "phasing" didn't communicate the intention well. I just meant that using a name such as |
but we only call it mfs internally, where it describes the mutable file system structures that back the ipfs files api. I'm still not following. |
FYSA there is somehow related design discussion on how UI for |
There isn't a single event that goes by that I don't get at least 50 requests for a thing that looks like this Drive API.
I really just meant a rename to something more familiar to users and then evolve what it is. |
Yeah I must say I agree at this point. The UX problem we have is that a lot of features are hidden behind terms like "MFS" or "Files API", plus (based on conversations I had) the Seen people having the same questions over and over in the past six months. I think changing the way we communicate those concepts could remove a tons of confusion and improve onboarding of new users.
It means just renaming Click to expan additional notes
Some CLI ideas: # mount MFS into userspace + watch for changes
ipfs drive mount /home/user/ipfs-drive
# sync with other peer (one time or continuous, or bi-directional)
ipfs drive sync [--watch [--bidirectional]] <peerID>[:/optional/source/path] [/optional/destination/path]
# personal pet peeve: 'cp' should only work for things that are already in 'drive', adding /ipfs/* is.. adding
ipfs drive add /home/user/file.jpg [/optional/drive/destination/file-from-local-fs.jpg]
ipfs drive add /ipfs/Qmdsfsdf/test.file [/optional/drive/destination/test-from-ipfs.bin]
|
Dropping some additional notes/ideas around MFS and
(cc https://github.com/ipfs/interface-js-ipfs-core/issues/284, ipfs/kubo#1607) |
Do we have to move to a new namespace to do this? @alanshaw mentioned that he plans on doing this to the existing namespace in |
I'd like to provide few suggestions:
|
@Gozala started implementing an
ipfs drive
feature which is essentially a mix between mfs + ipns (for syncing). I really like the namedrive
for the API and it makes total sense that the API not only creates a virtual folder but also supports the sync between multiple nodes.Phasing out mfs in favor of
ipfs drive
would simplify and answer a ton of questions from our users that do not get at all what mfs is (not documented).@whyrusleeping @pgte thoughts?
The text was updated successfully, but these errors were encountered: