Utility that checks outdated patches

I just noticed I frequently encounter patches that need to be updated because of applied changes. Maybe this can be automated? Not automating the "updating of the patch" part, but the part where a comment is posted to the ticket so the submitter is informed.

Pratik made an application a while ago that checks if a patch applies cleanly: http://rails.corefun.org/

Full automation is possible in theory but hard to do in practice. Are you suggesting that some script goes through all patches on Trac after each commit to Rails trunk and checks if they still apply cleanly? That would be one heck of a post-commit hook. The idea is not bad, however.

Are you suggesting that some script goes through all patches on Trac after each commit to Rails trunk and checks if they still apply cleanly? That would be one heck of a post-commit hook. The idea is not bad, however.

I know the SvK guys have talked about building something like this into RT. But it just seems like you'd end up building a half-assed DSCM tool...

We already have the stale tickets report, the odds of the patches on that list applying are pretty slim.

http://dev.rubyonrails.org/report/69

If you feel like closing some old patches / reports, that's where to find them.

I was actually thinking of limiting the script to check only the recent patches (no use checking patches made years ago), and it doesn't have to be run on every commit. But then how recent and how frequently is it run? I don't really have any criteria for this. Full automation doesn't seem to be worth pursuing further. Thanks for all the info.

Though I wish I had access to Pratik's app :slight_smile:

It's a hack done in few hours. No one dare to laugh :wink:

http://tools.assembla.com/svn/corefun

Thanks :slight_smile: