Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
It's probably a reflection on my skills as a programmer, but most of my jobs either crash or freeze. As a result, sumatra doesn't record a lot of the things I'd like to know later (I only saw the Real-Time Update of Record thread after I wrote this).
This pull request causes the record to be saved at intermediate points, tags the status, and records the resultcode in the event of an error, and colors the status tags in the web view. I've tested with sqlite, postgresql, and shelve. I can't get sumatra server to work in order to test that.
I originally tackled this by adding a new
status
property to theRecord
objects. This forced an upgrade to the database, lots of tinkering with the formatting and web templates, a new subcommand, and it wasn't possible to filter results based on status without a lot more code. Recording the status as a tag avoids all that at the cost of a somewhat more complex process for setting tags. As such, I think tags are a better approach.