introducing Trac_Assigner: a script to automatically assign tickets to their port maintainer
Joshua Root
jmr at macports.org
Tue Oct 1 13:25:10 PDT 2013
On 2013-10-2 06:02 , Eric Le Lay wrote:
> Hi,
>
> please find a first version (0.1.0) of the PortsAutoComplet trac plugin
> here [1].
>
> It adds a handler to return a textual listing of matching ports for
> autocompletion of the port field and javascript code to perform the
> autocompletion. When the user selects a port, the maintainers are added
> to the owner/cc fields as appropriate.
>
> Known limitations:
> - doesn't work for existing tickets (I figured too late that the owner
> field had a different behaviour in existing tickets - need to
> reassign, etc.). This can and will be fixed in next release.
> - doesn't work if javascript is disabled (everything is done client
> side).
> - autocomplete uses a cache to only fetch results the first
> time and further refine from the cache afterwards. This is good
> for responsiveness and server load but bad because I had to set a
> limit to the number of results returned for a given query (let's
> say 'po') and the port you want might not be in the 100 first
> results.
>
> I'm welcoming your comments on the approach or the code.
Nice work; thanks!
I wonder if the license will be a problem. Apple apparently has a policy
against shipping GPLv3 code in their products, but I don't know if the
same applies for something hosted on macosforge.
- Josh
More information about the macports-dev
mailing list