Hi there,

in light of the recent discussion on that our Trac based system shows its age 
compared to more awesome technologies I figured I might try to automate a few 
more steps of my own Trac interaction.

For me almost the most annoying thing is to 
1) export the patch
2) upload the patch (make sure to click the overwrite button)
3) add myself as an author (or reviewer if it's a reviewer patch)
4) toggle the needs_review state

Those steps could easily be automated by adding a function to hg_sage called 
for instance push_patch(). 

For now I'm relying on parsing the HTML output to get stuff like the current 
list of authors etc. which seems to be what everybody does (sage-apply-ticket 
does the same). Is there a better way of doing this (getting information about 
a patch), e.g. is there a way to make Trac spit out some machine readable 
format which is more easily parsed? We could use that to implement a class 
TracTicket which automatically fetches all the information and makes it 
accessible in a convenient fashion. 

Cheers,
Martin

-- 
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99
_otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF
_www: http://martinralbrecht.wordpress.com/
_jab: martinralbre...@jabber.ccc.de

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

Reply via email to