-
Notifications
You must be signed in to change notification settings - Fork 110
swarm: bzz-list, bzz-raw and bzz-immutable schemes (#150) #164
Conversation
Replace query parameter list=true for listing all files contained in a swarm manifest with a new URL scheme bzz-list.
New URI Shemes are added and old ones are deprecated, but not removed. Old Schemes bzzr and bzzi are functional for backward compatibility.
I was thinking, it is common in gnu programs to have short and long cli flags. For example we might have Could the same be true here, where |
Remove old schemes in favour of bzz-raw and bzz-immutable.
Ok, so let's agree on the functionality, poor @janos goes back and forth with the implementation.... |
I am not absolutely sure that we need bot short and long ones. I see pros to have them, but can think of at least two cons:
Just a few thoughts. Otherwise, I do not object the idea. Schemes bzzr and bzzi will be kept, and new bzzl will be added. Also, I will add bzzh to #163, as well. If you agree? |
For the record, I prefer the longer format. I have no strong opinions on this though except that bzzi and bzzl look too similar and that short names are not descriptive. |
Backward compatibility for bzzr and bzzi schemes are not a problem. Reverting the last commit will bring them back. I am fine with that, too. If you agree? |
I think currently we are in the mood of breaking backward compatibility for the next release anyway so... Here's how I feel: The problem is that we don't have a difference between "last release" and "nightly" for swarm. Maybe that's something we should think about after 0.3
I don't even feel authorised to make this decision :) |
I think that removing support for short names will be trivial for 0.3 (breaking) release. So, we can keep them until then. |
Keep bzzr and bzzi schemes for backward compatibility. At least until 0.3 swarm release.
Please resubmit it to https://github.com/ethereum/go-ethereum then |
Replace query parameter list=true for listing all files contained
in a swarm manifest with a new URL scheme bzz-list. This change
does not provide backward compatibility.
Replace bzzr and bzzi schemes with bzz-raw and bzz-immutable.
New URI shemes are added and old ones are deprecated, but not removed.
Old schemes bzzr and bzzi are functional for backward compatibility.
Related gist: https://gist.github.com/gbalint/ce09ada0bebc38f3a8a3dd2ce6c6299f.
This PR is closely related to the #163 PR.
Closes #150 issue.