ACRA / acralyzer

Open source backend for ACRA reports.
GNU General Public License v3.0
489 stars 90 forks source link

Being able to "drop" old releases up to a version #35

Closed johnuopini closed 11 years ago

johnuopini commented 11 years ago

I know the project just started and there are a lot of things to do (like grouping) that are more important, but, from my point of view, being able to completely "clear" old releases would be also a very welcome addition.

The simplest way to do this could be a parameter that tells Acralyzer from which versions exception are accepted, everything else will be dropped.

This is very useful especially if you release a buggy version with a "silentErrorReport" somewhere that generates tons of exceptions, if some of your users never upgrade you will get flooded by those errors forever.

Or maybe it could be done at the acraproxy.php level? This would make some of us save some money on the couchDB hosting :)

KevinGaudin commented 11 years ago

Yes, you could do it in the acraproxy.php, you would need to:

littleguy77 commented 11 years ago

@johnuopini In the acra-storage source, check out validate_doc_update.js -- you can specify a minimum app version code, to exclude reports from obsolete releases of your app. If I understand the OP's question, then I would consider this resolved.

KevinGaudin commented 11 years ago

Yep, I updated this and it requires ACRA v4.5.0 stable. With previous versions (4.5.0RC*), refused reports are kept on the device.