Edgewall Software

Changes between Version 6 and Version 7 of TracDev/Proposals/NewTicketDuplicateCheck


Ignore:
Timestamp:
Jun 25, 2008, 11:34:08 AM (16 years ago)
Author:
Christian Boos
Comment:

Idea for a plugin using the information from the MostFrequentDuplicates page

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/Proposals/NewTicketDuplicateCheck

    v6 v7  
    44 * [http://groups.google.com/group/trac-dev/browse_thread/thread/d07c7ed673eb170e NewTicket duplicates discussion]
    55 * [http://groups.google.com/group/trac-dev/browse_thread/thread/2db506098b5b6276 ticket duplicate discussion]
    6 
     6 * [#MostFrequentDuplicatesPlugin] proposal
    77
    88== Display an overview, and two links "report bug", "ask question" ==
     
    2020 = [Comments] =
    2121Duplicates are not done by LP, by HUMANS.
     22
     23== !MostFrequentDuplicatesPlugin ==
     24
     25Here's an idea for a plugin that could be used for doing semi-automated duplicate checking.
     26It's pushing the idea of the MostFrequentDuplicates page a step further,
     27by using the information collected there ''before'' new tickets get created.
     28
     29We could use a bit more structure in that page, for associating patterns to tickets, e.g.
     30
     31 Pattern:: HTMLParseError: bad end tag
     32 Duplicate of:: #4365
     33 Note:: related to a SilverCity bug
     34
     35 Pattern:: PyGIT.py.*cannot concatenate 'str' and 'NoneType' objects
     36 Duplicate of:: #6976
     37 Note:: This is a bug in the TH:GitPlugin for Trac on nonexistent paths, see TH:ticket:2671
     38
     39Before ticket creation, the ticket description should be scanned for the available (multi-line) patterns and if a match is found, a validation warning should be returned (see [source:tags/trac-0.11/trac/ticket/api.py@#L127]). This will prevent ticket creation and show a warning which can display the duplicate ticket and the associated note. See also e.g. the [source:tags/trac-0.11/trac/wiki/interwiki.py InterWiki] module for hints about retrieving data from a Wiki page.