Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upipfs name follow #4435
Comments
lgierth
added
commands
feature
ipns
labels
Nov 29, 2017
This comment has been minimized.
This comment has been minimized.
|
Is this only active when the command is active? I see two different commands here: Pinning
This command will create a new (permanent) pin that will "follow" this IPNS address while the daemon is active. Note: Use-cases: Mirroring, backup, offline-replication. Follow
Unlike the previous command, this "follow" would only remain active while the command is active. By default, unless Use-cases: Authenticated data streams, website "feeds". |
vyzo
self-assigned this
Nov 29, 2017
This comment has been minimized.
This comment has been minimized.
|
@Stebalien yeah your proposal sounds good too! |
This comment has been minimized.
This comment has been minimized.
|
I am not sure we need a behaviour that is only available while the command is active - do we really care all that much about seeing background resolutions displayed in the terminal? edit: of course it's not just human eyeballs consuming the output |
This comment has been minimized.
This comment has been minimized.
|
There is also the implicit relationship to ipns pubsub. |
This comment has been minimized.
This comment has been minimized.
Exactly. That's more for e.g., webapps.
I'd do both. Always use pubsub and occasionally check the DHT for updates (more frequently if we see updates through the DHT that we don't see through pubsub). |
This comment has been minimized.
This comment has been minimized.
matthewrobertbell
commented
Nov 30, 2017
|
An alternative could be allowing "pinning" of IPNS names, so that they are both automatically updated, the records republished by that node and the current IPFS object which is pointed to being automatically pinned as well. This would mean that there is no requirement to keep a command running. |
This comment has been minimized.
This comment has been minimized.
rklaehn
commented
Nov 30, 2017
|
so the the |
This comment has been minimized.
This comment has been minimized.
|
I think I prefer the |
This comment has been minimized.
This comment has been minimized.
That's the first command I proposed.
No. Actually, it wouldn't even pin. That command would just print out the hash and then start fetching in the background. If you wanted a pin, you'd use
For the latest hash, you'd just resolve the IPNS name (which should use the cache). "Fully pinned" is a bit trickier. The second we get a new hash, we'd unpin the previous version and start pinning a new one. We could have a
Good point. I agree. |
lidel
referenced this issue
Jan 8, 2018
Open
Describe how IPFS bookmarks will be handled in browsers #21
This comment has been minimized.
This comment has been minimized.
mitar
commented
Feb 4, 2018
|
I think this is duplicate of #1467? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
lockedshadow
commented
May 9, 2018
|
What a wonderful name! This upcoming feature looks very interesting. And do I understand correctly that "following" nodes will republish the last seen value of given name, even if the creator of that name (with its private key) disappears once? Will the new nodes be able to resolve a value of that name, if the "following" ones will be present in network? |
This comment has been minimized.
This comment has been minimized.
|
that's an interesting idea. |
This comment has been minimized.
This comment has been minimized.
sonatagreen
commented
Nov 13, 2018
This part feels like the sort of thing that might be best handled with IPRS involved somehow. |
lgierth commentedNov 29, 2017
•
edited
cc @vyzo