Mailing List Archive

[The Trac Project] #2168: Universal TracLinks argument
#2168: Universal TracLinks argument
-------------------------+--------------------------------------------------
Reporter: cboos | Owner: cboos
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: wiki | Version: devel
Severity: minor | Keywords: |
-------------------------+--------------------------------------------------
Currently, each flavor of TracLinks implements it's own "sub" syntax.

There is some consistency however, for example,
a trailing "#fragment" is used to locate a specific anchor in the targeted
objects.
This works for section anchors in Wiki pages and more recently
for line numbers in repository files.

Also, there's some support for the special "?format=raw" argument
which works for attachment: links, and it was suggested that source:
links adopt the same convention.

What becomes apparent from the above is that those conventions
are pretty much the same as those used for
[http://ietfreport.isoc.org/idref/rfc3986 URIs].

Therefore, I propose to add the query URI syntax
to the TracLinks syntax, for the short and long form of links
(but not for the shorthand forms).

Examples:
* source:trunk/README?format=txt Access the README file in "text" mode
* wiki:WikiStart?format=txt Access the WikiStart page in "text"
mode
* log:trunk?limit=10 See the last ten changesets on trunk
* query:?milestone=1.0&owner=cboos See my 1.0 tickets (works already)
* search:?q=google&wiki=on Search for "google" in Wiki pages
(works already)
* report:14?PRIORITY=highest ... works in Trac > r2322

--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2168>
The Trac Project <http://trac.edgewall.com/>
Re: [The Trac Project] #2168: Universal TracLinks argument [ In reply to ]
#2168: Universal TracLinks argument
-------------------------+--------------------------------------------------
Reporter: cboos | Owner: cboos
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: wiki | Version: devel
Severity: minor | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by cboos):

See also #1209, for a similar request concerning milestone: links.

--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2168>
The Trac Project <http://trac.edgewall.com/>
Re: [The Trac Project] #2168: Universal TracLinks argument [ In reply to ]
#2168: Universal TracLinks argument
-------------------------+--------------------------------------------------
Reporter: cboos | Owner: cboos
Type: enhancement | Status: new
Priority: normal | Milestone: 0.9.1
Component: wiki | Version: devel
Severity: minor | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Changes (by cboos):

* milestone: => 0.9.1

Comment:

See also #2078, for a similar request concerning changeset: links.

--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2168>
The Trac Project <http://trac.edgewall.com/>
Re: [The Trac Project] #2168: Universal TracLinks argument [ In reply to ]
#2168: Universal TracLinks argument
-------------------------+--------------------------------------------------
Reporter: cboos | Owner: cboos
Type: enhancement | Status: new
Priority: normal | Milestone: 0.9.2
Component: wiki | Version: devel
Severity: minor | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Changes (by cmlenz):

* milestone: 0.9.1 => 0.9.2

--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2168>
The Trac Project <http://trac.edgewall.com/>
Re: [The Trac Project] #2168: Universal TracLinks argument [ In reply to ]
#2168: Universal TracLinks argument
-------------------------+--------------------------------------------------
Reporter: cboos | Owner: cboos
Type: enhancement | Status: new
Priority: normal | Milestone: 1.0
Component: wiki | Version: devel
Severity: minor | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Changes (by cmlenz):

* milestone: 0.9.3 => 1.0

--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2168>
The Trac Project <http://trac.edgewall.com/>
Re: [The Trac Project] #2168: Universal TracLinks argument [ In reply to ]
#2168: Universal TracLinks argument
-------------------------+--------------------------------------------------
Reporter: cboos | Owner: cboos
Type: enhancement | Status: new
Priority: normal | Milestone: 1.0
Component: wiki | Version: devel
Severity: minor | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by cboos):

See also #2635 for a discussion about uniform handling of
versioning arguments (e.g. `type:id@version` for addressing
a specific version of the object, and `type:id@versionx:versiony`
for addressing a specific change or group of changes for the object).

--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2168>
The Trac Project <http://trac.edgewall.com/>
Re: [The Trac Project] #2168: Universal TracLinks argument [ In reply to ]
#2168: Universal TracLinks argument
-------------------------+--------------------------------------------------
Reporter: cboos | Owner: cboos
Type: enhancement | Status: new
Priority: normal | Milestone: 0.11
Component: wiki | Version: devel
Severity: minor | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Changes (by cboos):

* milestone: 1.0 => 0.11

Comment:

We should also allow fragment identifiers after tickets
(e.g. ticket:2168#comment:5 or #2168#comment:5)
and changesets (e.g. !r1231#file3, see #2078).

--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2168>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
Trac-Tickets@lists.edgewall.com
http://lists.edgewall.com/mailman/listinfo/trac-tickets
Re: [The Trac Project] #2168: Universal TracLinks argument [ In reply to ]
#2168: Universal TracLinks argument
-------------------------+--------------------------------------------------
Reporter: cboos | Owner: cboos
Type: enhancement | Status: new
Priority: normal | Milestone: 0.11
Component: wiki | Version: devel
Severity: minor | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by cboos):

Replying to [comment:6 cboos]:
> We should also allow fragment identifiers after tickets
> (e.g. ticket:2168#comment:5 or #2168#comment:5)
> ...

How funny, I just wanted to write a comment here saying just that...
again!

I find the current comment link syntax (e.g. comment:ticket:3555:5) a bit
irritating... It was initially modelled after the attachment syntax (e.g.
`attachment:<resource>:<file>`), but in the case of comments, it's really
annoying to have to split the `comment:` prefix and the comment number.

Maybe we could change both syntaxes to `thing:which_thing:type:id`?
Ideally, this could even be "recursive", e.g.
`comment:4:attachment:the_file.txt:ticket:345`.

Just brainstorming...

--
Ticket URL: <http://trac.edgewall.org/ticket/2168#comment:7>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
Re: [The Trac Project] #2168: Universal TracLinks argument [ In reply to ]
#2168: Universal TracLinks argument
-------------------------+--------------------------------------------------
Reporter: cboos | Owner: cboos
Type: enhancement | Status: new
Priority: normal | Milestone: 0.11
Component: wiki | Version: devel
Severity: minor | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by cboos):

(side-note: the syntax changes suggested in comment:7 were implemented in
[3824:3828])

--
Ticket URL: <http://trac.edgewall.org/ticket/2168#comment:8>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---