nx-dreport icon indicating copy to clipboard operation
nx-dreport copied to clipboard

Selective error report wiping

Open CTCaer opened this issue 6 years ago • 3 comments

Are there any plans to support targeting specific reports in compilation time, either via the Module number or by index (or another way)?

EDIT: Just a heads up: Haven't checked the save file internal format. I'll check it and close this issue if it's impossible. EDIT2: So, this is possible via normal ipc communication, if erpt:c (nn::erpt::sf::IContext) has a "DeleteReport"

CTCaer avatar May 29 '18 21:05 CTCaer

Well do you have any use cases for this? I mean we are already deleting the save of the erpt, any reasons of why it would be needed to filter reports?

In any cases, that would also mean that dreport will need to wait for erpt to be running to delete reports. In this scenario, it's possible that eupld would be able to upload the said reports before we could delete them.

marysaka avatar May 30 '18 10:05 marysaka

The filtering can be good for cases that a part of the current error reports is already sent. And we just want to erase the e.g. libnx errors.

This is all, to not trigger any check that may exist. For example, empty report list was sent, but device was not factory reset.

Of course as you said, having the send error report option on, may instant upload the reports and so that feature does not matter. But there are cases that the reports can be forcibly uploaded with that option off.

CTCaer avatar May 30 '18 13:05 CTCaer

For people that have not yet defiled their switch, couldn't we kinda like... i dunno, backup the current errorlog and just paste this backup instead of wiping the whole thing clean?

Clydefrosch22 avatar Jun 29 '18 19:06 Clydefrosch22