-
Notifications
You must be signed in to change notification settings - Fork 5
Export architecture improvement spike #15
Comments
One big architecture improvement would be to return status codes (e.g. USB_CONNECTED, ERROR_USB_MOUNT, ERROR_USB_WRITE, ERROR_PRINT, ERROR_PRINTER_URI) instead of writing these codes to
It would actually be useful for the client to show the |
The intent is that all exceptions should be caught and return a defined, documented error code. If there's stderr output or any other message, that means an exception that should be been caught was not caught. The error you mention in #15 (comment) is due to the uncaught subprocess.check_call in the except block here: https://github.com/freedomofpress/securedrop-export/blob/master/securedrop_export/export.py#L242 |
For the 10/23-11/6 sprint period, we've agreed to finalize the round of changes made in the |
see related discussion about device management for export |
For the 9/19-10/9 sprint, we've agreed to a time-boxed, 4 hour improvement spike to the current export tooling (I've increased the estimate to 8 total, to account for review and integration). The current architecture was a first pass, and a targeted improvement spike will likely identify several areas where it should be refactored or reorganized to increase maintainability and resilience.
This ticket exists to log initial observations, and PRs without corresponding issues can be tracked against it.
The text was updated successfully, but these errors were encountered: