[tahoe-lafs-trac-stream] [tahoe-lafs] #1715: change all docs and generated URLs to point to "/cap" instead of "/uri"
tahoe-lafs
trac at tahoe-lafs.org
Tue Nov 20 03:02:55 UTC 2012
#1715: change all docs and generated URLs to point to "/cap" instead of "/uri"
---------------------------+-----------------------------------------------
Reporter: marlowe | Owner: davidsarah
Type: defect | Status: assigned
Priority: normal | Milestone: undecided
Component: | Version: 1.9.1
documentation | Keywords: docs cruft backward-compatibility
Resolution: |
Launchpad Bug: |
---------------------------+-----------------------------------------------
Old description:
> From #tahoe-lafs:
>
> 13:58 < warner> I also noticed that /uri and /cap are synonyms.. not sure
> if that's documented
>
> 13:59 < zooko> I had the idea, many years ago, to rename "uri" to "cap"
> everywhere, but never finished that process...
>
> 14:00 < marlowe> warner: if you create the ticket, and assign it to docs,
> I will make the change
>
> 14:00 < warner> I think that synonym came from that process
>
> 14:00 * zooko nods
>
> 14:01 < marlowe> also, once I finish #1663 we should have a good idea on
> what is a synonym for what
>
> 14:01 < zooko> I had planned to change the Web API docs to direct
> programmers to the new name -- /cap/ -- and leave the old one for
> backward-compatibility.
New description:
From #tahoe-lafs:
13:58 < warner> I also noticed that /uri and /cap are synonyms.. not sure
if that's documented
13:59 < zooko> I had the idea, many years ago, to rename "uri" to "cap"
everywhere, but never finished that process...
14:00 < marlowe> warner: if you create the ticket, and assign it to docs,
I will make the change
14:00 < warner> I think that synonym came from that process
14:00 * zooko nods
14:01 < marlowe> also, once I finish #1663 we should have a good idea on
what is a synonym for what
14:01 < zooko> I had planned to change the Web API docs to direct
programmers to the new name -- /cap/ -- and leave the old one for
backward-compatibility.
--
Comment (by davidsarah):
So, we can get away with removing "/uri/" or "/cap/" because the
{{{URI:}}} prefix (or {{{lafs:}}} if and when we switch to that) makes the
meaning unambiguous. The root handler can just check whether the immediate
child name starts with "URI:", and if it does, delegate to the same
handler as "/uri/".
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1715#comment:10>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list