#5380: [with patch; needs review] devmap: allow to search for contributions by
trac username
--------------------------+-------------------------------------------------
Reporter: mvngu | Owner: schilly
Type: enhancement | Status: new
Priority: minor | Milestone: sage-3.4
Component: website/wiki | Keywords: devmap
--------------------------+-------------------------------------------------
Comment(by mvngu):
Replying to [comment:4 schilly]:
> file uploaded and everything working. just too bad that trac doesn't
support
> searching by username, just this full text stuff, but indeed nice to be
able
> to see where he/she had the fingers in :)
OK, with {{{contributors.xml}}} uploaded, I see that visitors to the
devmap are able to search for a developer's contribution. If the said XML
file contains a developer's trac username, then the visitor would be
presented with a list of (possible) contributions made by the developer in
question. However, if the XML file doesn't contain the developer's trac
username, then the search query would be made using the developer's full
name as provided on the devmap.
[[BR]][[BR]]
However, I still see a number of weird things in the trac search
functionalities. Disclaimer: I'm not an expert on how the trac server
searches for a developer's contributions.
1. In cases where a developer's trac username has not appeared on any
trac tickets, the search is still performed using the developer's
username. I think this would likely result in a misleading list of search
results, and the said developer's contribution on trac tickets would be
missed by the search. A case in point is Maite Aranes, who has the
username "mtaranes". After clicking on the link "search contributions",
the search result is just Maite's name highlighted on the page
[[BR]] [[BR]]
http://trac.sagemath.org/sage_trac/wiki/WikiStart
[[BR]] [[BR]]
From the release note of Sage 3.3 and release tour, I'm 99.9% certain
that Maite has contributed code in that release, in particular the ticket
#4831.
1. If a developer's trac username is two characters in length, then the
search query returns a "Search Error" message, with the explanation
{{{
Search query too short. Query must be at least 3 characters long.
}}}
For example, Yi Qiang's username is "yi" and a search of his
contribution returns a search error. This is weird, because Yi has made
substantial contributions to the dsage package, and I think he's the
original developer of dsage. I'm not sure how to fix this. However, an ad
hoc fix might be to have the following policy for trac usernames: i.e. a
trac username must be at least 3 characters in length. Perhaps someone can
suggest a better workaround.
Apart from the above comments, someone else should verify/review this
ticket and the updated devmap.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5380#comment:5>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---