On Jun 9, 2009, at 1:17 AM, John Cremona wrote:

>
>>>
>>> Dream feature: having a button on the trac ticket web page that  
>>> would
>>> run this script on sage.math (don't know if this is easily doable  
>>> though).
>>
>> I would envision that I would setup an always-running script on
>> sage.math that would simply monitor trac and whenever a ticket  
>> changes
>> to "[with patch; needs review]" it would notice, automatically do all
>> of the above, and if anything fails it would change the ticket to
>> "[with patch; needs work]", and post a comment listing failures (and
>> maybe a hyperlink to a long report).  If everything passes, it would
>> change the header to "[with patch; needs human review]".
>>
>
> That would work i nmost cases -- though not when one patch depends on
> another (on another ticket), or when the ticket has a sequence of
> patches with "human" annotations such as "replaces previous", "apply
> after the first patch", and so on....

One could probably parse "depends on #...", and if there are several  
patches, just try applying them in order. A failure would not be an  
automatic rejection, but would be very useful information. I've been  
thinking about writing something like this up for a while now, but  
there's never enough time to do everything one wants to in Sage :)

- Robert


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to